diff options
author | Michael Brown | 2007-11-21 05:48:18 +0100 |
---|---|---|
committer | Michael Brown | 2007-11-21 05:48:18 +0100 |
commit | fb809da2dfe9d715a02de7033ede46854d176c2e (patch) | |
tree | 78b7f6462aa74a4ebc9f243c69bf2c41676d0714 /src/include | |
parent | Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets. (diff) | |
download | ipxe-fb809da2dfe9d715a02de7033ede46854d176c2e.tar.gz ipxe-fb809da2dfe9d715a02de7033ede46854d176c2e.tar.xz ipxe-fb809da2dfe9d715a02de7033ede46854d176c2e.zip |
Remove some assumptions about DHCP obtaining only a single options block.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gpxe/dhcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index b5923fd2..60d2ccff 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -512,6 +512,8 @@ dhcpopt_put ( struct dhcp_option_block *options ) { ref_put ( &options->refcnt ); } +extern struct list_head dhcp_option_blocks; + extern unsigned long dhcp_num_option ( struct dhcp_option *option ); extern void dhcp_ipv4_option ( struct dhcp_option *option, struct in_addr *inp ); |