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 |
/*-----------------------------------------------------------------------------------*/ |
/*-----------------------------------------------------------------------------------*/ |