Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2005 21:41:06 -0400
From:      "Matt Emmerton" <matt@gsicomp.on.ca>
To:        "Marcin Jessa" <lists@yazzy.org>, <freebsd-net@freebsd.org>
Subject:   Re: net.inet.ip.forwarding and net.inet.ip.fastforwarding
Message-ID:  <004701c5b4df$9207d260$1200a8c0@gsicomp.on.ca>
References:  <20050908221115.038c3abd.lists@yazzy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi guys.
>
> What's the difference between net.inet.ip.forwarding and
net.inet.ip.fastforwarding  ?
> What's the role of net.inet.ip.fastforwarding ?

>From inet(4):

     IPCTL_FORWARDING      (ip.forwarding) Boolean: enable/disable
forwarding
                           of IP packets.  Defaults to off.

     IPCTL_FASTFORWARDING  (ip.fastforwarding) Boolean: enable/disable the
use
                           of fast IP forwarding code.  Defaults to off.
When
                           fast forwarding is enabled, IP packets are for-
                           warded directly to the appropriate network inter-
                           face with a minimal validity checking, which
                           greatly improves the throughput.  On the other
                           hand, they bypass the standard procedures, such
as
                           IP option processing and ipfirewall(4) checking.
                           It is not guaranteed that every packet will be
                           fast-forwarded.

--
Matt Emmerton




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004701c5b4df$9207d260$1200a8c0>