Searched refs:LWIP_SOCKET_OFFSET (Results 1 – 7 of 7) sorted by relevance
470 #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)
1976 #if !defined LWIP_SOCKET_OFFSET || defined __DOXYGEN__1977 #define LWIP_SOCKET_OFFSET 0 macro
48 #define SOCKET_TO_INDEX(socket) ((socket)-LWIP_SOCKET_OFFSET)50 #define INDEX_TO_SOCKET(index) ((index) + LWIP_SOCKET_OFFSET)
110 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET
112 #define lws_plat_socket_offset() LWIP_SOCKET_OFFSET
421 int s = fd - LWIP_SOCKET_OFFSET; in tryget_socket_unconn_nouse()491 if ((fd < LWIP_SOCKET_OFFSET) || (fd >= (LWIP_SOCKET_OFFSET + NUM_SOCKETS))) { in get_socket()542 return i + LWIP_SOCKET_OFFSET; in alloc_socket()669 …ASSERT("invalid socket index", (newsock >= LWIP_SOCKET_OFFSET) && (newsock < NUM_SOCKETS + LWIP_SO… in lwip_accept()670 nsock = &sockets[newsock - LWIP_SOCKET_OFFSET]; in lwip_accept()1809 done_socket(&sockets[i - LWIP_SOCKET_OFFSET]); in lwip_socket()1919 for (i = LWIP_SOCKET_OFFSET; i < maxfdp1; i++) { in lwip_selscan()1982 for (i = LWIP_SOCKET_OFFSET; i < maxfdp; i++) { in lwip_select_inc_sockets_used_set()2017 for (i = LWIP_SOCKET_OFFSET; i < maxfdp; i++) { in lwip_select_dec_sockets_used()2110 for (i = LWIP_SOCKET_OFFSET; i < maxfdp1; i++) { in lwip_select()[all …]
421 with LWIP_SOCKET_OFFSET)