netdev
[Top] [All Lists]

Re: How to access route table ?

To: Murtaza Amiji <kijana@xxxxxxxxxxxx>
Subject: Re: How to access route table ?
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Fri, 1 Dec 2000 03:02:18 +1300
Cc: netdev@xxxxxxxxxxx
In-reply-to: <002701c057c3$c22863c0$64d8da18@toto>; from kijana@mediaone.net on Sun, Nov 26, 2000 at 11:13:04AM -0500
References: <002701c057c3$c22863c0$64d8da18@toto>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
see /proc/net/route


  --cw

On Sun, Nov 26, 2000 at 11:13:04AM -0500, Murtaza Amiji wrote:
    Hi,
    
    I am writing a network device driver for an IP telephony board and one of
    the requirements in this driver is to fetch route table entries for gateway
    address for the device and pass it to the board.  Conventional network
    drivers don't have to deal with IP stuff which is why device driver
    structures don't mention much about IP information.  I have search through
    the kernel network code but failed to determine how I can read this
    information from my device driver.  Can someone please tell me how I can do
    this.
    
    Thank you
    
    - Murtaza
    
    

<Prev in Thread] Current Thread [Next in Thread>