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

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

 



Try Glenn Herrin's excellent docuement titled Linux IP networking....it
walks through the process of sending, recieving, forwarding of IP packets.

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.

-- 
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
           Team Niehaus || Room # 245E
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
____________________________________________________


-
: 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