From owner-freebsd-current Sun Jul 2 10:43:45 2000 Delivered-To: freebsd-current@freebsd.org Received: from server.baldwin.cx (server.geekhouse.net [64.81.6.52]) by hub.freebsd.org (Postfix) with ESMTP id A9E5637BDE4; Sun, 2 Jul 2000 10:43:38 -0700 (PDT) (envelope-from john@baldwin.cx) Received: from john.baldwin.cx (root@john.baldwin.cx [192.168.1.18]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id KAA24007; Sun, 2 Jul 2000 10:43:27 -0700 (PDT) (envelope-from john@baldwin.cx) Received: (from john@localhost) by john.baldwin.cx (8.9.3/8.9.3) id KAA34752; Sun, 2 Jul 2000 10:44:23 -0700 (PDT) (envelope-from john) Message-Id: <200007021744.KAA34752@john.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000702031414.A66762@holly.calldei.com> Date: Sun, 02 Jul 2000 10:44:23 -0700 (PDT) From: John Baldwin To: Chris Costello Subject: Re: /sys hierarchy Cc: obrien@FreeBSD.ORG, Will Andrews , freebsd-current@FreeBSD.ORG, "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 02-Jul-00 Chris Costello wrote: > On Sunday, July 02, 2000, John Baldwin wrote: >> ip/ - IPv4, IPv6, and IPsec bits from sys/netinet{,6} >> tcp/ - TCP " " " " >> udp/ - UDP " " " " > > Can this really be separated to such a degree? Since TCP and > UDP are inet protocols, do they _need_ to be separated this way? A directory listing of sys/netinet shows many in_* files, ip_* files, tcp_* files, and udp_* files. Note that TCP and UDP aren't explicity tied to IP, they are simply wrapped inside of an IP packet. In theory you can run TCP over IPX for example by using the same method of encapsulation. Of course, someone more familiar with the actual code in the tree might provide some better insight on the feasibility of splitting these up. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message