wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ieee802_11_auth.h
Go to the documentation of this file.
1 
5 #ifndef IEEE802_11_AUTH_H
6 #define IEEE802_11_AUTH_H
7 
8 enum {
9  HOSTAPD_ACL_REJECT = 0,
10  HOSTAPD_ACL_ACCEPT = 1,
11  HOSTAPD_ACL_PENDING = 2,
12  HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
13 };
14 
15 int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
16  const u8 *msg, size_t len, u32 *session_timeout,
17  u32 *acct_interim_interval, int *vlan_id,
18  struct hostapd_sta_wpa_psk_short **psk,
19  char **identity, char **radius_cui);
20 int hostapd_acl_init(struct hostapd_data *hapd);
21 void hostapd_acl_deinit(struct hostapd_data *hapd);
22 void hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk);
23 void hostapd_acl_expire(struct hostapd_data *hapd);
24 
25 #endif /* IEEE802_11_AUTH_H */
void hostapd_acl_deinit(struct hostapd_data *hapd)
Deinitialize IEEE 802.11 ACL.
Definition: ieee802_11_auth.c:620
int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui)
Check whether a specified STA can be authenticated.
Definition: ieee802_11_auth.c:228
Definition: ap_config.h:124
void hostapd_acl_expire(struct hostapd_data *hapd)
ACL cache expiration callback.
Definition: ieee802_11_auth.c:400
int hostapd_acl_init(struct hostapd_data *hapd)
hostapd_acl_init: Initialize IEEE 802.11 ACL
Definition: ieee802_11_auth.c:604
hostapd per-BSS data structure
Definition: hostapd.h:103