From 7fafa8925800f3b6caf4983efd731b0c680caa49 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 4 Jan 2007 03:42:28 +0000 Subject: A DHCP session holds a persistent reference to a network device --- src/include/gpxe/dhcp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 9ce8113de..60991e7e8 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -13,6 +13,7 @@ #include #include #include +#include /** 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; -- cgit v1.2.3-55-g7522