diff options
Diffstat (limited to 'contrib/syslinux-4.02/gpxe/src/include/gpxe/ethernet.h')
-rw-r--r-- | contrib/syslinux-4.02/gpxe/src/include/gpxe/ethernet.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/gpxe/src/include/gpxe/ethernet.h b/contrib/syslinux-4.02/gpxe/src/include/gpxe/ethernet.h new file mode 100644 index 0000000..4dfc24d --- /dev/null +++ b/contrib/syslinux-4.02/gpxe/src/include/gpxe/ethernet.h @@ -0,0 +1,21 @@ +#ifndef _GPXE_ETHERNET_H +#define _GPXE_ETHERNET_H + +/** @file + * + * Ethernet protocol + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include <stdint.h> + +extern void eth_init_addr ( const void *hw_addr, void *ll_addr ); +extern const char * eth_ntoa ( const void *ll_addr ); +extern int eth_mc_hash ( unsigned int af, const void *net_addr, + void *ll_addr ); +extern int eth_eth_addr ( const void *ll_addr, void *eth_addr ); +extern struct net_device * alloc_etherdev ( size_t priv_size ); + +#endif /* _GPXE_ETHERNET_H */ |