summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-10-23 03:40:47 +0000
committerrwatson <rwatson@FreeBSD.org>2002-10-23 03:40:47 +0000
commit2450bdb69b00fa80c6300b0490ce491af643f642 (patch)
treeba267ac92126b0e7888935d05b9dc9213152f167 /sbin/ifconfig/ifconfig.h
parentca968176795f13707779953f73781557cb143f7d (diff)
downloadFreeBSD-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.h2
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);
OpenPOWER on IntegriCloud