Date: Fri, 27 Feb 2004 01:04:01 -0800 From: Luigi Rizzo <rizzo@icir.org> To: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no> Cc: Sam Leffler <sam@errno.com> 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 Message-ID: <20040227010401.A73760@xorpc.icir.org> In-Reply-To: <xzphdxc29a5.fsf@dwp.des.no>; from des@des.no on Fri, Feb 27, 2004 at 09:53:22AM %2B0100 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> <xzpptc10vvv.fsf@dwp.des.no> <20040227083630.GC54056@regency.nsu.ru> <20040227004602.A73084@xorpc.icir.org> <xzphdxc29a5.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 27, 2004 at 09:53:22AM +0100, Dag-Erling Smørgrav wrote: > Luigi Rizzo <rizzo@icir.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040227010401.A73760>