get_socket() is only used within LwIP.
 
Symbols
loading...
Files
loading...

get_socket() function

Map a externally used socket index to the internal socket representation.

Syntax

static struct lwip_sock * get_socket(int fd);

Arguments

fd

externally used socket index

Return value

struct lwip_sock for the socket or NULL if not found

References

LocationReferrerText
sockets.c:479
get_socket(int fd)
sockets.c:632lwip_accept()
sock = get_socket(s);
sockets.c:725lwip_bind()
sock = get_socket(s);
sockets.c:780lwip_close()
sock = get_socket(s);
sockets.c:818lwip_connect()
sock = get_socket(s);
sockets.c:888lwip_listen()
sock = get_socket(s);
sockets.c:1206lwip_recvfrom()
sock = get_socket(s);
sockets.c:1297lwip_recvmsg()
sock = get_socket(s);
sockets.c:1392lwip_send()
sock = get_socket(s);
sockets.c:1431lwip_sendmsg()
sock = get_socket(s);
sockets.c:1594lwip_sendto()
sock = get_socket(s);
sockets.c:2508event_callback()
sock = get_socket(s);
sockets.c:2663lwip_shutdown()
sock = get_socket(s);
sockets.c:2708lwip_getaddrname()
sock = get_socket(s);
sockets.c:2762lwip_getsockopt()
struct lwip_sock *sock = get_socket(s);
sockets.c:3208lwip_setsockopt()
struct lwip_sock *sock = get_socket(s);
sockets.c:3745lwip_ioctl()
struct lwip_sock *sock = get_socket(s);
sockets.c:3838lwip_fcntl()
struct lwip_sock *sock = get_socket(s);

Call Tree

Data read by get_socket()
Data written by get_socket()
get_socket()::sock
all items filtered out
get_socket()
all items filtered out
Type of get_socket()
get_socket()
all items filtered out