Home
last modified time | relevance | path

Searched refs:dns_pcbs (Results 1 – 1 of 1) sorted by relevance

/third_party/lwip/src/core/
Ddns.c299 static struct udp_pcb *dns_pcbs[DNS_MAX_SOURCE_PORTS]; variable
342 if (dns_pcbs[0] == NULL) { in dns_init()
343 dns_pcbs[0] = udp_new_ip_type(IPADDR_TYPE_ANY); in dns_init()
344 LWIP_ASSERT("dns_pcbs[0] != NULL", dns_pcbs[0] != NULL); in dns_init()
352 udp_bind(dns_pcbs[0], IP_ANY_TYPE, 0); in dns_init()
353 udp_recv(dns_pcbs[0], dns_recv, NULL); in dns_init()
937 err = udp_sendto(dns_pcbs[pcb_idx], p, &local_addr, dst_port); in dns_send()
939 err = udp_sendto(dns_pcbs[pcb_idx], p, dst, dst_port); in dns_send()
942 err = udp_sendto(dns_pcbs[pcb_idx], p, dst, dst_port); in dns_send()
999 if (dns_pcbs[i] == NULL) { in dns_alloc_pcb()
[all …]