How do we determine IP Address of interface the packet arrived on
Maninder Singh
maninder.tiet at gmail.com
Wed Sep 24 23:20:06 EDT 2014
Hi Valdis,
I am trying some PoC for an IP traceback method in IPv6. For that, I
need to record a variant (like a hash) of the IP address of the
interface where packet arrives in a router.
Thanks
Maninder
On Wed, Sep 24, 2014 at 5:55 PM, <Valdis.Kletnieks at vt.edu> wrote:
> On Wed, 24 Sep 2014 10:19:34 +0530, Maninder Singh said:
>> Hi,
>>
>> Each time a packet arrives at a router in a subnet during transit, I
>> need to determine the IP address of the incoming interface of the
>> router for that packet.
>
> What problem are you trying to solve using the IP address of the interface,
> given that a single interface can have multiple IP addresses?
>
> (Also - are your writing your code to be IPv6-ready? :)
More information about the Kernelnewbies
mailing list