ethernetif_init() is only used within LwIP_TCP_Echo_Server.
 
Symbols
loading...
Files
loading...

ethernetif_init() function

Should be called at the beginning of the program to set up the network interface. It calls the function low_level_init() to do the actual setup of the hardware. This function should be passed as a parameter to netif_add().

Syntax

err_t ethernetif_init(struct netif *netif);
Implemented in ethernetif.c:277

Arguments

netif

the lwip network interface structure for this ethernetif

Return value

ERR_OK if the loopif is initialized ERR_MEM if private data couldn't be allocated any other err_t on error

References

LocationReferrerText
ethernetif.c:277
err_t ethernetif_init(struct netif *netif)
ethernetif.h:27
err_t ethernetif_init(struct netif *netif);
main.c:156Netif_Config()
netif_add(&gnetif, &ipaddr, &netmask, &gw, NULL, &ethernetif_init, &ethernet_input);

Call Tree

Functions called by ethernetif_init()
ethernetif_init()
printf()
all items filtered out
Data read by ethernetif_init()
Data written by ethernetif_init()
ethernetif_init()
all items filtered out
Type of ethernetif_init()
ethernetif_init()
all items filtered out