Lines Matching refs:netif
371 We assume a configuration using a single Ethernet netif and the
417 - netif_add(struct netif *netif, ip_addr_t *ipaddr,
419 void *state, err_t (* init)(struct netif *netif),
420 err_t (* input)(struct pbuf *p, struct netif *netif))
423 netif and pass a pointer to this structure as the first argument.
428 your ethernet netif interface. The following code illustrates it's use.
430 err_t netif_if_init(struct netif *netif)
434 for(i = 0; i < ETHARP_HWADDR_LEN; i++) netif->hwaddr[i] = some_eth_addr[i];
440 function ethernet_input() declared in "netif/etharp.h". Other drivers
443 - netif_set_default(struct netif *netif)
447 - netif_set_up(struct netif *netif)
449 When the netif is fully configured this function must be called.
451 - dhcp_start(struct netif *netif)
457 You can peek in the netif->dhcp struct for the actual DHCP status.