Searched refs:pcbs (Results 1 - 3 of 3) sorted by relevance
/third_party/lwip/src/include/lwip/priv/ |
H A D | tcp_priv.h | 72 This iterates all active pcbs that had an error and tries to call 333 struct tcp_pcb *pcbs; member 358 #define TCP_REG(pcbs, npcb) do {\ 361 for (tcp_tmp_pcb = *(pcbs); \ 366 LWIP_ASSERT("TCP_REG: pcb->state != CLOSED", ((pcbs) == &tcp_bound_pcbs) || ((npcb)->state != CLOSED)); \ 367 (npcb)->next = *(pcbs); \ 369 *(pcbs) = (npcb); \ 373 #define TCP_RMV(pcbs, npcb) do { \ 375 LWIP_ASSERT("TCP_RMV: pcbs != NULL", *(pcbs) ! [all...] |
/third_party/lwip/test/unit/tcp/ |
H A D | tcp_helper.c | 17 /** Remove all pcbs on the given list. */ 31 /** Remove all pcbs on listen-, active- and time-wait-list (bound- isn't exported). */ 35 tcp_remove(tcp_listen_pcbs.pcbs); in tcp_remove_all() 168 TCP_REG(&tcp_listen_pcbs.pcbs, pcb); in tcp_set_state()
|
/third_party/lwip/src/core/ |
H A D | tcp.c | 184 struct tcp_pcb **const tcp_pcb_lists[] = {&tcp_listen_pcbs.pcbs, &tcp_bound_pcbs, 494 * Listening pcbs are freed and may not be referenced any more. 495 * Connection pcbs are freed if not yet connected and may not be referenced 552 tcp_pcb_remove(&tcp_listen_pcbs.pcbs, pcb); in tcp_close_shutdown() 624 * Listening pcbs are freed and may not be referenced any more. 625 * Connection pcbs are freed if not yet connected and may not be referenced 734 LWIP_ASSERT("don't call tcp_abort/tcp_abandon for listen-pcbs", in tcp_abandon() 846 we have to check the pcbs in TIME-WAIT state, also. 882 /* Omit checking for the same port if both pcbs have REUSEADDR set. 1080 TCP_REG(&tcp_listen_pcbs.pcbs, (struc [all...] |
Completed in 4 milliseconds