Tech Support > Microsoft Windows > Drivers > IPAddr RecvLinkNextHop ?
IPAddr RecvLinkNextHop ?
Posted by Arcane on December 9th, 2003





What are these parameters in PF_SET_EXTENSION_HOOK_INFO" IPAddr RecvLinkNextHop and IPAddr SendLinkNextHop" for PF_FORWARD ACTION filter hook function ! Are they the same that the IPHeader->ipSource and ipDestination ?
Thanks !


Posted by Chris on December 9th, 2003


Nearly. As stated in the MSDN:
RecvLinkNextHop
IP address for the NIC that received the packet if the NIC is a point to
multiple-point interface; otherwise this parameter is set to
ZERO_PF_IP_ADDR.
SendLinkNextHop
IP address for the NIC that will transmit the packet if the NIC is a
point-to-multiple-point interface; otherwise this parameter is set to
ZERO_PF_IP_ADDR.
So, if you have got a NIC which handles multiple interfaces (?), you might
want to know which of those sended/received the packet. So, both should
always be the Source IP Addr I think.

--
Chris
www.chrismc.de