ieee802_11_auth.h
Go to the documentation of this file.00001
00016 #ifndef IEEE802_11_AUTH_H
00017 #define IEEE802_11_AUTH_H
00018
00019 enum {
00020 HOSTAPD_ACL_REJECT = 0,
00021 HOSTAPD_ACL_ACCEPT = 1,
00022 HOSTAPD_ACL_PENDING = 2,
00023 HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
00024 };
00025
00026 int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
00027 const u8 *msg, size_t len, u32 *session_timeout,
00028 u32 *acct_interim_interval, int *vlan_id);
00029 int hostapd_acl_init(struct hostapd_data *hapd);
00030 void hostapd_acl_deinit(struct hostapd_data *hapd);
00031 int hostapd_acl_reconfig(struct hostapd_data *hapd,
00032 struct hostapd_config *oldconf);
00033
00034 #endif
00035