aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/ethernet.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-08-30 15:58:58 +0100
committerMichael Brown <mcb30@ipxe.org>2012-08-31 20:21:10 +0100
commit1cbb1581f16e235fafc963c906ad02b38d5457bd (patch)
treec05cb3f02415642952bb909a31948e905f6da000 /src/include/ipxe/ethernet.h
parent5e73677a01133546e1da35f8b8d26cb1f092417a (diff)
downloadipxe-1cbb1581f16e235fafc963c906ad02b38d5457bd.tar.gz
[ethernet] Expose eth_broadcast as a global constant
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/ethernet.h')
-rw-r--r--src/include/ipxe/ethernet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/ethernet.h b/src/include/ipxe/ethernet.h
index 3d2d462ef..1794ff67e 100644
--- a/src/include/ipxe/ethernet.h
+++ b/src/include/ipxe/ethernet.h
@@ -79,6 +79,7 @@ static inline int is_valid_ether_addr ( const void *addr ) {
( ! is_zero_ether_addr ( addr ) ) );
}
+extern uint8_t eth_broadcast[];
extern int eth_push ( struct net_device *netdev, struct io_buffer *iobuf,
const void *ll_dest, const void *ll_source,
uint16_t net_proto );