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

tryget_socket() function

Same as get_socket but doesn't set errno

Syntax

static struct lwip_sock * tryget_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:460
tryget_socket(int fd)
sockets.c:481get_socket()
struct lwip_sock *sock = tryget_socket(fd);
sockets.c:2885lwip_getsockopt_impl()
struct lwip_sock *sock = tryget_socket(s);
sockets.c:3306lwip_setsockopt_impl()
struct lwip_sock *sock = tryget_socket(s);

Call Tree

Functions calling tryget_socket()
Functions called by tryget_socket()
tryget_socket()
all items filtered out
Data read by tryget_socket()
tryget_socket()::sock
all items filtered out
tryget_socket()
Type of tryget_socket()
tryget_socket()
all items filtered out