EthShouldAddressLoopBack

BOOLEAN
EthShouldAddressLoopBack(
IN PETH_FILTER Filter,
IN CHAR Address[ETH_LENGTH_OF_ADDRESS]
);

EthShouldAddressLoopBack returns FALSE if a packet bound for a given Ethernet address cannot possibly loop back.

Parameters

Filter

Points to a previously created and initialized filter library database.

Address[ETH_LENGTH_OF_ADDRESS]

Specifies an Ethernet address this function uses to determine a need for packet loopback.

Return Value

EthShouldAddressLoopBack returns TRUE if the packet is likely to loop back. It returns FALSE if there is no chance the packet will loop back.

Comments

EthShouldAddressLoopBack does not check whether the source address is equal to the destination address.

Callers of EthShouldAddressLoopBack run at IRQL <= DISPATCH_LEVEL.

See Also

ETH_COPY_NETWORK_ADDRESS