summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-11-21 05:48:18 +0100
committerMichael Brown2007-11-21 05:48:18 +0100
commitfb809da2dfe9d715a02de7033ede46854d176c2e (patch)
tree78b7f6462aa74a4ebc9f243c69bf2c41676d0714 /src/include
parentAdd PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets. (diff)
downloadipxe-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.h2
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 );