File nut/include/net/if_var.h


Included Files


Preprocessor definitions

#define _NET_IF_VAR_H_

#define ATF_REM 0x01

#define ATF_COM 0x02

#define ATF_PERM 0x04


Typedef ARPENTRY

typedef struct _ARPENTRY ARPENTRY
See: Type struct _ARPENTRY

Type struct _ARPENTRY

struct _ARPENTRY
struct _ARPENTRY  
   {  
      ARPENTRY* ae_next;  
      u_long ae_ip;  
      u_char ae_ha[6];  
      u_char ae_flags;  
      u_char ae_outdated;  
      HANDLE ae_tq;  
   }  

Typedef MCASTENTRY

typedef struct _MCASTENTRY MCASTENTRY
See: Type struct _MCASTENTRY

Type struct _MCASTENTRY

struct _MCASTENTRY
struct _MCASTENTRY  
   {  
      MCASTENTRY* mca_next;  
      u_char mca_ha[6];  
      u_long mca_ip;  
   }  

Typedef IFNET

typedef struct ifnet IFNET
See: Type struct ifnet

Type struct ifnet

struct ifnet
struct ifnet  
   {  
      u_char if_type;  
      u_char if_mac[6];  
      u_long if_local_ip;  
      u_long if_remote_ip;  
      u_long if_mask;  
      u_short if_mtu;  
      u_short if_pkt_id;  
      ARPENTRY* arpTable;  
      MCASTENTRY* if_mcast;  
      void (*if_recv)(NUTDEVICE*,NETBUF*);  
      int (*if_send)(NUTDEVICE*,NETBUF*);  
      int (*if_output)(NUTDEVICE*,u_short,u_char*,NETBUF*);  
      int (*if_ioctl)(NUTDEVICE*,int,void*);  
   }