cvs commit: src/sys/netinet tcp.h tcp_input.c tcp_output.c tcp_syncache.c tcp_var.h

Andre Oppermann andre at
Thu Mar 15 15:59:29 UTC 2007

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 
  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

More information about the cvs-src mailing list