Searched refs:npcb (Results 1 – 3 of 3) sorted by relevance
/external/syslinux/core/lwip/src/include/lwip/ |
D | tcp_impl.h | 339 #define TCP_REG(pcbs, npcb) do {\ argument 340 … LWIP_DEBUGF(TCP_DEBUG, ("TCP_REG %p local port %d\n", (npcb), (npcb)->local_port)); \ 344 … LWIP_ASSERT("TCP_REG: already registered\n", tcp_tmp_pcb != (npcb)); \ 346 …_ASSERT("TCP_REG: pcb->state != CLOSED", ((pcbs) == &tcp_bound_pcbs) || ((npcb)->state != CLOSED))… 347 (npcb)->next = *(pcbs); \ 348 LWIP_ASSERT("TCP_REG: npcb->next != npcb", (npcb)->next != (npcb)); \ 349 *(pcbs) = (npcb); \ 353 #define TCP_RMV(pcbs, npcb) do { \ argument 355 … LWIP_DEBUGF(TCP_DEBUG, ("TCP_RMV: removing %p from %p\n", (npcb), *(pcbs))); \ 356 if(*(pcbs) == (npcb)) { \ [all …]
|
/external/syslinux/core/lwip/src/core/ |
D | tcp_in.c | 444 struct tcp_pcb *npcb; in tcp_listen_input() local 464 npcb = tcp_alloc(pcb->prio); in tcp_listen_input() 468 if (npcb == NULL) { in tcp_listen_input() 477 ip_addr_copy(npcb->local_ip, current_iphdr_dest); in tcp_listen_input() 478 npcb->local_port = pcb->local_port; in tcp_listen_input() 479 ip_addr_copy(npcb->remote_ip, current_iphdr_src); in tcp_listen_input() 480 npcb->remote_port = tcphdr->src; in tcp_listen_input() 481 npcb->state = SYN_RCVD; in tcp_listen_input() 482 npcb->rcv_nxt = seqno + 1; in tcp_listen_input() 483 npcb->rcv_ann_right_edge = npcb->rcv_nxt; in tcp_listen_input() [all …]
|
/external/syslinux/core/lwip/src/core/snmp/ |
D | mib2.c | 1846 struct udp_pcb *npcb; in snmp_delete_udpidx_tree() local 1859 npcb = udp_pcbs; in snmp_delete_udpidx_tree() 1860 while ((npcb != NULL)) in snmp_delete_udpidx_tree() 1862 if (ip_addr_cmp(&npcb->local_ip, &pcb->local_ip) && in snmp_delete_udpidx_tree() 1863 (npcb->local_port == udpidx[4])) in snmp_delete_udpidx_tree() 1867 npcb = npcb->next; in snmp_delete_udpidx_tree()
|