summaryrefslogtreecommitdiff
path: root/sys/net/pipex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/pipex.h')
-rw-r--r--sys/net/pipex.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/net/pipex.h b/sys/net/pipex.h
index 197a34bfe7a..f2b9839c528 100644
--- a/sys/net/pipex.h
+++ b/sys/net/pipex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex.h,v 1.16 2012/12/05 23:20:23 deraadt Exp $ */
+/* $OpenBSD: pipex.h,v 1.17 2013/06/08 14:24:38 yasuoka Exp $ */
/*
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -33,17 +33,15 @@
* Names for pipex sysctl objects
*/
#define PIPEXCTL_ENABLE 1
-#define PIPEXCTL_MAXID 2
+#define PIPEXCTL_INQ 2
+#define PIPEXCTL_OUTQ 3
+#define PIPEXCTL_MAXID 4
#define PIPEXCTL_NAMES { \
{ 0, 0 }, \
{ "enable", CTLTYPE_INT }, \
-}
-
-#define PIPEXCTL_VARS { \
- NULL, \
- &pipex_enable \
- NULL \
+ { "inq", CTLTYPE_NODE }, \
+ { "outq", CTLTYPE_NODE }, \
}
#define PIPEX_PROTO_L2TP 1 /* protocol L2TP */