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 modify00006 * it under the terms of the GNU General Public License version 2 as00007 * published by the Free Software Foundation.00008 *00009 * Alternatively, this software may be distributed under the terms of BSD00010 * license.00011 *00012 * See README and COPYING for more details.00013 */00014
00015 #ifndef IEEE802_11_AUTH_H00016 #define IEEE802_11_AUTH_H00017
00018 enum {
00019HOSTAPD_ACL_REJECT = 0,
00020HOSTAPD_ACL_ACCEPT = 1,
00021HOSTAPD_ACL_PENDING = 2,
00022HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
00023 };
00024
00025 inthostapd_allowed_address(structhostapd_data *hapd, constu8 *addr,
00026 constu8 *msg, size_t len, u32 *session_timeout,
00027 u32 *acct_interim_interval, int *vlan_id);
00028 inthostapd_acl_init(structhostapd_data *hapd);
00029 voidhostapd_acl_deinit(structhostapd_data *hapd);
00030
00031 #endif /* IEEE802_11_AUTH_H */