archive mirror
 help / color / mirror / Atom feed
* Next hop and o/p i/f IP address
@ 2001-06-15 17:09 Manoj Sontakke
  0 siblings, 0 replies; only message in thread
From: Manoj Sontakke @ 2001-06-15 17:09 UTC (permalink / raw)
  To: linux-kernel

Hi list
        Sorry to bother you with such a trivial query.

To make a routing decision ip_route_input() is called. It fills the skb->dst
with appropriate entry. Can anyone point to the exact location where I can find
the next hop and output interface IP address.

It seems
skb->dst->dev->ip_ptr->in_dev->ifa_list->ifa_address is o/p i/f ip address and
skb->dst->neighbour->dev->ip_ptr->in_dev->ifa_list->ifa_address  is next hop IP

Please correct me if I am wrong.
Thanks for all the help.


Do You Yahoo!?
Spot the hottest trends in music, movies, and more.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-15 17:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-15 17:09 Next hop and o/p i/f IP address Manoj Sontakke

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).