/[lwip]/lwip/src/include/lwip/netif.h
ViewVC logotype

Diff of /lwip/src/include/lwip/netif.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by likewise, Mon Apr 14 12:29:45 2003 UTC revision 1.15 by likewise, Tue Apr 15 12:44:15 2003 UTC
# Line 44  Line 44 
44    
45  /** must be the maximum of all used hardware address lengths  /** must be the maximum of all used hardware address lengths
46      across all types of interfaces in use */      across all types of interfaces in use */
47  #define NETIF_MAX_HWADDR_LEN 6  #define NETIF_MAX_HWADDR_LEN 6U
48    
49  /** TODO: define the use (where, when, whom) of netif flags */  /** TODO: define the use (where, when, whom) of netif flags */
50    
51  /** whether the network interface is 'up'. this is  /** whether the network interface is 'up'. this is
52   * a software flag used to control whether this network   * a software flag used to control whether this network
53   * interface is enabled and processes traffic */   * interface is enabled and processes traffic */
54  #define NETIF_FLAG_UP 1U  #define NETIF_FLAG_UP 0x1U
55  /** if set, the netif has broadcast capability */  /** if set, the netif has broadcast capability */
56  #define NETIF_FLAG_BROADCAST 2U  #define NETIF_FLAG_BROADCAST 0x2U
57  /** if set, the netif is one end of a point-to-point connection */  /** if set, the netif is one end of a point-to-point connection */
58  #define NETIF_FLAG_POINTTOPOINT 4U  #define NETIF_FLAG_POINTTOPOINT 0x4U
59  /** if set, the interface is configured using DHCP */  /** if set, the interface is configured using DHCP */
60  #define NETIF_FLAG_DHCP 0x08U  #define NETIF_FLAG_DHCP 0x08U
61  /** if set, the interface has an active link  /** if set, the interface has an active link

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26