From owner-cvs-all@FreeBSD.ORG Fri Feb 27 00:53:29 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EBBB16A4CE; Fri, 27 Feb 2004 00:53:29 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8C1D43D1F; Fri, 27 Feb 2004 00:53:28 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id A6AAC5309; Fri, 27 Feb 2004 09:53:27 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 874345308; Fri, 27 Feb 2004 09:53:22 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 4EFEE33C68; Fri, 27 Feb 2004 09:53:22 +0100 (CET) To: Luigi Rizzo References: <200402260234.i1Q2YDx1014240@repoman.freebsd.org> <20040226060126.GA70201@troutmask.apl.washington.edu> <20040226080517.GA29763@cat.robbins.dropbear.id.au> <20040226015016.B23674@xorpc.icir.org> <403DC956.8EA364B2@freebsd.org> <20040226071123.A31631@xorpc.icir.org> <565913D0-68E2-11D8-AE91-000A95AD0668@errno.com> <20040227083630.GC54056@regency.nsu.ru> <20040227004602.A73084@xorpc.icir.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Fri, 27 Feb 2004 09:53:22 +0100 In-Reply-To: <20040227004602.A73084@xorpc.icir.org> (Luigi Rizzo's message of "Fri, 27 Feb 2004 00:46:02 -0800") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 X-Mailman-Approved-At: Fri, 27 Feb 2004 05:09:43 -0800 cc: Alexey Dokuchaev cc: Max Laier cc: Andre Oppermann cc: Tim Robbins cc: cvs-src@FreeBSD.org cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org cc: Steve Kargl cc: Sam Leffler Subject: Re: cvs commit: src/sys/contrib/pf/net if_pflog.c if_pflog.h if_pfsync.c if_pfsync.h pf.c pf_ioctl.c pf_norm.c pf_osfp.c pf_table.c pfvar.h src/sys/contrib/pf/netinet in4_cksum.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 08:53:29 -0000 Luigi Rizzo writes: > I believe this (convert the entire networking stack to netgraph > nodes) is completely unfeasible. It shouldn't be. Open any textbook on computer networking and you'll find that netgraph is the canonical way to organize a protocol stack. > There are interactions among subsystems all over the place. Otherwise known as "layering violations" and "bugs". > The routing subsystem is used by all protocols at different > layers (arp, ipv4 and ipv6, probably more). TCP knows it runs > on top of IP and pokes into its data structures below. It also > plays with the socket buffers on the layer above. Repeat after me: "layering violations" DES --=20 Dag-Erling Sm=F8rgrav - des@des.no