Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

if_var.h File Reference

Network interface structure. More...

#include <sys/types.h>
#include <sys/device.h>
#include <dev/netbuf.h>
#include <net/if_types.h>

Go to the source code of this file.

Data Structures

struct  _ARPENTRY
 ARP entry structure. More...

struct  ifnet
 Network interface structure. More...


Defines

#define ATF_COM   0x02
 Completed entry.

#define ATF_PERM   0x04
 Permanent entry.


Typedefs

typedef _ARPENTRY ARPENTRY
 ARP entry type.

typedef ifnet IFNET
 Network interface type.


Functions

int NutNetIfConfig (CONST char *name, void *mac_dev, u_long ip_addr, u_long ip_mask)
 Configure a network interface.

int NutNetIfSetup (NUTDEVICE *dev, u_long ip_addr, u_long ip_mask, u_long gateway)
int NutNetLoadConfig (CONST char *name)
 Load network configuration from EEPROM.

int NutNetSaveConfig (void)
int NutNetAutoConfig (CONST char *name)
 Configure a network interface using EEPROM values.


Detailed Description

Network interface structure.

Each network device in Nut/Net has an associated network interface structure.


Generated on Thu Jan 30 22:30:54 2003 for EduNet by doxygen1.2.18