Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Tobias DiPasquale <cbcgtt@gmail.com>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Re: FIB LPM algorithm
Date: Mon, 7 Jun 2004 08:11:00 -0400	[thread overview]
Message-ID: <9e3aacf4040607051129edfb01@mail.gmail.com> (raw)
In-Reply-To: <200406071302.15598.Antony@Soft-Solutions.co.uk>

On Mon, 7 Jun 2004 13:02:15 +0100, Antony Stone
<antony@soft-solutions.co.uk> wrote:
> Er, what do LPM and FIB mean please?   I think I know netfilter quite well,
> and I've not come across these abbreviations so far...

LPM = Longest Prefix Match, the algorithm used to match an IP to a
particular route based on the route's destination network spefication.

FIB = Forwarding Information Base, the data structure used by the
kernel to hold packet routing information.

There are 3 or 4 files in net/ipv4/ devoted entirely to the FIB (which
are called in route.c in the same subdir). Thinking more about this,
though, it was probably a mistake posting this to the netfilter
list... it seems more of a question that should be asked of the
linux-net list.

As well, I just found a small section on the FIB in Chapter 18 of
Understanding the Linux Kernel (2nd Edition) but its not really as
specific as I would like with respect to the exact LPM algorithm used.

I will repost my original message to linux-net but will also be
amenable to any direction that may come from this list, as well.
Thanks again :)

--
Tobias DiPasquale
[ 0x63626367545440676d61696c2e636f6d ]


      parent reply	other threads:[~2004-06-07 12:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07 11:23 FIB LPM algorithm Tobias DiPasquale
2004-06-07 12:02 ` Antony Stone
2004-06-07 11:23   ` alex
2004-06-07 12:11   ` Tobias DiPasquale [this message]

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=9e3aacf4040607051129edfb01@mail.gmail.com \
    --to=cbcgtt@gmail.com \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox