syncookies: avoid magic values and document which-bit-is-what-option
authorFlorian Westphal <fw@strlen.de>
Mon, 3 Nov 2014 16:35:01 +0000 (17:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2014 21:06:08 +0000 (16:06 -0500)
Was a bit more difficult to read than needed due to magic shifts;
add defines and document the used encoding scheme.

Joint work with Daniel Borkmann.

Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/syncookies.c

Simple merge