aboutsummaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-05-02 20:48:34 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-05-02 20:48:34 +0000
commit9f6334c28eb632398a56d5f9e225314bd140ad8c (patch)
tree0f209370077e45b198ae7ee8dca52b425c512f8f /sys/netinet/tcp_var.h
parent7dd514fcc69b095bcf4239f84238f37f6047f8ba (diff)
downloadsrc-9f6334c28eb632398a56d5f9e225314bd140ad8c.tar.gz
src-9f6334c28eb632398a56d5f9e225314bd140ad8c.zip
MFC: Better TCP ISN randomization
Notes
Notes: svn path=/stable/3/; revision=76218
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index c2ff37d49b21..452d4a86fd51 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -365,6 +365,10 @@ void tcp_trace __P((int, int, struct tcpcb *, struct tcpiphdr *, int));
extern struct pr_usrreqs tcp_usrreqs;
extern u_long tcp_sendspace;
extern u_long tcp_recvspace;
+void tcp_rndiss_init __P((void));
+tcp_seq tcp_rndiss_next __P((void));
+u_int16_t
+ tcp_rndiss_encrypt __P((u_int16_t));
#endif /* KERNEL */