kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* How do we determine IP Address of interface the packet arrived on
@ 2014-09-24  4:49 Maninder Singh
  2014-09-24  7:41 ` Vlad Dogaru
  2014-09-24 12:25 ` Valdis.Kletnieks at vt.edu
  0 siblings, 2 replies; 10+ messages in thread
From: Maninder Singh @ 2014-09-24  4:49 UTC (permalink / raw)
  To: kernelnewbies

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. I have a netfilter kernel module running at
each router but I dont understand which data structure will give me
thw IP address. Can someone please suggest how shall I get that?


Thanks
Maninder

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-09-25  3:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-24  4:49 How do we determine IP Address of interface the packet arrived on Maninder Singh
2014-09-24  7:41 ` Vlad Dogaru
2014-09-24 12:03   ` 정현
2014-09-24 12:24     ` Valdis.Kletnieks at vt.edu
2014-09-24 14:08   ` John de la Garza
2014-09-24 16:22     ` Valdis.Kletnieks at vt.edu
2014-09-24 16:34   ` Jeff Haran
2014-09-25  3:14   ` maninder.tiet at gmail.com
2014-09-24 12:25 ` Valdis.Kletnieks at vt.edu
2014-09-25  3:20   ` Maninder Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).