Searched refs:mdns_pcb (Results 1 – 1 of 1) sorted by relevance
/third_party/lwip/src/apps/mdns/ |
D | mdns.c | 104 static struct udp_pcb *mdns_pcb; variable 1499 … res = udp_sendto_if(mdns_pcb, outpkt->pbuf, &outpkt->dest_addr, outpkt->dest_port, outpkt->netif); in mdns_send_outpacket() 1501 … res = udp_sendto_if(mdns_pcb, outpkt->pbuf, mcast_destaddr, LWIP_IANA_PORT_MDNS, outpkt->netif); in mdns_send_outpacket() 2387 mdns_pcb = udp_new_ip_type(IPADDR_TYPE_ANY); in mdns_resp_init() 2388 LWIP_ASSERT("Failed to allocate pcb", mdns_pcb != NULL); in mdns_resp_init() 2390 udp_set_multicast_ttl(mdns_pcb, MDNS_TTL); in mdns_resp_init() 2392 mdns_pcb->ttl = MDNS_TTL; in mdns_resp_init() 2394 res = udp_bind(mdns_pcb, IP_ANY_TYPE, LWIP_IANA_PORT_MDNS); in mdns_resp_init() 2397 udp_recv(mdns_pcb, mdns_recv, NULL); in mdns_resp_init()
|