MacCloseAction

VOID
MacCloseAction(
IN NDIS_HANDLE MacBindingHandle
);

MacCloseAction is a NIC driver action function the Ethernet, Token Ring, or FDDI filter library calls when a binding is closed with active receive indications.

Parameters

MacBindingHandle

Specifies the handle that the NIC driver associates with the binding.

Comments

The NIC driver supplied the entry point for MacCloseAction when it called EthCreateFilter, FddiCreateFilter, or TrCreateFilter to set up the corresponding filter database.

The NIC driver first acquires the spin lock protecting the filter database and then calls one of the following functions:

·EthFilterIndicateReceive

·FddiFilterIndicateReceive

·TrFilterIndicateReceive

If a binding closes while the receive indication is being processed, NDIS calls MacCloseAction to decrement the driver's reference count for that binding.

MacCloseAction runs at IRQL DISPATCH_LEVEL.

See Also

EthCreateFilter, EthFilterIndicateReceive, FddiCreateFilter, FddiFilterIndicateReceive, MacAddAdapter, NdisAcquireSpinLock, TrCreateFilter, TrFilterIndicateReceive