[PATCH v8 7/7] TCPCT part 2g: parse cookie pair and 64-bit timestamp

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: William Allen Simpson
Date: Thursday, March 11, 2010 - 6:06 am

Every bit is sacred.  Use as few bits as possible in tcp_options_received.
Group related timestamp flag bits for cache line memory efficiency.

Fix #define spacing for TCP options.

Define and parse 64-bit timestamp extended option (and minor cleanup).
However, only 32-bits are used at this time (permitted by specification).

Parse cookie pair extended option (previously defined).

Handle header extension.

Fix initialization in tcp_minisocks.

[updated to latest posted internet draft-simpson-tcpct-00]

Requires:
   net: tcp_header_len_th and tcp_option_len_th
   TCPCT part 2f: cleanup tcp_parse_options

Signed-off-by: William.Allen.Simpson@gmail.com
---
  include/linux/tcp.h      |   12 ++++-
  include/net/tcp.h        |   45 ++++++++--------
  net/ipv4/tcp_input.c     |  127 ++++++++++++++++++++++++++++++++++++++++++----
  net/ipv4/tcp_minisocks.c |    6 ++
  4 files changed, 155 insertions(+), 35 deletions(-)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/7] tcp: bugs and cleanup for 2.6.34-rc1, William Allen Simpson, (Thu Mar 11, 4:35 am)
[PATCH v3 1/7] net: tcp_header_len_th and tcp_option_len_th, William Allen Simpson, (Thu Mar 11, 4:41 am)
[PATCH v4 2/7] net: remove old tcp_optlen function, William Allen Simpson, (Thu Mar 11, 4:53 am)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, William Allen Simpson, (Thu Mar 11, 4:54 am)
[PATCH v6 3/7] tcp: harmonize tcp_vx_rcv header length ass ..., William Allen Simpson, (Thu Mar 11, 5:08 am)
[PATCH v6 4/7] tcp: input header length, prediction, and t ..., William Allen Simpson, (Thu Mar 11, 5:24 am)
[PATCH v3 5/7] TCPCT part 2e: accept SYNACK data, William Allen Simpson, (Thu Mar 11, 5:31 am)
[PATCH v6 6/7] TCPCT part 2f: cleanup tcp_parse_options, William Allen Simpson, (Thu Mar 11, 5:48 am)
[PATCH v8 7/7] TCPCT part 2g: parse cookie pair and 64-bit ..., William Allen Simpson, (Thu Mar 11, 6:06 am)
Re: [PATCH 0/7] tcp: bugs and cleanup for 2.6.34-rc1, Eric Dumazet, (Thu Mar 11, 8:01 am)
Re: [PATCH 0/7] tcp: bugs and cleanup for 2.6.34-rc1, William Allen Simpson, (Thu Mar 11, 10:38 am)
Re: [PATCH 0/7] tcp: bugs and cleanup for 2.6.34-rc1, Joe Perches, (Thu Mar 11, 11:14 am)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, Simon Horman, (Thu Mar 11, 5:26 pm)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, William Allen Simpson, (Fri Mar 12, 6:21 am)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, William Allen Simpson, (Fri Mar 12, 6:25 am)
Re: [PATCH 0/7] tcp: bugs and cleanup for 2.6.34-rc1, William Allen Simpson, (Fri Mar 12, 6:27 am)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, Dan Carpenter, (Fri Mar 12, 10:46 am)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, William Allen Simpson, (Fri Mar 12, 4:05 pm)
Re: [PATCH 0/7] tcp: bugs and cleanup for 2.6.34-rc1, =?utf-8?Q?Am=C3=A9ri ..., (Fri Mar 12, 10:29 pm)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, Eric Dumazet, (Sat Mar 13, 2:11 am)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, William Allen Simpson, (Sat Mar 13, 4:12 am)
Re: [PATCH v4 2/7] net: remove old tcp_optlen function, Eric Dumazet, (Sat Mar 13, 4:24 am)