From owner-freebsd-current Sun Jul 2 11: 5:29 2000 Delivered-To: freebsd-current@freebsd.org Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (Postfix) with ESMTP id 5AE8437B54E; Sun, 2 Jul 2000 11:05:25 -0700 (PDT) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.9.3/8.9.1) with ESMTP id OAA19556; Sun, 2 Jul 2000 14:05:24 -0400 (EDT) (envelope-from louie@whizzo.transsys.com) Message-Id: <200007021805.OAA19556@whizzo.transsys.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: John Baldwin Cc: Chris Costello , obrien@FreeBSD.ORG, Will Andrews , freebsd-current@FreeBSD.ORG, "Jordan K. Hubbard" X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" Subject: Re: /sys hierarchy References: <200007021744.KAA34752@john.baldwin.cx> In-reply-to: Your message of "Sun, 02 Jul 2000 10:44:23 PDT." <200007021744.KAA34752@john.baldwin.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 02 Jul 2000 14:05:24 -0400 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. Well, in theory maybe, but note that the TCP checksum is computed over a the TCP header and a pseudo header composed of the IPv4 transport addresses. The layering of the protocols is a fine intellectual notion, but don't confuse the layering with an efficient implementation. louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message