source: rtems-libbsd/freebsd/contrib/wpa/src/ap/ieee802_11_auth.h @ 9c9d11b

55-freebsd-126-freebsd-12
Last change on this file since 9c9d11b was 9c9d11b, checked in by Sichen Zhao <1473996754@…>, on 08/01/17 at 12:43:41

Import wpa from FreeBSD

  • Property mode set to 100644
File size: 904 bytes
Line 
1/*
2 * hostapd / IEEE 802.11 authentication (ACL)
3 * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#ifndef IEEE802_11_AUTH_H
10#define IEEE802_11_AUTH_H
11
12enum {
13        HOSTAPD_ACL_REJECT = 0,
14        HOSTAPD_ACL_ACCEPT = 1,
15        HOSTAPD_ACL_PENDING = 2,
16        HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
17};
18
19int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
20                            const u8 *msg, size_t len, u32 *session_timeout,
21                            u32 *acct_interim_interval, int *vlan_id,
22                            struct hostapd_sta_wpa_psk_short **psk,
23                            char **identity, char **radius_cui);
24int hostapd_acl_init(struct hostapd_data *hapd);
25void hostapd_acl_deinit(struct hostapd_data *hapd);
26void hostapd_free_psk_list(struct hostapd_sta_wpa_psk_short *psk);
27void hostapd_acl_expire(struct hostapd_data *hapd);
28
29#endif /* IEEE802_11_AUTH_H */
Note: See TracBrowser for help on using the repository browser.