diff options
author | Michael Brown | 2007-09-13 02:53:04 +0200 |
---|---|---|
committer | Michael Brown | 2007-09-21 02:15:58 +0200 |
commit | af303db75d467e1268806303766db02150d101d6 (patch) | |
tree | aa7d4fee31153ed4f501d9abd7ed9ea591663dae /src/include | |
parent | Add const attribute to byte-swapping functions (diff) | |
download | ipxe-af303db75d467e1268806303766db02150d101d6.tar.gz ipxe-af303db75d467e1268806303766db02150d101d6.tar.xz ipxe-af303db75d467e1268806303766db02150d101d6.zip |
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gpxe/dhcp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 43bccf18..18baa86a 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -432,6 +432,13 @@ struct dhcphdr { /** Opcode for a reply from server to client */ #define BOOTP_REPLY 2 +/** BOOTP reply must be broadcast + * + * Clients that cannot accept unicast BOOTP replies must set this + * flag. + */ +#define BOOTP_FL_BROADCAST 0x8000 + /** DHCP magic cookie */ #define DHCP_MAGIC_COOKIE 0x63825363UL |