summaryrefslogtreecommitdiffstats
path: root/contrib/hostapd/ieee802_11_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hostapd/ieee802_11_auth.h')
-rw-r--r--contrib/hostapd/ieee802_11_auth.h25
1 files changed, 21 insertions, 4 deletions
diff --git a/contrib/hostapd/ieee802_11_auth.h b/contrib/hostapd/ieee802_11_auth.h
index 90adc8f..0eed825 100644
--- a/contrib/hostapd/ieee802_11_auth.h
+++ b/contrib/hostapd/ieee802_11_auth.h
@@ -1,3 +1,17 @@
+/*
+ * hostapd / IEEE 802.11 authentication (ACL)
+ * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
#ifndef IEEE802_11_AUTH_H
#define IEEE802_11_AUTH_H
@@ -8,9 +22,12 @@ enum {
HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
};
-int hostapd_allowed_address(hostapd *hapd, u8 *addr, u8 *msg, size_t len,
- u32 *session_timeout, u32 *acct_interim_interval);
-int hostapd_acl_init(hostapd *hapd);
-void hostapd_acl_deinit(hostapd *hapd);
+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);
+int hostapd_acl_init(struct hostapd_data *hapd);
+void hostapd_acl_deinit(struct hostapd_data *hapd);
+int hostapd_acl_reconfig(struct hostapd_data *hapd,
+ struct hostapd_config *oldconf);
#endif /* IEEE802_11_AUTH_H */
OpenPOWER on IntegriCloud