Table A.2.18 defines the functions included in the Ethernet filter library (efilter.c). In the Network Driver Reference, Chapter 2, Section 2.2 defines several filter library macros. A NIC driver can access these functions and macros by including the efilter.h file.
The driver must contain three action functions the Ethernet filter library functions can call back: MacChangeFilter, MacChangeEthAddresses, and MacCloseAction. For more information about these functions, see Section A.2.1. The NIC driver registers these functions in a call to the Ethernet filter library function EthCreateFilter.
Table A.2.18 Ethernet Filter Library Functions
Function |
Definition |
Changes the multicast address list for a binding filter in the Ethernet filter library database. | |
Creates and initializes the Ethernet filter library database associated with one network interface card. | |
Deletes memory associated with the Ethernet filter library database. | |
Deletes binding filter information for a network interface card from the Ethernet filter library database. | |
Adjusts the Ethernet filter library database. | |
Indicates a received packet to all Ethernet filter library database bindings associated with an Ethernet address. | |
Indicates to all bound transport drivers that EthFilterIndicateReceive has returned. | |
Adds a binding filter to the Ethernet filter library database. | |
Counts the number of Ethernet filter library database multicast addresses in a binding filter. | |
Queries the Ethernet filter library database for a list of multicast addresses associated with a particular network interface card. | |
Queries the Ethernet filter library database for a list of multicast addresses associated with a binding. | |
Determines if the NIC driver should place a packet on the network card logical adapter loopback queue to avoid transmitting the packet on the network. |