Searched refs:lws_plat_socket_offset (Results 1 – 9 of 9) 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
36 return context->lws_lookup[fd - lws_plat_socket_offset()]; in wsi_from_fd()97 context->lws_lookup[sfd - lws_plat_socket_offset()]) { in sanity_assert_no_sockfd_traces()133 lws_plat_socket_offset()] == 0); in insert_wsi()136 lws_plat_socket_offset()] = wsi; in insert_wsi()178 context->lws_lookup[fd - lws_plat_socket_offset()] = NULL; in delete_from_fd()
179 #define lws_plat_socket_offset() (0) macro
112 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET macro113 #define wsi_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()]121 #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()
110 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET macro111 #define wsi_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()]119 #define delete_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()] = 0
291 wsi->desc.sockfd - lws_plat_socket_offset() >= (int)context->max_fds) { in __insert_wsi_socket_into_fds()294 lws_plat_socket_offset()); in __insert_wsi_socket_into_fds()374 wsi->desc.sockfd - lws_plat_socket_offset() > (int)context->max_fds) { in __remove_wsi_socket_from_fds()
134 #define lws_plat_socket_offset() (0) macro
420 if (fd < 0 || (fd - lws_plat_socket_offset()) < 0) in lws_ssl_info_callback()