TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | VirtioNetReceiveFilters (IN EFI_SIMPLE_NETWORK_PROTOCOL *This, IN UINT32 Enable, IN UINT32 Disable, IN BOOLEAN ResetMCastFilter, IN UINTN MCastFilterCnt OPTIONAL, IN EFI_MAC_ADDRESS *MCastFilter OPTIONAL) |
Implementation of the SNP.ReceiveFilters() 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 SnpReceiveFilters.c.
EFI_STATUS EFIAPI VirtioNetReceiveFilters | ( | IN EFI_SIMPLE_NETWORK_PROTOCOL * | This, |
IN UINT32 | Enable, | ||
IN UINT32 | Disable, | ||
IN BOOLEAN | ResetMCastFilter, | ||
IN UINTN MCastFilterCnt | OPTIONAL, | ||
IN EFI_MAC_ADDRESS *MCastFilter | OPTIONAL | ||
) |
Manages the multicast receive filters of a network interface.
This | The protocol instance pointer. |
Enable | A bit mask of receive filters to enable on the network interface. |
Disable | A bit mask of receive filters to disable on the network interface. |
ResetMCastFilter | Set to TRUE to reset the contents of the multicast receive filters on the network interface to their default values. |
McastFilterCnt | Number of multicast HW MAC addresses in the new MCastFilter list. This value must be less than or equal to the MCastFilterCnt field of EFI_SIMPLE_NETWORK_MODE. This field is optional if ResetMCastFilter is TRUE. |
MCastFilter | A pointer to a list of new multicast receive filter HW MAC addresses. This list will replace any existing multicast HW MAC address list. This field is optional if ResetMCastFilter is TRUE. |
EFI_SUCCESS | The multicast receive filter list was updated. |
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. |
Definition at line 50 of file SnpReceiveFilters.c.