diff options
| author | Michael Brown | 2016-07-04 14:15:05 +0200 |
|---|---|---|
| committer | Michael Brown | 2016-07-04 14:15:05 +0200 |
| commit | 3d9f094022854ca06d02f34c688896abde9e1b20 (patch) | |
| tree | 3905fa7145b191aaa733fceea7f11f2a24b2f0dc /src/include/ipxe | |
| parent | [pxe] Disable interrupts on the PIC before starting NBP (diff) | |
| download | ipxe-3d9f094022854ca06d02f34c688896abde9e1b20.tar.gz ipxe-3d9f094022854ca06d02f34c688896abde9e1b20.tar.xz ipxe-3d9f094022854ca06d02f34c688896abde9e1b20.zip | |
[dhcp] Allow for variable encapsulation of architecture-specific options
DHCPv4 and DHCPv6 share some values in common for the architecture-
specific options (such as the client system architecture type), but
use different encapsulations: DHCPv4 has a single byte for the option
length while DHCPv6 has a 16-bit field for the option length.
Move the containing DHCP_OPTION() and related wrappers from the
individual dhcp_arch.h files to dhcp.c, thus allowing for the
architecture-specific values to be reused in dhcpv6.c.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
0 files changed, 0 insertions, 0 deletions
