summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-01-30 21:37:32 +0000
committerrwatson <rwatson@FreeBSD.org>2002-01-30 21:37:32 +0000
commit4eceacaab669b1a05d2fc2911ac4b352db470ba8 (patch)
treec420a8ff78fa75f3a464beea2fab702533fb738d /sys
parent816c4086cbc6cb485bed86423162d0c160ffe2bb (diff)
downloadFreeBSD-src-4eceacaab669b1a05d2fc2911ac4b352db470ba8.zip
FreeBSD-src-4eceacaab669b1a05d2fc2911ac4b352db470ba8.tar.gz
o Reserve two interface ioctl values, 38, and 38, for SIOCGIFMAC and
SIOCSIFMAC, which are for the Mandatory Access Control implementation. This will prevent collisions on the p4 development branch. Obtained from: TrustedBSD Project
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/sockio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h
index 2d1e2a9..b14f3b8 100644
--- a/sys/sys/sockio.h
+++ b/sys/sys/sockio.h
@@ -80,6 +80,8 @@
#define SIOCSIFCAP _IOW('i', 30, struct ifreq) /* set IF features */
#define SIOCGIFCAP _IOWR('i', 31, struct ifreq) /* get IF features */
#define SIOCGIFINDEX _IOWR('i', 32, struct ifreq) /* get IF index */
+#define SIOCGIFMAC _IOWR('i', 38, struct ifreq) /* get IF MAC label */
+#define SIOCSIFMAC _IOW('i', 39, struct ifreq) /* set IF MAC label */
#define SIOCADDMULTI _IOW('i', 49, struct ifreq) /* add m'cast addr */
#define SIOCDELMULTI _IOW('i', 50, struct ifreq) /* del m'cast addr */
OpenPOWER on IntegriCloud