diff options
author | Michael Brown | 2007-01-04 04:42:28 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-04 04:42:28 +0100 |
commit | 7fafa8925800f3b6caf4983efd731b0c680caa49 (patch) | |
tree | 97d46520e772119f21f034a166b0319064888853 /src/include/gpxe | |
parent | Added missing #include (diff) | |
download | ipxe-7fafa8925800f3b6caf4983efd731b0c680caa49.tar.gz ipxe-7fafa8925800f3b6caf4983efd731b0c680caa49.tar.xz ipxe-7fafa8925800f3b6caf4983efd731b0c680caa49.zip |
A DHCP session holds a persistent reference to a network device
Diffstat (limited to 'src/include/gpxe')
-rw-r--r-- | src/include/gpxe/dhcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 9ce8113d..60991e7e 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -13,6 +13,7 @@ #include <gpxe/udp.h> #include <gpxe/async.h> #include <gpxe/retry.h> +#include <gpxe/hotplug.h> /** BOOTP/DHCP server port */ #define BOOTPS_PORT 67 @@ -452,6 +453,8 @@ struct dhcp_session { /** Network device being configured */ struct net_device *netdev; + /** Persistent reference to network device */ + struct reference netdev_ref; /** Options obtained from server */ struct dhcp_option_block *options; |