>
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message