summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-10-02 09:51:55 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-10-02 09:51:55 +0000
commit72848d18a1c539f961f9f8d2c65ace2b6ce42fef (patch)
tree6ec170f92b471f1abfe5e422249ef883abced6f6
parentc21eb31d84775ff83a381691d4e53088182c08b6 (diff)
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];