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/
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/
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()
Dprivate-lib-plat-unix.h179 #define lws_plat_socket_offset() (0) macro
/third_party/libwebsockets/lib/plat/freertos/
Dprivate-lib-plat-freertos.h112 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET macro
113 #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
Dfreertos-fds.c55 lws_plat_socket_offset()] == 0); in insert_wsi()
58 lws_plat_socket_offset()] = wsi; in insert_wsi()
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/
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/core-net/
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/
Dprivate-lib-plat-windows.h134 #define lws_plat_socket_offset() (0) macro
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-ssl.c420 if (fd < 0 || (fd - lws_plat_socket_offset()) < 0) in lws_ssl_info_callback()