summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-10-02 09:51:54 +0000
committertedu <tedu@openbsd.org>2015-10-02 09:51:54 +0000
commit48aeacb37ef728fc754549d21320fa18529d2048 (patch)
treee2558dd6c1058121f82a0e7274ca5b4b9f74c7e8
parentuse macros for cookie path and temp file template instead (diff)
downloadwireguard-openbsd-48aeacb37ef728fc754549d21320fa18529d2048.tar.xz
wireguard-openbsd-48aeacb37ef728fc754549d21320fa18529d2048.zip
add a comment above the rfc1948 code that mentions the rfc so it's easy to find
-rw-r--r--sys/netinet/tcp_subr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index b469c02d099..52744c32012 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.148 2015/09/11 08:17:06 claudio Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.149 2015/10/02 09:51:54 tedu Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -933,6 +933,9 @@ tcp_mtudisc_increase(inp, errno)
}
}
+/*
+ * Generate new ISNs with a method based on RFC1948
+ */
#define TCP_ISS_CONN_INC 4096
int tcp_secret_init;
u_char tcp_secret[16];