diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-09-03 13:00:04 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-09-03 13:00:04 +0000 |
commit | 299425510f015c54d5b5fd3bfd82d813d628ea62 (patch) | |
tree | 0c5f23914766cb2f276dfadd2628386a318de6e6 /sys | |
parent | 19238dc05c5b501a685537b1fcb0b54f9d8bdf5a (diff) |
Missed from if_media: add SIOC{G,S}IFMEDIA
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/sockio.h | 5 |
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 */ |