summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/dhcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gpxe/dhcp.h')
-rw-r--r--src/include/gpxe/dhcp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h
index 1ec7ca038..16609bafc 100644
--- a/src/include/gpxe/dhcp.h
+++ b/src/include/gpxe/dhcp.h
@@ -13,7 +13,6 @@
#include <gpxe/udp.h>
#include <gpxe/async.h>
#include <gpxe/retry.h>
-#include <gpxe/hotplug.h>
/** BOOTP/DHCP server port */
#define BOOTPS_PORT 67
@@ -449,6 +448,8 @@ struct dhcp_packet {
struct dhcp_option_block options[NUM_OPT_BLOCKS];
};
+struct udp_connection {};
+
/** A DHCP session */
struct dhcp_session {
/** UDP connection for this session */
@@ -456,8 +457,6 @@ 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;