Home
last modified time | relevance | path

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

/third_party/lwip/src/apps/netbiosns/
Dnetbiosns.c239 static struct udp_pcb *netbiosns_pcb; variable
485 netbiosns_pcb = udp_new_ip_type(IPADDR_TYPE_ANY); in netbiosns_init()
486 if (netbiosns_pcb != NULL) { in netbiosns_init()
488 ip_set_option(netbiosns_pcb, SOF_BROADCAST); in netbiosns_init()
489 udp_bind(netbiosns_pcb, IP_ANY_TYPE, LWIP_IANA_PORT_NETBIOS); in netbiosns_init()
490 udp_recv(netbiosns_pcb, netbiosns_recv, netbiosns_pcb); in netbiosns_init()
527 if (netbiosns_pcb != NULL) { in netbiosns_stop()
528 udp_remove(netbiosns_pcb); in netbiosns_stop()
529 netbiosns_pcb = NULL; in netbiosns_stop()