* Question about Linux routing - ip_route_output_key vs fib_lookup
@ 2005-02-15 14:50 Megh Bhatt
2005-02-16 13:38 ` Harald Welte
0 siblings, 1 reply; 3+ messages in thread
From: Megh Bhatt @ 2005-02-15 14:50 UTC (permalink / raw)
To: netfilter-devel
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 Bhatt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about Linux routing - ip_route_output_key vs fib_lookup
2005-02-15 14:50 Megh Bhatt
@ 2005-02-16 13:38 ` Harald Welte
0 siblings, 0 replies; 3+ messages in thread
From: Harald Welte @ 2005-02-16 13:38 UTC (permalink / raw)
To: Megh Bhatt; +Cc: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
On Tue, Feb 15, 2005 at 09:50:32AM -0500, Megh Bhatt wrote:
> 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
please direct this question to the linux-net@vger.kernel.org or
netdev@oss.sgi.com lists.
--
- Harald Welte <laforge@netfilter.org> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Question about Linux routing - ip_route_output_key vs fib_lookup
@ 2005-02-16 17:35 Megh Bhatt
0 siblings, 0 replies; 3+ messages in thread
From: Megh Bhatt @ 2005-02-16 17:35 UTC (permalink / raw)
To: netdev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-16 17:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-16 17:35 Question about Linux routing - ip_route_output_key vs fib_lookup Megh Bhatt
-- strict thread matches above, loose matches on Subject: below --
2005-02-15 14:50 Megh Bhatt
2005-02-16 13:38 ` Harald Welte
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.