All of lore.kernel.org
 help / color / mirror / Atom feed
From: Megh Bhatt <megh.bhatt@gmail.com>
To: netfilter-devel@lists.netfilter.org
Subject: Question about Linux routing - ip_route_output_key vs fib_lookup
Date: Tue, 15 Feb 2005 09:50:32 -0500	[thread overview]
Message-ID: <5d1f89570502150650c3e95b6@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 Bhatt

             reply	other threads:[~2005-02-15 14:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-15 14:50 Megh Bhatt [this message]
2005-02-16 13:38 ` Question about Linux routing - ip_route_output_key vs fib_lookup Harald Welte
  -- strict thread matches above, loose matches on Subject: below --
2005-02-16 17:35 Megh Bhatt

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=5d1f89570502150650c3e95b6@mail.gmail.com \
    --to=megh.bhatt@gmail.com \
    --cc=netfilter-devel@lists.netfilter.org \
    /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.