summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_ioctl.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-08-13 17:31:48 +0000
committersam <sam@FreeBSD.org>2005-08-13 17:31:48 +0000
commit8449b25a22300e0bf7d5c95bb9d238ebbeb2996f (patch)
treef0d9a9b4254830aeaf4b80f482f49834bcdafc54 /sys/net80211/ieee80211_ioctl.h
parent15d7ec1545d80050592625217668f88499e9ac97 (diff)
downloadFreeBSD-src-8449b25a22300e0bf7d5c95bb9d238ebbeb2996f.zip
FreeBSD-src-8449b25a22300e0bf7d5c95bb9d238ebbeb2996f.tar.gz
Extend acl support to pass ioctl requests through and use this to
add support for getting the current policy setting and collecting the list of mac addresses in the acl table. Submitted by: Michal Mertl (original version) MFC after: 2 weeks
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.h')
-rw-r--r--sys/net80211/ieee80211_ioctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h
index 83ff118..8c3b2ab 100644
--- a/sys/net80211/ieee80211_ioctl.h
+++ b/sys/net80211/ieee80211_ioctl.h
@@ -252,6 +252,12 @@ enum {
IEEE80211_MACCMD_POLICY_DENY = 2, /* set policy: deny traffic */
IEEE80211_MACCMD_FLUSH = 3, /* flush ACL database */
IEEE80211_MACCMD_DETACH = 4, /* detach ACL policy */
+ IEEE80211_MACCMD_POLICY = 5, /* get ACL policy */
+ IEEE80211_MACCMD_LIST = 6, /* get ACL database */
+};
+
+struct ieee80211req_maclist {
+ u_int8_t ml_macaddr[IEEE80211_ADDR_LEN];
};
/*
OpenPOWER on IntegriCloud