]>
Commit | Line | Data |
---|---|---|
6fc6879b JM |
1 | /* |
2 | * hostapd / IEEE 802.11 authentication (ACL) | |
3 | * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi> | |
4 | * | |
0f3d578e JM |
5 | * This software may be distributed under the terms of the BSD license. |
6 | * See README for more details. | |
6fc6879b JM |
7 | */ |
8 | ||
9 | #ifndef IEEE802_11_AUTH_H | |
10 | #define IEEE802_11_AUTH_H | |
11 | ||
12 | enum { | |
13 | HOSTAPD_ACL_REJECT = 0, | |
14 | HOSTAPD_ACL_ACCEPT = 1, | |
15 | HOSTAPD_ACL_PENDING = 2, | |
16 | HOSTAPD_ACL_ACCEPT_TIMEOUT = 3 | |
17 | }; | |
18 | ||
19 | int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr, | |
20 | const u8 *msg, size_t len, u32 *session_timeout, | |
05ab9712 MB |
21 | u32 *acct_interim_interval, int *vlan_id, |
22 | u8 *psk, int *has_psk); | |
6fc6879b JM |
23 | int hostapd_acl_init(struct hostapd_data *hapd); |
24 | void hostapd_acl_deinit(struct hostapd_data *hapd); | |
6fc6879b JM |
25 | |
26 | #endif /* IEEE802_11_AUTH_H */ |