Filter operations for udp read/write functions – Intel Extensible Firmware Interface User Manual
Page 645

Protocols
— Network Support
Version 1.10
12/01/02
15-39
Filter Operations for UDP Read/Write Functions
This section defines the types of filter operations that can be used with the
functions.
#define EFI_PXE_BASE_CODE_UDP_OPFLAGS_ANY_SRC_IP
0x0001
#define EFI_PXE_BASE_CODE_UDP_OPFLAGS_ANY_SRC_PORT
0x0002
#define EFI_PXE_BASE_CODE_UDP_OPFLAGS_ANY_DEST_IP
0x0004
#define EFI_PXE_BASE_CODE_UDP_OPFLAGS_ANY_DEST_PORT
0x0008
#define EFI_PXE_BASE_CODE_UDP_OPFLAGS_USE_FILTER
0x0010
#define EFI_PXE_BASE_CODE_UDP_OPFLAGS_MAY_FRAGMENT
0x0020
#define
DEFAULT_TTL
4
#define
DEFAULT_ToS
0
The following table defines values for the PXE DHCP and Bootserver Discover packet tags that are
specific to the EFI environment. Complete definitions of all PXE tags are defined in Table 15-1
“PXE DHCP Options (Full List),” in the PXE Specification.
Table 15-1. PXE Tag Definitions for EFI
Tag Name
Tag #
Length
Data Field
Client Network
Interface
Identifier
94 [0x5E]
3 [0x03]
Type (1), MajorVer (1), MinorVer (1)
Type is a one byte field that identifies the network interface that
will be used by the downloaded program. Type is followed by
two one byte version number fields, MajorVer and MinorVer.
Type
UNDI (1) = 0x01
Versions
WfM-1.1a 16-bit UNDI: MajorVer = 0x02. MinorVer = 0x00
PXE-2.0 16-bit UNDI: MajorVer = 0x02, MinorVer = 0x01
32/64-bit UNDI & H/W UNDI: MajorVer = 0x03, MinorVer = 0x00
Client System
Architecture
93 [0x5D]
2 [0x02]
Type (2)
Type is a two byte, network order, field that identifies the
processor and programming environment of the client system.
Types
IA x86 PC = 0x00 0x00
Itanium EFI PC = 0x00 0x02
IA-32 EFI PC = 0x00 0x06
continued