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

Function inet_getsockname

components/net/sal/impl/af_inet_lwip.c:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static int inet_getsockname(int socket, struct sockaddr *name, socklen_t *namelen)
219{
220#if LWIP_VERSION_MAJOR < 2U
221 rt_kprintf("ERROR: Your lwIP version is not supported. Please using lwIP 2.0.0+.\n");
222 RT_ASSERT(LWIP_VERSION_MAJOR >= 2U);
223#endif
224
225 return lwip_getsockname(socket, name, namelen);
226}
227
228int inet_ioctlsocket(int socket, long cmd, void *arg)
229{

Callers

nothing calls this directly

Calls 2

rt_kprintfFunction · 0.85
lwip_getsocknameFunction · 0.50

Tested by

no test coverage detected