1 #ifndef _GPXE_ETHERNET_H
2 #define _GPXE_ETHERNET_H
3 
4 /** @file
5  *
6  * Ethernet protocol
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER );
11 
12 #include <stdint.h>
13 
14 extern void eth_init_addr ( const void *hw_addr, void *ll_addr );
15 extern const char * eth_ntoa ( const void *ll_addr );
16 extern int eth_mc_hash ( unsigned int af, const void *net_addr,
17 			 void *ll_addr );
18 extern int eth_eth_addr ( const void *ll_addr, void *eth_addr );
19 extern struct net_device * alloc_etherdev ( size_t priv_size );
20 
21 #endif /* _GPXE_ETHERNET_H */
22