Searched refs:lpcb (Results 1 – 4 of 4) sorted by relevance
485 struct tcp_pcb_listen *lpcb; in tcp_listen_with_backlog() local499 for(lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { in tcp_listen_with_backlog()500 if (lpcb->local_port == pcb->local_port) { in tcp_listen_with_backlog()501 if (ip_addr_cmp(&lpcb->local_ip, &pcb->local_ip)) { in tcp_listen_with_backlog()509 lpcb = (struct tcp_pcb_listen *)memp_malloc(MEMP_TCP_PCB_LISTEN); in tcp_listen_with_backlog()510 if (lpcb == NULL) { in tcp_listen_with_backlog()513 lpcb->callback_arg = pcb->callback_arg; in tcp_listen_with_backlog()514 lpcb->local_port = pcb->local_port; in tcp_listen_with_backlog()515 lpcb->state = LISTEN; in tcp_listen_with_backlog()516 lpcb->prio = pcb->prio; in tcp_listen_with_backlog()[all …]
325 struct tcp_pcb_listen *lpcb; in netif_set_ipaddr() local349 for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { in netif_set_ipaddr()351 if ((!(ip_addr_isany(&(lpcb->local_ip)))) && in netif_set_ipaddr()352 (ip_addr_cmp(&(lpcb->local_ip), &(netif->ip_addr)))) { in netif_set_ipaddr()355 ip_addr_set(&(lpcb->local_ip), ipaddr); in netif_set_ipaddr()
95 struct tcp_pcb_listen *lpcb; in tcp_input() local228 for(lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { in tcp_input()229 if (lpcb->local_port == tcphdr->dest) { in tcp_input()231 if (ip_addr_cmp(&(lpcb->local_ip), ¤t_iphdr_dest)) { in tcp_input()234 } else if(ip_addr_isany(&(lpcb->local_ip))) { in tcp_input()236 lpcb_any = lpcb; in tcp_input()240 if (ip_addr_cmp(&(lpcb->local_ip), ¤t_iphdr_dest) || in tcp_input()241 ip_addr_isany(&(lpcb->local_ip))) { in tcp_input()247 prev = (struct tcp_pcb *)lpcb; in tcp_input()251 if (lpcb == NULL) { in tcp_input()[all …]
1062 struct tcp_pcb* lpcb = tcp_listen_with_backlog(msg->conn->pcb.tcp, msg->msg.lb.backlog); local1064 struct tcp_pcb* lpcb = tcp_listen(msg->conn->pcb.tcp);1066 if (lpcb == NULL) {1082 msg->conn->pcb.tcp = lpcb;1087 tcp_close(lpcb);