Token Ring filter library (tfilter.c) functions are defined in Table A.2.19. In the Network Driver Reference, Chapter 2, Section 2.2 defines several filter library macros. The NIC driver can access these functions and macros by including tfilter.h in its code.
The driver must contain four NIC driver action functions for the Token Ring filter library to call back: MacChangeGroup, MacChangeTrAddress, MacChangeFilter, and MacCloseAction. For more information on these functions, see Section A.2.1. The NIC driver registers these functions in a call to the Token Ring filter library function, TrCreateFilter.
Table A.2.19 Token Ring Filter Library Functions
Function |
Definition |
Changes the overall functional address for a network interface card. | |
Changes the overall network card group address associated with a Token Ring binding filter. | |
Creates and initializes the Token Ring filter library database associated with a network interface card. | |
Deletes memory associated with the Token Ring filter library database. | |
Deletes network card binding filter information from the Token Ring filter library database. | |
Adjusts the Token Ring filter library database. | |
Indicates a received packet to all Token Ring filter library database bindings associated with a Token Ring address. | |
Indicates to all bound transport drivers that TrFilterIndicateReceive has returned. | |
Adds a binding to the Token Ring filter library database. | |
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. |