/[lwip]/lwip/src/netif/ethernetif.c
ViewVC logotype

Diff of /lwip/src/netif/ethernetif.c

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

revision 1.7 by davidhaas, Tue Feb 18 19:27:48 2003 UTC revision 1.8 by likewise, Thu Feb 20 08:42:04 2003 UTC
# Line 73  low_level_init(struct netif *netif) Line 73  low_level_init(struct netif *netif)
73    
74    ethernetif = netif->state;    ethernetif = netif->state;
75        
76    /* Obtain MAC address from network interface. */    /* set MAC hardware address length */
77    ethernetif->ethaddr->addr[0] = ;    netif->hwaddr_len = 6;
   ethernetif->ethaddr->addr[1] = ;  
   ethernetif->ethaddr->addr[2] = ;  
78    
79      /* set MAC hardware address */
80      netif->hwaddr[0] = ;
81      ...
82      netif->hwaddr[6] = ;
83    
84      /* maximum transfer unit */
85      netif->mtu = 1500;
86      
87      /* broadcast capability */
88      netif->flags = NETIF_FLAG_BROADCAST;
89    
90    /* Do whatever else is needed to initialize interface. */      /* Do whatever else is needed to initialize interface. */  
91  }  }
92  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/

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