Lines Matching defs:netif
42 #include <netif/etharp.h>
43 #include <netif/tapif.h>
67 struct netif *netif = (struct netif *)arg;
71 ret = tapif_select(netif);
79 struct netif netif;
100 netif_add(&netif, &ipaddr, &netmask, &gw, NULL, tapif_init, ethernet_input);
102 netif.flags |= NETIF_FLAG_ETHARP;
103 netif_set_default(&netif);
104 netif_set_up(&netif);
106 netif_create_ip6_linklocal_address(&netif, 1);
107 netif_ip6_addr_set_state(&netif, 0, IP6_ADDR_PREFERRED);
126 client_coap_init(wait_for_input, &netif, argc, argv);
132 * Poll netif, pass any read packet to lwIP
136 tapif_select(&netif);