Lines Matching defs:netif
16 static struct netif test_netif6;
20 default_netif_linkoutput(struct netif *netif, struct pbuf *p)
22 fail_unless(netif == &test_netif6);
29 default_netif_init(struct netif *netif)
31 fail_unless(netif != NULL);
32 netif->linkoutput = default_netif_linkoutput;
33 netif->output_ip6 = ethip6_output;
34 netif->mtu = 1500;
35 netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHERNET | NETIF_FLAG_MLD6;
36 netif->hwaddr_len = ETH_HWADDR_LEN;
43 struct netif *n;
97 /* test that nothing is sent with link uo but netif down */
104 /* test that nothing is sent with link down but netif up */
111 /* test what is sent with link up + netif up */