TCP_RMV is only used within LwIP.
 
Symbols
loading...
Files
loading...

TCP_RMV macro

Syntax

#define TCP_RMV(pcbs, npcb) \     do { \     if(*(pcbs) == (npcb)) { \     (*(pcbs)) = (*pcbs)->next; \     } \     else { \     struct tcp_pcb *tcp_tmp_pcb; \     for (tcp_tmp_pcb = *pcbs; \     tcp_tmp_pcb != NULL; \     tcp_tmp_pcb = tcp_tmp_pcb->next) { \     if(tcp_tmp_pcb->next == (npcb)) { \     tcp_tmp_pcb->next = (npcb)->next; \     break; \     } \     } \     } \     (npcb)->next = NULL; \     } while(0)

Arguments

pcbs

npcb

References

LocationText
tcp_priv.h:399
#define TCP_RMV(pcbs, npcb) \
tcp.c:388
TCP_RMV(&tcp_bound_pcbs, pcb);
tcp.c:597
TCP_RMV(&tcp_bound_pcbs, pcb);
tcp.c:900
TCP_RMV(&tcp_bound_pcbs, pcb);
tcp.c:1174
TCP_RMV(&tcp_bound_pcbs, pcb);
tcp.c:2182
TCP_RMV(pcblist, pcb);
tcp_priv.h:428
TCP_RMV(&tcp_active_pcbs, npcb); \