summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-02-15 11:16:09 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-02-15 11:16:09 +0000
commit9af28b7ef8fcb82425389802b33fbb5d219d5bfa (patch)
tree788d8b71f7760ef08a3dd2762ae90f9eb83dfd9e /sys/netinet/tcp_var.h
parent1de25cf61875f377333aa5a709a844f94c3e27f6 (diff)
switch to sysctl_int_arr(); ok itojun, henning, miod, deraadt
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index b9639558ae3..6b3306026bc 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_var.h,v 1.57 2004/01/31 19:40:10 markus Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.58 2004/02/15 11:16:08 markus Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
@@ -458,6 +458,27 @@ struct tcpstat {
{ "rfc3390", CTLTYPE_INT }, \
}
+#define TCPCTL_VARS { \
+ NULL, \
+ &tcp_do_rfc1323, \
+ &tcptv_keep_init, \
+ &tcp_keepidle, \
+ &tcp_keepintvl, \
+ NULL, \
+ NULL, \
+ &tcp_recvspace, \
+ &tcp_sendspace, \
+ NULL, \
+ NULL, \
+ &tcp_mssdflt, \
+ &tcp_rst_ppslim, \
+ &tcp_ack_on_push, \
+ NULL, \
+ &tcp_syn_cache_limit, \
+ &tcp_syn_bucket_limit, \
+ &tcp_do_rfc3390 \
+}
+
struct tcp_ident_mapping {
struct sockaddr_storage faddr, laddr;
int euid, ruid;