Lines Matching refs:upcb
182 int netstat_udp_sendq6(struct udp_pcb *upcb);
191 int netstat_udp_sendq(struct udp_pcb *upcb);
2940 int netstat_udp_sendq6(struct udp_pcb *upcb)
2950 LWIP_ERROR("netstat_udp_sendq6: Received NULL pcb\n", (upcb != NULL), return 0);
2954 if (ip6_addr_cmp(&upcb->remote_ip.u_addr.ip6, &neighbor_cache[i].next_hop_address)) {
2962 ret = netstat_get_udp_sendQLen6(upcb, neibq->p);
2968 ret = netstat_get_udp_sendQLen6(upcb, neighbor_cache[idx].q);
2978 int netstat_udp_sendq(struct udp_pcb *upcb)
2988 LWIP_ERROR("netstat_udp_sendq: Received NULL pcb\n", (upcb != NULL), return 0);
2992 if (ip4_addr_cmp(ip_2_ip4(&upcb->remote_ip), &arp_table[i].ipaddr)) {
3002 ret = netstat_get_udp_sendQLen(upcb, arpq->p);
3012 ret = netstat_get_udp_sendQLen(upcb, arp_table[arpidx].q);
3084 struct udp_pcb *upcb = NULL;
3258 for (upcb = udp_pcbs; upcb != NULL; upcb = upcb->next) {
3260 "%s:%d", ipaddr_ntoa(&upcb->local_ip), upcb->local_port);
3266 "%s:%d", ipaddr_ntoa(&upcb->remote_ip), upcb->remote_port);
3271 recvQlen = netstat_netconn_recvq(upcb->recv_arg);
3273 sendQlen = IP_IS_V6(&upcb->local_ip) ? netstat_udp_sendq6(upcb) : netstat_netconn_sendq(upcb->recv_arg);
3275 sendQlen = netstat_netconn_sendq(upcb->recv_arg);
3278 IP_IS_V6(&upcb->local_ip) ? "%-8s%-12d%-12d%-39s%-39s%-16s\n" :
3280 IP_IS_V6(&upcb->local_ip) ? "udp-ip6" : "udp",