d09290161e
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.
18 lines
296 B
C
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 */
|