From owner-cvs-src@FreeBSD.ORG Fri Feb 27 01:04:02 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8618D16A4CE for ; Fri, 27 Feb 2004 01:04:02 -0800 (PST) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BB5F43D1D for ; Fri, 27 Feb 2004 01:04:02 -0800 (PST) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i1R9429Q073860; Fri, 27 Feb 2004 01:04:02 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i1R942Qh073859; Fri, 27 Feb 2004 01:04:02 -0800 (PST) (envelope-from rizzo) Date: Fri, 27 Feb 2004 01:04:01 -0800 From: Luigi Rizzo To: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= Message-ID: <20040227010401.A73760@xorpc.icir.org> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from des@des.no on Fri, Feb 27, 2004 at 09:53:22AM +0100 cc: Alexey Dokuchaev cc: src-committers@FreeBSD.org cc: cvs-src@FreeBSD.org cc: Tim Robbins 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-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 09:04:02 -0000 On Fri, Feb 27, 2004 at 09:53:22AM +0100, Dag-Erling Smørgrav wrote: > 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. except that textbooks are usually written by academics (like me) and tend to forget 'details' such as control interfaces (which typically talks to all layers) and interacting with the rest of the system. > > 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" whatever. Are you going to fix them ? cheers luigi > DES > -- > Dag-Erling Smørgrav - des@des.no