Extensible Firmware Interface Specification
G.4.14
MCast IP To MAC
Translate a multicast IPv4 or IPv6 address to a multicast MAC address.
G.4.14.1
Issuing the Command
To issue a MCast IP To MAC command, create a CDB and fill it in as shows in the table below:
CDB Field
OpCode
OpFlags
CPBsize
DBsize
CPBaddr
Dbaddr
StatCode
StatFlags
Ifnum
Control
OpFlags
To convert a multicast IP address to a multicast MAC address the UNDI needs to know the format
of the IP address. Set one of these OpFlags to identify the format of the IP addresses in the CPB:
•
PXE_OPFLAGS_MCAST_IPV4_TO_MAC
•
PXE_OPFLAGS_MCAST_IPV6_TO_MAC
Preparing the CPB
Fill in an array of one or more multicast IP addresses. Be sure to set the
fields accordingly.
CDB.CPBaddr
typedef struct s_pxe_cpb_mcast_ip_to_mac {
// Multicast IP address to be converted to multicast MAC address.
PXE_IP_ADDR IP[n];
} PXE_CPB_MCAST_IP_TO_MAC;
448
How to initialize the CDB structure for a MCast IP To MAC command
PXE_OPCODE_MCAST_IP_TO_MAC
Set as needed.
sizeof(PXE_CPB_MCAST_IP_TO_MAC)
sizeof(PXE_DB_MCAST_IP_TO_MAC)
Address of
PXE_CPB_MCAST_IP_TO_MAC
Address of
PXE_DB_MCAST_IP_TO_MAC
PXE_STATCODE_INITIALIZE
PXE_STATFLAGS_INITIALIZE
A valid interface number from zero to !PXE.IFcnt.
Set as needed.
12/12/00
structure.
structure.
CDB.CPBsize
Version 1.02
and
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?