Home
last modified time | relevance | path

Searched refs:lws_plat_socket_offset (Results 1 - 9 of 9) sorted by relevance

/third_party/libwebsockets/lib/plat/optee/
H A Dprivate-lib-plat-optee.h43 #define lws_plat_socket_offset() (0) macro
44 #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()] = B
49 #define delete_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()] = 0
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-fds.c36 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()
H A Dprivate-lib-plat-unix.h179 #define lws_plat_socket_offset() (0) macro
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/
H A Dprivate-lib-plat-freertos.h110 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET macro
111 #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
/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-fds.c55 lws_plat_socket_offset()] == 0); in insert_wsi()
58 lws_plat_socket_offset()] = wsi; in insert_wsi()
H A Dprivate-lib-plat-freertos.h116 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET macro
117 #define wsi_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()]
125 #define delete_from_fd(A,B) A->lws_lookup[B - lws_plat_socket_offset()] = 0
/third_party/libwebsockets/lib/core-net/
H A Dpollfd.c291 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()
/third_party/libwebsockets/lib/plat/windows/
H A Dprivate-lib-plat-windows.h134 #define lws_plat_socket_offset() (0) macro
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-ssl.c421 if (fd < 0 || (fd - lws_plat_socket_offset()) < 0) in lws_ssl_info_callback()

Completed in 4 milliseconds