1 /*
2  * hostapd / IEEE 802.1X-2004 Authenticator
3  * Copyright (c) 2002-2012, 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_1X_H
10 #define IEEE802_1X_H
11 
12 struct hostapd_data;
13 struct sta_info;
14 struct eapol_state_machine;
15 struct hostapd_config;
16 struct hostapd_bss_config;
17 struct hostapd_radius_attr;
18 struct radius_msg;
19 
20 void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
21 			size_t len);
22 
23 void ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta);
24 int ieee802_1x_init(struct hostapd_data *hapd);
25 struct eapol_state_machine *
26 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta);
27 
28 #endif /* IEEE802_1X_H */
29