ieee802_11_auth.h
Go to the documentation of this file.
00001 /*
00002  * hostapd / IEEE 802.11 authentication (ACL)
00003  * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2 as
00007  * published by the Free Software Foundation.
00008  *
00009  * Alternatively, this software may be distributed under the terms of BSD
00010  * license.
00011  *
00012  * See README and COPYING for more details.
00013  */
00014 
00015 #ifndef IEEE802_11_AUTH_H
00016 #define IEEE802_11_AUTH_H
00017 
00018 enum {
00019         HOSTAPD_ACL_REJECT = 0,
00020         HOSTAPD_ACL_ACCEPT = 1,
00021         HOSTAPD_ACL_PENDING = 2,
00022         HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
00023 };
00024 
00025 int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
00026                             const u8 *msg, size_t len, u32 *session_timeout,
00027                             u32 *acct_interim_interval, int *vlan_id);
00028 int hostapd_acl_init(struct hostapd_data *hapd);
00029 void hostapd_acl_deinit(struct hostapd_data *hapd);
00030 
00031 #endif /* IEEE802_11_AUTH_H */


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:35