Date: Thu, 7 Jan 2010 21:35:36 +0100 From: Philip Paeps <philip@freebsd.org> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Michael Tuexen <tuexen@freebsd.org> Subject: Re: moving sctp to a separate directory ? (Re: svn commit: r201523 - head/sys/netinet) Message-ID: <20100107203536.GB8230@rincewind.paeps.cx> In-Reply-To: <20100104222323.GA49068@onelab2.iet.unipi.it> References: <201001041825.o04IPcXb043347@svn.freebsd.org> <20100104190024.GA47532@onelab2.iet.unipi.it> <517EF225-7EEB-4844-A0AD-019AD72F9403@freebsd.org> <20100104222323.GA49068@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-01-04 23:23:23 (+0100), Luigi Rizzo <rizzo@iet.unipi.it> wrote: > This was the reason why I moved ipfw-related stuff out of the way > and plan to do the same with tcp unless someone precedes me. Please discuss this on -net or so first. I have worked in an environment where tcp was moved out of netinet when it was imported (around 2.2.8-time) and it opens the door to a number of strange phenomena. What do you do with udp, for instance? Compared to tcp and sctp, it's trivial in terms of code, but it's an upper layer protocol from the perspective of netinet/netinet6 - do we put it in its own directory too? Also note that this won't only cause churn for people who have patches against or (out-of-tree) branches from netinet/, but also in other kernel subsystems which rely on tcp -- nfs, for instance. I would be very hesitant to do this... > Just checked, in 2.2 (which was some 12 years ago) netinet/ > had 46 files and 21k lines, of which tcp accounted for 13 files/6K lines. > Compare with 156 files/153k lines (tcp: 24 files, 16k lines) in HEAD now. TCP has got a bit more complicated in its old age. :-) I think the naming convention we have under netinet/ is clear enough... We don't pay per dirent these days. - Philip -- Philip Paeps Please don't Cc me, I am philip@freebsd.org subscribed to the list.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100107203536.GB8230>