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
This commit is contained in:
rwatson 2002-01-30 21:37:32 +00:00
parent 816c4086cb
commit 4eceacaab6

View File

@ -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 */