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:
Michael Brown
2007-07-02 18:33:41 +01:00
parent 5f17089b14
commit e42eba4af4
6 changed files with 31 additions and 36 deletions

View File

@@ -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 */