net: syncookies: export cookie_v4_init_sequence/cookie_v4_check
authorPatrick McHardy <kaber@trash.net>
Tue, 27 Aug 2013 06:50:13 +0000 (08:50 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 27 Aug 2013 22:27:44 +0000 (00:27 +0200)
commit0198230b7705eb2386e53778d944e307eef0cc71
tree0f1a970873df8a3dd3c1111020b6555e8f8d0518
parent41d73ec053d2424599c4ed8452b889374d523ade
net: syncookies: export cookie_v4_init_sequence/cookie_v4_check

Extract the local TCP stack independant parts of tcp_v4_init_sequence()
and cookie_v4_check() and export them for use by the upcoming SYNPROXY
target.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: David S. Miller <davem@davemloft.net>
Tested-by: Martin Topholm <mph@one.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/tcp.h
net/ipv4/syncookies.c