/[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.7 by likewise, Tue Feb 4 18:49:46 2003 UTC revision 1.8 by davidhaas, Thu Feb 6 22:18:56 2003 UTC
# Line 85  void netif_init(void); Line 85  void netif_init(void);
85    
86  struct netif *netif_add(struct ip_addr *ipaddr, struct ip_addr *netmask,  struct netif *netif_add(struct ip_addr *ipaddr, struct ip_addr *netmask,
87                          struct ip_addr *gw,                          struct ip_addr *gw,
88                            void *state,
89                          void (* init)(struct netif *netif),                          void (* init)(struct netif *netif),
90                          err_t (* input)(struct pbuf *p, struct netif *netif));                          err_t (* input)(struct pbuf *p, struct netif *netif));
91    
92    void netif_remove(struct netif * netif);
93    
94  /* Returns a network interface given its name. The name is of the form  /* Returns a network interface given its name. The name is of the form
95     "et0", where the first two letters are the "name" field in the     "et0", where the first two letters are the "name" field in the
96     netif structure, and the digit is in the num field in the same     netif structure, and the digit is in the num field in the same

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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