Date: Thu, 15 Mar 2007 15:59:28 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp.h tcp_input.c tcp_output.c tcp_syncache.c tcp_var.h Message-ID: <200703151559.l2FFxSG7088256@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2007-03-15 15:59:28 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp.h tcp_input.c tcp_output.c
tcp_syncache.c tcp_var.h
Log:
Consolidate insertion of TCP options into a segment from within tcp_output()
and syncache_respond() into its own generic function tcp_addoptions().
tcp_addoptions() is alignment agnostic and does optimal packing in all cases.
In struct tcpopt rename to_requested_s_scale to just to_wscale.
Add a comment with quote from RFC1323: "The Window field in a SYN (i.e.,
a <SYN> or <SYN,ACK>) segment itself is never scaled."
Reviewed by: silby, mohans, julian
Sponsored by: TCP/IP Optimization Fundraise 2005
Revision Changes Path
1.35 +5 -2 src/sys/netinet/tcp.h
1.317 +2 -2 src/sys/netinet/tcp_input.c
1.126 +199 -146 src/sys/netinet/tcp_output.c
1.105 +43 -75 src/sys/netinet/tcp_syncache.c
1.140 +14 -8 src/sys/netinet/tcp_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703151559.l2FFxSG7088256>
