Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv6/
Ddhcp6.c130 static struct udp_pcb *dhcp6_pcb; variable
142 LWIP_ASSERT("dhcp6_inc_pcb_refcount(): memory leak", dhcp6_pcb == NULL); in dhcp6_inc_pcb_refcount()
145 dhcp6_pcb = udp_new_ip6(); in dhcp6_inc_pcb_refcount()
147 if (dhcp6_pcb == NULL) { in dhcp6_inc_pcb_refcount()
151 ip_set_option(dhcp6_pcb, SOF_BROADCAST); in dhcp6_inc_pcb_refcount()
154 udp_bind(dhcp6_pcb, IP6_ADDR_ANY, DHCP6_CLIENT_PORT); in dhcp6_inc_pcb_refcount()
155 udp_recv(dhcp6_pcb, dhcp6_recv, NULL); in dhcp6_inc_pcb_refcount()
171 udp_remove(dhcp6_pcb); in dhcp6_dec_pcb_refcount()
172 dhcp6_pcb = NULL; in dhcp6_dec_pcb_refcount()
482 …err = udp_sendto_if(dhcp6_pcb, p_out, &dhcp6_All_DHCP6_Relay_Agents_and_Servers, DHCP6_SERVER_PORT… in dhcp6_information_request()