diff options
| author | Michael Brown | 2007-09-13 02:53:04 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-09-13 02:53:04 +0200 |
| commit | 7e4e5af462a9f62f74e7a5c49802431248dda8b2 (patch) | |
| tree | aa01ffd1a2ae50d38a8fb67685ae2cc55ff7b730 /src/include/gpxe | |
| parent | Now sends IP packets correctly. (diff) | |
| download | ipxe-7e4e5af462a9f62f74e7a5c49802431248dda8b2.tar.gz ipxe-7e4e5af462a9f62f74e7a5c49802431248dda8b2.tar.xz ipxe-7e4e5af462a9f62f74e7a5c49802431248dda8b2.zip | |
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
Diffstat (limited to 'src/include/gpxe')
| -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 43bccf185..18baa86ad 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 |
