summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2000-04-26 18:37:38 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2000-04-26 18:37:38 +0000
commit0b449cf25e5c971a96af9d976d00600d8c20db33 (patch)
treeeda951f7953dc69f0c17d8fee679929cb988c79e /sys
parentab63644bca0473543e1e6d26011978c17c007f04 (diff)
SIOCSIFGENERIC/SIOCGIFGENERIC
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/sockio.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h
index d4a3721aa76..a5b269608a2 100644
--- a/sys/sys/sockio.h
+++ b/sys/sys/sockio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sockio.h,v 1.15 2000/01/25 22:06:28 jason Exp $ */
+/* $OpenBSD: sockio.h,v 1.16 2000/04/26 18:37:37 chris Exp $ */
/* $NetBSD: sockio.h,v 1.5 1995/08/23 00:40:47 thorpej Exp $ */
/*-
@@ -89,6 +89,9 @@
#define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) /* set net media */
#define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) /* get net media */
+#define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) /* generic IF set op */
+#define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) /* generic IF get op */
+
#define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) /* set gif addres */
#define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) /* get gif psrc addr */
#define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) /* get gif pdst addr */