Home
last modified time | relevance | path

Searched refs:LWIP_SOCKET_OFFSET (Results 1 – 7 of 7) sorted by relevance

/third_party/lwip/src/include/lwip/
Dsockets.h470 #define LWIP_SELECT_MAXNFDS (FD_SETSIZE + LWIP_SOCKET_OFFSET)
472 if (((n) - LWIP_SOCKET_OFFSET < MEMP_NUM_NETCONN) && (((int)(n) - LWIP_SOCKET_OFFSET) >= 0)) { \
474 #define FDSETSAFEGET(n, code) (((n) - LWIP_SOCKET_OFFSET < MEMP_NUM_NETCONN) && (((int)(n) - LWIP_S…
476 …T(n, (p)->fd_bits[((n)-LWIP_SOCKET_OFFSET)/8] = (u8_t)((p)->fd_bits[((n)-LWIP_SOCKET_OFFSET)/8] | …
477 …T(n, (p)->fd_bits[((n)-LWIP_SOCKET_OFFSET)/8] = (u8_t)((p)->fd_bits[((n)-LWIP_SOCKET_OFFSET)/8] & …
478 …FD_ISSET(n,p) FDSETSAFEGET(n, (p)->fd_bits[((n)-LWIP_SOCKET_OFFSET)/8] & (1 << (((n)-LWIP_SOCKET…
486 #elif FD_SETSIZE < (LWIP_SOCKET_OFFSET + MEMP_NUM_NETCONN)
Dopt.h1976 #if !defined LWIP_SOCKET_OFFSET || defined __DOXYGEN__
1977 #define LWIP_SOCKET_OFFSET 0 macro
/third_party/lwip/src/include/lwip/distributed_net/
Ddistributed_net.h43 #define SOCKET_TO_INDEX(socket) ((socket)-LWIP_SOCKET_OFFSET)
45 #define INDEX_TO_SOCKET(index) ((index) + LWIP_SOCKET_OFFSET)
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/
Dprivate-lib-plat-freertos.h110 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET
/third_party/libwebsockets/lib/plat/freertos/
Dprivate-lib-plat-freertos.h112 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET
/third_party/lwip/src/api/
Dsockets.c417 int s = fd - LWIP_SOCKET_OFFSET; in tryget_socket_unconn_nouse()
487 if ((fd < LWIP_SOCKET_OFFSET) || (fd >= (LWIP_SOCKET_OFFSET + NUM_SOCKETS))) { in get_socket()
538 return i + LWIP_SOCKET_OFFSET; in alloc_socket()
665 …ASSERT("invalid socket index", (newsock >= LWIP_SOCKET_OFFSET) && (newsock < NUM_SOCKETS + LWIP_SO… in lwip_accept()
666 nsock = &sockets[newsock - LWIP_SOCKET_OFFSET]; in lwip_accept()
1805 done_socket(&sockets[i - LWIP_SOCKET_OFFSET]); in lwip_socket()
1915 for (i = LWIP_SOCKET_OFFSET; i < maxfdp1; i++) { in lwip_selscan()
1978 for (i = LWIP_SOCKET_OFFSET; i < maxfdp; i++) { in lwip_select_inc_sockets_used_set()
2013 for (i = LWIP_SOCKET_OFFSET; i < maxfdp; i++) { in lwip_select_dec_sockets_used()
2106 for (i = LWIP_SOCKET_OFFSET; i < maxfdp1; i++) { in lwip_select()
[all …]
/third_party/lwip/
DCHANGELOG421 with LWIP_SOCKET_OFFSET)