mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
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).
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#ifndef BASEMEM_PACKET_H
|
||||
#define BASEMEM_PACKET_H
|
||||
|
||||
#include <realmode.h>
|
||||
|
||||
/** Maximum length of base memory packet buffer */
|
||||
#define BASEMEM_PACKET_LEN 1514
|
||||
|
||||
/** Base memory packet buffer */
|
||||
extern char __data16_array ( basemem_packet, [BASEMEM_PACKET_LEN] );
|
||||
#define basemem_packet __use_data16 ( basemem_packet )
|
||||
|
||||
#endif /* BASEMEM_PACKET_H */
|
||||
@@ -1,13 +0,0 @@
|
||||
#ifndef DHCP_BASEMEM_H
|
||||
#define DHCP_BASEMEM_H
|
||||
|
||||
#include <realmode.h>
|
||||
|
||||
/** Maximum length of a DHCP data buffer */
|
||||
#define DHCP_BASEMEM_LEN 1514
|
||||
|
||||
/** DHCP data buffer */
|
||||
extern char __data16_array ( dhcp_basemem, [DHCP_BASEMEM_LEN] );
|
||||
#define dhcp_basemem __use_data16 ( dhcp_basemem )
|
||||
|
||||
#endif /* DHCP_BASEMEM_H */
|
||||
Reference in New Issue
Block a user