SIMPLE_NETWORK Protocol
Version 1.02 12/12/00 293
15.1.9 EFI_SIMPLE_NETWOR K.MCastIPtoMAC()
Summary
Converts a multicast IP address to a multicast HW MAC address.
Prototype
EFI_STATUS
(EFIAPI *EFI_SIMPLE_NETWORK_MCAST_IP_TO_MAC) (
IN EFI_SIMPLE_NETWORK *This,
IN BOOLEAN IPv6,
IN EFI_IP_ADDRESS *IP,
OUT EFI_MAC_ADDRESS *MAC
);
Parameters
This A pointer to the EFI_SIMPLE_NETWORK instance.
IPv6 Set to TRUE if the multicast IP address is IPv6 [RFC 2460]. Set
to FALSE if the multicast IP address is IPv4 [RFC 791].
IP The multicast IP address that is to be converted to a multicast
HW MAC address.
MAC The multicast HW MAC address that is to be generated from IP.
Description
This function converts a multicast IP address to a multicast HW MAC address for all packet
transactions. If the mapping is accepted, then EFI_SUCCESS will be returned.
Status Codes Returned
EFI_SUCCESS The multicast IP address was mapped to the multicast HW MAC
address.
EFI_NOT_STARTED The network interface has not been started.
EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
EFI_DEVICE_ERROR The command could not be sent to the network interface.
EFI_UNSUPPORTED This function is not supported by the network interface.