Re: next-hop and o/p interface IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Amit Kucheria <amitk@ittc.ku.edu> wrote:
> Try Glenn Herrin's excellent docuement titled Linux IP networking....it
> walks through the process of sending, recieving, forwarding of IP packets.

I have read the document. It doesn't have the exact information I need.

> Search google for the document.
> 
> On Thu, 14 Jun 2001, Manoj Sontakke wrote:
> 
> > 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->????    		is o/p interface ip address and
> > skb->dst->neighbour->dev->ip_ptr->????	is next hop IP address
> >
> > Please correct me if I am wrong and also what's this ????   ;-)
> > Thanks for all the help.

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux