diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-01-30 21:37:32 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-01-30 21:37:32 +0000 |
commit | 4eceacaab669b1a05d2fc2911ac4b352db470ba8 (patch) | |
tree | c420a8ff78fa75f3a464beea2fab702533fb738d | |
parent | 816c4086cbc6cb485bed86423162d0c160ffe2bb (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/sys/sockio.h | 2 |
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 */ |