Searched refs:SOCKET_TO_INDEX (Results 1 – 3 of 3) sorted by relevance
41 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()
67 int index = SOCKET_TO_INDEX(sock); in set_distributed_net_socket()77 int index = SOCKET_TO_INDEX(sock); in reset_distributed_net_socket()
43 #define SOCKET_TO_INDEX(socket) ((socket)-LWIP_SOCKET_OFFSET) macro