summaryrefslogtreecommitdiff
path: root/sys/netinet/icmp_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/icmp_var.h
parent1de25cf61875f377333aa5a709a844f94c3e27f6 (diff)
switch to sysctl_int_arr(); ok itojun, henning, miod, deraadt
Diffstat (limited to 'sys/netinet/icmp_var.h')
-rw-r--r--sys/netinet/icmp_var.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/netinet/icmp_var.h b/sys/netinet/icmp_var.h
index a3a791c48db..b759744656a 100644
--- a/sys/netinet/icmp_var.h
+++ b/sys/netinet/icmp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp_var.h,v 1.11 2003/06/02 23:28:13 millert Exp $ */
+/* $OpenBSD: icmp_var.h,v 1.12 2004/02/15 11:16:08 markus Exp $ */
/* $NetBSD: icmp_var.h,v 1.8 1995/03/26 20:32:19 jtc Exp $ */
/*
@@ -76,6 +76,16 @@ struct icmpstat {
{ "tstamprepl", CTLTYPE_INT }, \
}
+#define ICMPCTL_VARS { \
+ NULL, \
+ &icmpmaskrepl, \
+ &icmpbmcastecho, \
+ &icmperrppslim, \
+ &icmp_rediraccept, \
+ NULL, \
+ &icmptstamprepl, \
+}
+
#ifdef _KERNEL
extern struct icmpstat icmpstat;
#endif /* _KERNEL */