BOOLEAN
TrShouldAddressLoopBack(
IN PTR_FILTER Filter,
IN CHAR DestinationAddress[TR_LENGTH_OF_ADDRESS],
IN CHAR SourceAddress[TR_LENGTH_OF_ADDRESS]
);
TrShouldAddressLoopBack returns FALSE if a packet bound for a given Token Ring address cannot possibly loop back.
Parameters
Filter
Points to a previously created and initialized filter library database.
DestinationAddress[TR_LENGTH_OF_ADDRESS]
Specifies a network destination address that this function uses to determine a need for packet loopback.
SourceAddress[TR_LENGTH_OF_ADDRESS]
Specifies a network source address for the packet.
Return Value
TrShouldAddressLoopBack returns TRUE if the packet is likely to loop back. It returns FALSE if there is no chance the packet will loop back.
Comments
TrShouldAddressLoopBack does not check whether the source address is equal to the destination address.
Callers of TrShouldAddressLoopBack run at IRQL <= DISPATCH_LEVEL.
See Also