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

ifnet Struct Reference
[XgIPXgIP]

Network interface structure. More...

#include <net/if_var.h>


Data Fields

u_char if_type
 Interface type.

u_char if_mac [6]
 Hardware net address.

NUTDEVICEif_host_dev
 Host device for PPP interfaces.

u_long if_local_ip
 IP address.

u_long if_remote_ip
 Remote IP address for point to point.

u_long if_mask
 IP network mask.

u_long if_pdns
 IP Primary DNS.

u_long if_sdns
 IP Secondary DNS.

u_short if_mtu
 Maximum size of a transmission unit.

u_short if_pkt_id
 Packet identifier.

ARPENTRYarpTable
 Linked list of arp entries.

void(* if_recv )(NUTDEVICE *, NETBUF *)
 Receive routine.

int(* if_send )(NUTDEVICE *, NETBUF *)
 Send routine.


Detailed Description

Network interface structure.

Contains information about the network interface.


Field Documentation

u_char ifnet::if_type
 

Interface type.

Nut/Net supports IFT_ETHER only. Nut/Net - CDCS supports IFT_ETHER and IFT_PPP.


The documentation for this struct was generated from the following file:
Generated on Thu Jan 30 22:30:56 2003 for EduNet by doxygen1.2.18