[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Craig Metz <cmetz_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 2 Jul 1999 14:39:09 -0600 (MDT)
- Reply-to: Craig Metz <cmetz_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
Module name: src
Changes by: cmetz_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 1999/07/02 14:39:08
sys/netinet : tcp_debug.c tcp_input.c tcp_output.c tcp_subr.c
Significant cleanups in the way TCP is made to handle multiple network
"struct tcpiphdr" is now gone from much of the code, as are separate pointers
for ti and ti6. The result is fewer variables, which is generally a good thing.
Simple if(is_ipv6) ... else ... tests are gone in favor of a
switch(protocol family), which allows future new protocols to be added easily.
This also makes it possible for someone so inclined to re-implement TUBA (TCP
over CLNP?) and do it right instead of the kluged way it was done in 4.4.
The TCP header template is now referenced through a mbuf rather than done
through a data pointer and dtom()ed as needed. This is partly because dtom() is
evil and partly because max_linkhdr + IPv6 + TCP + MSS/TS/SACK opts won't fit
inside a packet header mbuf, so we need to grab a cluster for that (which the
code now does, if needed).
Visit your host, monkey.org