Home
last modified time | relevance | path

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

/net/lwip/
A Dnet-lwip.c42 static err_t net_lwip_tx(struct netif *netif, struct pbuf *p) in net_lwip_tx() argument
75 static err_t net_lwip_if_init(struct netif *netif) in net_lwip_if_init() argument
95 struct netif *netif, *found = NULL; in net_lwip_get_netif() local
203 struct netif *netif; in new_netif() local
229 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() argument
271 free(netif); in net_lwip_remove_netif()
[all …]
A Ddhcp.c36 struct netif *netif; in dhcp_loop() local
47 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()
A Ddns.c48 struct netif *netif; in dns_loop() local
55 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()
A Dtftp.c161 struct netif *netif; in tftp_loop() local
172 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()
A Dwget.c286 struct netif *netif; in wget_do_request() local
309 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