EthShouldAddressLoopBack

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

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

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

Parameters

Filter
Pointer to a previously created and initialized filter library database.
Address[ETH_LENGTH_OF_ADDRESS]
Specifies an Ethernet address that this function uses to determine a need for packet loopback.

Return Values

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

Remarks

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

A driver that calls this function runs at IRQL <= DISPATCH_LEVEL.

See Also

ETH_COPY_NETWORK_ADDRESS