ethernetif.c File Reference


Data Structures

struct  ethernetif

Functions

err_t ethernetif_init (struct netif *netif)

Detailed Description

Ethernet Interface Skeleton

Function Documentation

err_t ethernetif_init ( struct netif netif  ) 

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().

Parameters:
netif the lwip network interface structure for this ethernetif
Returns:
ERR_OK if the loopif is initialized ERR_MEM if private data couldn't be allocated any other err_t on error


Generated on Sun Mar 23 19:22:46 2008 for lwIP 1.3.0 by  doxygen 1.5.4