MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / lwip_getsockname

Function lwip_getsockname

components/net/lwip/lwip-2.1.2/src/api/sockets.c:2774–2778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2772}
2773
2774int
2775lwip_getsockname(int s, struct sockaddr *name, socklen_t *namelen)
2776{
2777 return lwip_getaddrname(s, name, namelen, 1);
2778}
2779
2780int
2781lwip_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen)

Callers 7

test_sockets_msgapi_tcpFunction · 0.50
test_sockets_msgapi_udpFunction · 0.50
test_sockets_msgapi_cmsgFunction · 0.50
inet_getsocknameFunction · 0.50
tcp_server_entryFunction · 0.50

Calls 1

lwip_getaddrnameFunction · 0.70

Tested by 5

test_sockets_msgapi_tcpFunction · 0.40
test_sockets_msgapi_udpFunction · 0.40
test_sockets_msgapi_cmsgFunction · 0.40