summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-01-29 11:55:29 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-01-29 11:55:29 +0000
commitbc1e4fe69bfb558a4402368d49843230a8010975 (patch)
tree099b8b8a7f5211b3a7c4b0b69264e9b7c645e281 /sys/netinet/tcp_var.h
parent25b87aeef769aecb8d1c002d6666cdf56afbf1d0 (diff)
support for RFC3390 (Increasing TCP's Initial Window); ok deraadt, itojun
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 22a448336eb..3a2eb273114 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_var.h,v 1.55 2004/01/14 13:38:21 markus Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.56 2004/01/29 11:55:28 markus Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
@@ -434,7 +434,8 @@ struct tcpstat {
#define TCPCTL_ECN 14 /* RFC3168 ECN */
#define TCPCTL_SYN_CACHE_LIMIT 15 /* max size of comp. state engine */
#define TCPCTL_SYN_BUCKET_LIMIT 16 /* max size of hash bucket */
-#define TCPCTL_MAXID 17
+#define TCPCTL_RFC3390 17 /* enable/disable RFC3390 increased cwnd */
+#define TCPCTL_MAXID 18
#define TCPCTL_NAMES { \
{ 0, 0 }, \
@@ -454,6 +455,7 @@ struct tcpstat {
{ "ecn", CTLTYPE_INT }, \
{ "syncachelimit", CTLTYPE_INT }, \
{ "synbucketlimit", CTLTYPE_INT }, \
+ { "rfc3390", CTLTYPE_INT }, \
}
struct tcp_ident_mapping {
@@ -473,6 +475,7 @@ extern int tcp_do_sack; /* SACK enabled/disabled */
extern struct pool sackhl_pool;
#endif
extern int tcp_do_ecn; /* RFC3168 ECN enabled/disabled? */
+extern int tcp_do_rfc3390; /* RFC3390 Increasing TCP's Initial Window */
extern int tcp_syn_cache_limit; /* max entries for compressed state engine */
extern int tcp_syn_bucket_limit;/* max entries per hash bucket */