Searched refs:lws_plat_socket_offset (Results 1 – 7 of 7) sorted by relevance
43 #define lws_plat_socket_offset() (0) macro44 #define wsi_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()]46 lws_plat_socket_offset()] == 0); \48 lws_plat_socket_offset()] = B49 #define delete_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()] = 0
102 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET macro103 #define wsi_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()]111 #define delete_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()] = 0
55 lws_plat_socket_offset()] == 0); in insert_wsi()58 lws_plat_socket_offset()] = wsi; in insert_wsi()
36 return context->lws_lookup[fd - lws_plat_socket_offset()]; in wsi_from_fd()59 lws_plat_socket_offset()] == 0); in insert_wsi()62 lws_plat_socket_offset()] = wsi; in insert_wsi()117 context->lws_lookup[fd - lws_plat_socket_offset()] = NULL; in delete_from_fd()
169 #define lws_plat_socket_offset() (0) macro
117 #define lws_plat_socket_offset() (0) macro
287 wsi->desc.sockfd - lws_plat_socket_offset() >= context->max_fds) { in __insert_wsi_socket_into_fds()290 lws_plat_socket_offset()); in __insert_wsi_socket_into_fds()361 wsi->desc.sockfd - lws_plat_socket_offset() > context->max_fds) { in __remove_wsi_socket_from_fds()