Files
ipxe/src/include/gpxe/ethernet.h
T
Michael Brown d09290161e [netdevice] Make ll_broadcast per-netdevice rather than per-ll_protocol
IPoIB has a link-layer broadcast address that varies according to the
partition key.  We currently go through several contortions to pretend
that the link-layer address is a fixed constant; by making the
broadcast address a property of the network device rather than the
link-layer protocol it will be possible to simplify IPoIB's broadcast
handling.
2009-07-17 23:02:48 +01:00

18 lines
296 B
C

#ifndef _GPXE_ETHERNET_H
#define _GPXE_ETHERNET_H
/** @file
*
* Ethernet protocol
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
extern const char * eth_ntoa ( const void *ll_addr );
extern struct net_device * alloc_etherdev ( size_t priv_size );
#endif /* _GPXE_ETHERNET_H */