TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | VirtioNetMcastIpToMac (IN EFI_SIMPLE_NETWORK_PROTOCOL *This, IN BOOLEAN IPv6, IN EFI_IP_ADDRESS *Ip, OUT EFI_MAC_ADDRESS *Mac) |
Implementation of the SNP.McastIpToMac() function and its private helpers if any.
Copyright (C) 2013, Red Hat, Inc. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SnpMcastIpToMac.c.
EFI_STATUS EFIAPI VirtioNetMcastIpToMac | ( | IN EFI_SIMPLE_NETWORK_PROTOCOL * | This, |
IN BOOLEAN | IPv6, | ||
IN EFI_IP_ADDRESS * | Ip, | ||
OUT EFI_MAC_ADDRESS * | Mac | ||
) |
Converts a multicast IP address to a multicast HW MAC address.
This | The protocol instance pointer. |
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. |
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_BUFFER_TOO_SMALL | The Statistics buffer was too small. The current buffer size needed to hold the statistics is returned in StatisticsSize. |
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. |
Definition at line 43 of file SnpMcastIpToMac.c.