Prev: [PATCH v4 4/7] tcp: input header length, prediction, and timestamp bugs
Next: [PATCH v5 6/7] TCPCT part 2f: cleanup tcp_parse_options
From: William Allen Simpson on 15 Feb 2010 07:50 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. Requires: net: tcp_header_len_th and tcp_option_len_th TCPCT part 2f: cleanup tcp_parse_options Signed-off-by: William.Allen.Simpson(a)gmail.com --- include/linux/tcp.h | 12 ++++- include/net/tcp.h | 45 +++++++++-------- net/ipv4/tcp_input.c | 123 ++++++++++++++++++++++++++++++++++++++++++---- net/ipv4/tcp_minisocks.c | 6 ++ 4 files changed, 152 insertions(+), 34 deletions(-) |