aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-07-02 18:33:41 +0100
committerMichael Brown <mcb30@etherboot.org>2007-07-02 18:33:41 +0100
commite42eba4af49729c5535512d8b83ea6d18a8e3e95 (patch)
tree49805fcc50d3552642c9dee6c1838eb76abadfcf /src/interface
parent5f17089b148211dd8667af4efa9302a1f46dbc49 (diff)
downloadipxe-e42eba4af49729c5535512d8b83ea6d18a8e3e95.tar.gz
Use a common base-memory packet buffer for DHCP construction (as used
by PXE and NBI) and UNDI packets (as used by undinet and UNDI).
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/pxe/pxe_preboot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interface/pxe/pxe_preboot.c b/src/interface/pxe/pxe_preboot.c
index 3cbbf226..15752b23 100644
--- a/src/interface/pxe/pxe_preboot.c
+++ b/src/interface/pxe/pxe_preboot.c
@@ -28,7 +28,7 @@
#include <stdlib.h>
#include <gpxe/uaccess.h>
#include <gpxe/dhcp.h>
-#include <dhcp_basemem.h>
+#include <basemem_packet.h>
#include "pxe.h"
#include "pxe_call.h"
@@ -99,10 +99,10 @@ PXENV_EXIT_t pxenv_get_cached_info ( struct s_PXENV_GET_CACHED_INFO
*/
len = get_cached_info->BufferSize;
if ( len == 0 ) {
- len = sizeof ( dhcp_basemem );
+ len = sizeof ( basemem_packet );
get_cached_info->Buffer.segment = rm_ds;
get_cached_info->Buffer.offset =
- ( unsigned int ) ( & __from_data16 ( dhcp_basemem ) );
+ ( unsigned int ) ( & __from_data16 ( basemem_packet ) );
get_cached_info->BufferLimit = len;
}