Searched refs:eapol_sm (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/contrib/wpa/src/eapol_supp/
H A Deapol_supp_sm.h64 struct eapol_sm;
95 void (*cb)(struct eapol_sm *eapol, int success, void *ctx);
229 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx);
230 void eapol_sm_deinit(struct eapol_sm *sm);
231 void eapol_sm_step(struct eapol_sm *sm);
232 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
234 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
235 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
237 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
239 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *s
[all...]
H A Deapol_supp_sm.c27 #define STATE_MACHINE_DATA struct eapol_sm
34 * struct eapol_sm - Internal data for EAPOL state machines
36 struct eapol_sm { struct
188 static void eapol_sm_txLogoff(struct eapol_sm *sm);
189 static void eapol_sm_txStart(struct eapol_sm *sm);
190 static void eapol_sm_processKey(struct eapol_sm *sm);
191 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
192 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
193 static void eapol_sm_abortSupp(struct eapol_sm *sm);
194 static void eapol_sm_abort_cached(struct eapol_sm *s
[all...]
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dieee802_1x.c127 struct eapol_state_machine *sm = sta->eapol_sm;
191 if (sta->eapol_sm)
192 sta->eapol_sm->dot1xAuthEapolFramesTx++;
298 struct eapol_state_machine *sm = sta->eapol_sm;
426 struct eapol_state_machine *sm = sta->eapol_sm;
566 struct eapol_state_machine *sm = sta->eapol_sm;
702 if (sta->eapol_sm)
703 sta->eapol_sm->dot1xAuthEapLengthErrorFramesRx++;
712 if (sta->eapol_sm) {
713 sta->eapol_sm
[all...]
H A Dwpa_auth_glue.c136 ieee802_1x_notify_port_enabled(sta->eapol_sm, value);
139 ieee802_1x_notify_port_valid(sta->eapol_sm, value);
145 if (sta->eapol_sm)
146 sta->eapol_sm->portControl = Auto;
149 if (sta->eapol_sm)
150 sta->eapol_sm->keyRun = value ? TRUE : FALSE;
153 if (sta->eapol_sm)
154 sta->eapol_sm->eap_if->eapKeyAvailable =
158 if (sta->eapol_sm)
159 sta->eapol_sm
[all...]
H A Dpreauth_auth.c86 if (sta->eapol_sm == NULL) {
90 sta->eapol_sm->radius_identifier = -1;
91 sta->eapol_sm->portValid = TRUE;
92 sta->eapol_sm->flags |= EAPOL_SM_PREAUTH;
210 key = ieee802_1x_get_key(sta->eapol_sm, &len);
217 sta->eapol_sm) == 0) {
H A Dsta_info.h67 struct eapol_state_machine *eapol_sm; member in struct:sta_info
H A Daccounting.c84 val = ieee802_1x_get_identity(sta->eapol_sm, &len);
164 val = ieee802_1x_get_radius_class(sta->eapol_sm, &len,
H A Ddrv_callbacks.c156 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1);
181 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
H A Dauthsrv.c38 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0)
H A Dsta_info.c350 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
462 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
H A Dwps_hostapd.c876 if (sta->eapol_sm && (sta->flags & WLAN_STA_WPS))
895 return eapol_auth_eap_pending_cb(sta->eapol_sm, sta->eapol_sm->eap);
H A Dieee802_11.c432 ieee802_1x_notify_pre_auth(sta->eapol_sm, 0);
1071 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
1123 ieee802_1x_notify_port_enabled(sta->eapol_sm, 0);
1603 if (sta->eapol_sm == NULL) {
1625 ieee802_1x_notify_port_enabled(sta->eapol_sm, 1);
/freebsd-9.3-release/contrib/wpa/src/rsn_supp/
H A Dwpa.h23 struct eapol_sm;
100 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol);
179 static inline void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol)
H A Dwpa_i.h38 struct eapol_sm *eapol; /* EAPOL state machine from upper level code */
49 struct eapol_sm *preauth_eapol;
H A Dpreauth.c80 static void rsn_preauth_eapol_cb(struct eapol_sm *eapol, int success,
H A Dwpa.c2232 void wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol)
/freebsd-9.3-release/contrib/wpa/hostapd/
H A Ddump_state.c41 struct eapol_state_machine *sm = sta->eapol_sm;
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dwpa_supplicant_i.h363 struct eapol_sm *eapol;
H A Dwpas_glue.c226 static void wpa_supplicant_eapol_cb(struct eapol_sm *eapol, int success,
H A Deapol_test.c371 static void eapol_sm_cb(struct eapol_sm *eapol, int success, void *ctx)
593 /* sta->eapol_sm->be_auth.idFromServer = hdr->identifier; */

Completed in 278 milliseconds