| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Question about Linux routing - ip_route_output_key vs fib_lookup |
| From: | Megh Bhatt <megh.bhatt@xxxxxxxxx> |
| Date: | Wed, 16 Feb 2005 12:35:57 -0500 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Z1XdxlnNs4z+OrbYwMWSJBHQk8A8UFtpy8U4bQhWpQicYkn2NTAuZeMKCAapbRKU1xiiqI7spvy4m7pxolZQdDuUHnsSQnqlwTkuhWaZJmRG6r9DQGzOVevlfsgqr7fX+1Txg3BnBxFc0hXrMBko76OonXQdHfPS5DJSenXXgjM= |
| Reply-to: | Megh Bhatt <megh.bhatt@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi, I had a question about Linux routing functions, suppose I want to find out what interface does a route to an IP address belong to - is it better (in terms of performance) to use ip_route_output_key or fib_lookup. My initial guess from looking at the source code is fib_lookup since the routing cache wont be helpful since I wont have any interface information (rather want to find out interface information) but wanted to be sure. Thanks. Megh |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Quieten privacy extensions message, Meelis Roos |
|---|---|
| Next by Date: | Re: 2.6.10 TCP troubles -- suggested patch, David S. Miller |
| Previous by Thread: | Quieten privacy extensions message, Meelis Roos |
| Next by Thread: | [PATCH 2.4 NETLINK]: Unhash sockets correctly, Patrick McHardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |