netdev
[Top] [All Lists]

How to access route table ?

To: <netdev@xxxxxxxxxxx>
Subject: How to access route table ?
From: "Murtaza Amiji" <kijana@xxxxxxxxxxxx>
Date: Sun, 26 Nov 2000 11:13:04 -0500
Sender: owner-netdev@xxxxxxxxxxx
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>