Home
last modified time | relevance | path

Searched refs:SOCKET_TO_INDEX (Results 1 – 3 of 3) sorted by relevance

/third_party/lwip/src/core/distributed_net/
Ddistributed_net_core.c41 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_connect()
78 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_close()
98 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_sendto()
139 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_sendmsg()
185 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_recvfrom()
Ddistributed_net.c67 int index = SOCKET_TO_INDEX(sock); in set_distributed_net_socket()
77 int index = SOCKET_TO_INDEX(sock); in reset_distributed_net_socket()
/third_party/lwip/src/include/lwip/distributed_net/
Ddistributed_net.h43 #define SOCKET_TO_INDEX(socket) ((socket)-LWIP_SOCKET_OFFSET) macro