Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

if_misc.h

Go to the documentation of this file.
00001 #ifndef IF_MISC_H
00002 #define IF_MISC_H
00003 
00004 #ifndef MAX_IFNAME_LENGTH 
00005 
00006 #ifdef WIN32
00007 #define MAX_IFNAME_LENGTH 255
00008 #endif
00009 
00010 #ifdef _LINUX_
00011 #define MAX_IFNAME_LENGTH 64
00012 #endif
00013 
00014 #endif
00015 
00016 struct iface {
00017     char name[MAX_IFNAME_LENGTH];   //name of interface
00018     int  id;                        //interface id
00019     int  hardwareType;  //type of hardware (RFC 826)
00020     char mac[255];      //link layer address
00021     int  maclen;        //length of link layer address
00022     char *linkaddr;   //assigned IPv6 link local addresses 
00023     int  linkaddrcount; //number of assigned IPv6 link local addresses
00024     unsigned int flags;//look IF_xxx in portable.h
00025     struct iface* next; //structure describing next iface in system
00026 };
00027 #endif
00028 

Generated on Wed Mar 16 00:10:26 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1