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.c47 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_connect()
87 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_close()
107 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_sendto()
148 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_sendmsg()
194 CHECK_PARA(SOCKET_TO_INDEX(sock) >= 0 && SOCKET_TO_INDEX(sock) < NUM_SOCKETS, EBADF); in distributed_net_recvfrom()
Ddistributed_net.c72 int index = SOCKET_TO_INDEX(sock); in set_distributed_net_socket()
82 int index = SOCKET_TO_INDEX(sock); in reset_distributed_net_socket()
/third_party/lwip/src/include/lwip/distributed_net/
Ddistributed_net.h48 #define SOCKET_TO_INDEX(socket) ((socket)-LWIP_SOCKET_OFFSET) macro