From: Megh Bhatt <megh.bhatt@gmail.com>
To: netdev@oss.sgi.com
Subject: Question about Linux routing - ip_route_output_key vs fib_lookup
Date: Wed, 16 Feb 2005 12:35:57 -0500 [thread overview]
Message-ID: <5d1f895705021609356e34aeec@mail.gmail.com> (raw)
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
next reply other threads:[~2005-02-16 17:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-16 17:35 Megh Bhatt [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-15 14:50 Question about Linux routing - ip_route_output_key vs fib_lookup Megh Bhatt
2005-02-16 13:38 ` Harald Welte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d1f895705021609356e34aeec@mail.gmail.com \
--to=megh.bhatt@gmail.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.