Searched refs:netif (Results 1 – 5 of 5) sorted by relevance
42 static err_t net_lwip_tx(struct netif *netif, struct pbuf *p) in net_lwip_tx() argument75 static err_t net_lwip_if_init(struct netif *netif) in net_lwip_if_init() argument95 struct netif *netif, *found = NULL; in net_lwip_get_netif() local203 struct netif *netif; in new_netif() local229 netif = calloc(1, sizeof(struct netif)); in new_netif()230 if (!netif) in new_netif()246 free(netif); in new_netif()255 return netif; in new_netif()268 void net_lwip_remove_netif(struct netif *netif) in net_lwip_remove_netif() argument271 free(netif); in net_lwip_remove_netif()[all …]
36 struct netif *netif; in dhcp_loop() local47 netif = net_lwip_new_netif_noip(udev); in dhcp_loop()48 if (!netif) in dhcp_loop()53 if (dhcp_start(netif)) in dhcp_loop()60 net_lwip_rx(udev, netif); in dhcp_loop()61 bound = dhcp_supplied_address(netif); in dhcp_loop()74 net_lwip_remove_netif(netif); in dhcp_loop()78 dhcp = netif_dhcp_data(netif); in dhcp_loop()109 net_lwip_remove_netif(netif); in dhcp_loop()
48 struct netif *netif; in dns_loop() local55 netif = net_lwip_new_netif(udev); in dns_loop()56 if (!netif) in dns_loop()60 net_lwip_remove_netif(netif); in dns_loop()74 net_lwip_rx(udev, netif); in dns_loop()85 net_lwip_remove_netif(netif); in dns_loop()
161 struct netif *netif; in tftp_loop() local172 netif = net_lwip_new_netif(udev); in tftp_loop()173 if (!netif) in tftp_loop()202 net_lwip_remove_netif(netif); in tftp_loop()208 net_lwip_rx(udev, netif); in tftp_loop()219 net_lwip_remove_netif(netif); in tftp_loop()
286 struct netif *netif; in wget_do_request() local309 netif = net_lwip_new_netif(udev); in wget_do_request()310 if (!netif) in wget_do_request()362 net_lwip_remove_netif(netif); in wget_do_request()375 net_lwip_remove_netif(netif); in wget_do_request()382 net_lwip_rx(udev, netif); in wget_do_request()387 net_lwip_remove_netif(netif); in wget_do_request()
Completed in 19 milliseconds