diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-23 03:40:47 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-23 03:40:47 +0000 |
commit | 2450bdb69b00fa80c6300b0490ce491af643f642 (patch) | |
tree | ba267ac92126b0e7888935d05b9dc9213152f167 /sbin/ifconfig/ifconfig.h | |
parent | ca968176795f13707779953f73781557cb143f7d (diff) | |
download | FreeBSD-src-2450bdb69b00fa80c6300b0490ce491af643f642.zip FreeBSD-src-2450bdb69b00fa80c6300b0490ce491af643f642.tar.gz |
Teach ifconfig(8) how to print and set the MAC labels on network
interfaces using the 'mac' argument. Without MAC support in the
kernel, this does not change the behavior of ifconfig.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sbin/ifconfig/ifconfig.h')
-rw-r--r-- | sbin/ifconfig/ifconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h index f5c3325..c3eb6af 100644 --- a/sbin/ifconfig/ifconfig.h +++ b/sbin/ifconfig/ifconfig.h @@ -64,3 +64,5 @@ extern void set80211weptxkey(const char *, int, int, const struct afswtch *rafp) extern void set80211wepkey(const char *, int, int, const struct afswtch *rafp); extern void set80211nwkey(const char *, int, int, const struct afswtch *rafp); extern void ieee80211_status(int s, struct rt_addrinfo *); +extern void mac_status(int s, struct rt_addrinfo *); +extern void setifmac(const char *, int, int, const struct afswtch *rafp); |