summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>1998-09-03 13:00:03 +0000
committerjason <jason@openbsd.org>1998-09-03 13:00:03 +0000
commit088869afd99d07e37d92f1057edb7b3711627c5d (patch)
tree5a318bff52a10c821b5a0cbbad1ae71ab010edee
parentlibpthread tests modified for uthreads (diff)
downloadwireguard-openbsd-088869afd99d07e37d92f1057edb7b3711627c5d.tar.xz
wireguard-openbsd-088869afd99d07e37d92f1057edb7b3711627c5d.zip
Missed from if_media: add SIOC{G,S}IFMEDIA
-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 f59dc4c096c..057c29bab79 100644
--- a/sys/sys/sockio.h
+++ b/sys/sys/sockio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sockio.h,v 1.3 1998/03/25 07:37:26 deraadt Exp $ */
+/* $OpenBSD: sockio.h,v 1.4 1998/09/03 13:00:03 jason Exp $ */
/* $NetBSD: sockio.h,v 1.5 1995/08/23 00:40:47 thorpej Exp $ */
/*-
@@ -80,6 +80,9 @@
#define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req)/* vif pkt cnt */
#define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) /* sg pkt cnt */
+#define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) /* set net media */
+#define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) /* get net media */
+
#define SIOCSIFMTU _IOW('i', 127, struct ifreq) /* set ifnet mtu */
#define SIOCGIFMTU _IOWR('i', 126, struct ifreq) /* get ifnet mtu */
#define SIOCSIFASYNCMAP _IOW('i', 125, struct ifreq) /* set ppp asyncmap */