TCPCT part 1f: Initiator Cookie => Responder
authorWilliam Allen Simpson <william.allen.simpson@gmail.com>
Wed, 2 Dec 2009 18:23:05 +0000 (18:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 06:07:26 +0000 (22:07 -0800)
commitbd0388ae77075026d6a9f9eb6026dfd1d52ce0e9
treeb2262d2bf3f60e42f8c3573c89e6a47042b20122
parente56fb50f2b7958b931c8a2fc0966061b3f3c8f3a
TCPCT part 1f: Initiator Cookie => Responder

Calculate and format <SYN> TCP_COOKIE option.

This is a significantly revised implementation of an earlier (year-old)
patch that no longer applies cleanly, with permission of the original
author (Adam Langley):

    http://thread.gmane.org/gmane.linux.network/102586

Requires:
   TCPCT part 1c: sysctl_tcp_cookie_size, socket option TCP_COOKIE_TRANSACTIONS
   TCPCT part 1d: define TCP cookie option, extend existing struct's

Signed-off-by: William.Allen.Simpson@gmail.com
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c