Searched refs:dns_pcb (Results 1 – 1 of 1) sorted by relevance
219 static struct udp_pcb *dns_pcb; variable244 if (dns_pcb == NULL) { in dns_init()245 dns_pcb = udp_new(); in dns_init()247 if (dns_pcb != NULL) { in dns_init()254 udp_bind(dns_pcb, IP_ADDR_ANY, 0); in dns_init()255 udp_recv(dns_pcb, dns_recv, NULL); in dns_init()280 if ((numdns < DNS_MAX_SERVERS) && (dns_pcb != NULL) && in dns_setserver()310 if (dns_pcb != NULL) { in dns_tmr()618 udp_connect(dns_pcb, &dns_servers[numdns], DNS_SERVER_PORT); in dns_send()620 err = udp_sendto(dns_pcb, p, &dns_servers[numdns], DNS_SERVER_PORT); in dns_send()[all …]