net: syncookies: export cookie_v6_init_sequence/cookie_v6_check
authorPatrick McHardy <kaber@trash.net>
Tue, 27 Aug 2013 06:50:15 +0000 (08:50 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 27 Aug 2013 22:28:04 +0000 (00:28 +0200)
commit81eb6a1487718a89621a0e0be7fafd0cd7c429a4
tree05c8e0e54aa0c9739b5b7cd46d29d5385cb1ede0
parent48b1de4c110a7afa4b85862f6c75af817db26fad
net: syncookies: export cookie_v6_init_sequence/cookie_v6_check

Extract the local TCP stack independant parts of tcp_v6_init_sequence()
and cookie_v6_check() and export them for use by the upcoming IPv6 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/ipv6/syncookies.c