![Intel Extensible Firmware Interface Specification Download Page 305](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117305.webp)
SIMPLE_NETWORK Protocol
Version 1.02
12/12/00
287
15.1.6 EFI_SIMPLE_NETWO RK.ReceiveFilters()
Summary
Manages the multicast receive filters of a network interface.
Prototype
EFI_STATUS
(EFIAPI *EFI_SIMPLE_NETWORK_RECEIVE_FILTERS) (
IN EFI_SIMPLE_NETWORK
*This,
IN UINT32
Enable,
IN UINT32
Disable,
IN BOOLEAN
ResetMCastFilter,
IN UINTN
McastFilterCnt
OPTIONAL
,
IN EFI_MAC_ADDRESS
*MCastFilter
OPTIONAL
,
);
Parameters
This
A pointer to the
EFI_SIMPLE_NETWORK
instance.
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
.
Description
This function modifies the current receive filter mask on a network interface. The bits set in
Enable
are set on the current receive filter mask. The bits set in
Disable
are cleared from the
current receive filter mask. If the same bit is set in both
Enable
and
Disable
, then the bit will
be disabled. The receive filter mask is updated on the network interface, and the new receive filter
mask can be read from the
ReceiveFilterSetting
field of
EFI_SIMPLE_NETWORK_MODE
. If an attempt is made to enable a bit that is not supported on the
network interface, then
EFI_INVALID_PARAMETER
will be returned. The
ReceiveFilterMask
field of
EFI_SIMPLE_NETWORK_MODE
specifies the supported receive
filters settings. See “Bit Mask Values for
ReceiveFilterSetting
” in “Related Definitions”
in Section 15.1 for the list of the supported receive filter bit mask values.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...