/[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.8.2.1 by likewise, Sun Feb 9 23:10:48 2003 UTC revision 1.8.2.2 by likewise, Mon Feb 10 20:16:11 2003 UTC
# Line 49  Line 49 
49  /** whether the network interface is 'up'. this is  /** whether the network interface is 'up'. this is
50   * a software flag used to control whether this network   * a software flag used to control whether this network
51   * interface is enabled. */   * interface is enabled. */
52  #define NETIFF_UP 1  #define NETIF_FLAGS_UP 1
53  /** if set, the netif has broadcast capability */  /** if set, the netif has broadcast capability */
54  #define NETIFF_BROADCAST 2  #define NETIF_FLAGS_BROADCAST 2
55  /** 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 */
56  #define NETIFF_POINTTOPOINT 4  #define NETIF_FLAGS_POINTTOPOINT 4
57  /** if set, the interface is configured using DHCP */  /** if set, the interface is configured using DHCP */
58  #define NETIFF_DHCP 8  #define NETIF_FLAGS_DHCP 8
59    
60  /**  /**
61   * generic data structure used for all lwIP network interfaces */   * generic data structure used for all lwIP network interfaces */
62  struct netif {  struct netif {
63          /** pointer to next in linked list */    /** pointer to next in linked list */
64    struct netif *next;    struct netif *next;
65    /** The following two fields should be filled in by the    /** The following two fields should be filled in by the
66       initialization function for the device driver. */        initialization function for the device driver. */
67    char name[2];    char name[2];
68    /** number of this interface */    /** number of this interface */
69    u8_t num;    u8_t num;
# Line 92  struct netif { Line 92  struct netif {
92    /** This field can be set by the device driver and could point    /** This field can be set by the device driver and could point
93        to state information for the device. */        to state information for the device. */
94    void *state;    void *state;
95      /** the DHCP client state information for this netif */
96    struct dhcp_state *dhcp;    struct dhcp_state *dhcp;
97    /** link level hardware address of this interface */    /** link level hardware address of this interface */
98    unsigned char hwaddr[NETIF_HWADDR_LEN];    unsigned char hwaddr[NETIF_HWADDR_LEN];

Legend:
Removed from v.1.8.2.1  
changed lines
  Added in v.1.8.2.2

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