Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 18:06:42 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-net@freebsd.org
Cc:        shiner chen <shiner_chen@yahoo.com.cn>
Subject:   Re: about the implement and design of the pfil interface
Message-ID:  <200508181806.53793.max@love2party.net>
In-Reply-To: <20050818120256.80007.qmail@web15501.mail.cnb.yahoo.com>
References:  <20050818120256.80007.qmail@web15501.mail.cnb.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart6337274.4qFF2rcy3S
Content-Type: text/plain;
  charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 18 August 2005 14:02, shiner chen wrote:
> Recently ,I read the code of the pfil interface was designed and
> implemented by  Matthew R. Green. I want to get the Diagram illustrating
> the flow of TCP/IP packets through the various stages introduced by pfil
> interface and the document about the implement and design of the
> pfilinterface. Who can help me ? thanks!!

In FreeBSD we only have pfil_hooks for IP level packets.  While the=20
instrumentation is there to provide other hook points with the pfil API it=
=20
hasn't happend as it would result in performance degradation (at least one=
=20
function call/memory read per hook point).  Unless a specific application=20
makes it worthwhile to add another hookup point, I don't think it's=20
worthwhile to provide such.  There is some work going on to provide L2 hook=
s,=20
however.

More information about FreeBSD's pfil implementation can be found in=20
src/sys/net/pfil.? and the pfil(9) manpage.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart6337274.4qFF2rcy3S
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDBLIdXyyEoT62BG0RAnmAAJ0Wq5woq/ruE4z3LckVNgUV9q1Y6QCdEBZr
qyU9dq9L/3L9rZ0nooltjrU=
=T2Mc
-----END PGP SIGNATURE-----

--nextPart6337274.4qFF2rcy3S--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508181806.53793.max>