Home | History | Annotate | Download | only in eapol_supp

Lines Matching refs:eapol_sm

70 struct eapol_sm;
107 void (*cb)(struct eapol_sm *eapol, enum eapol_supp_result result,
304 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx);
305 void eapol_sm_deinit(struct eapol_sm *sm);
306 void eapol_sm_step(struct eapol_sm *sm);
307 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
309 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
310 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
312 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
314 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
315 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled);
316 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid);
317 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success);
318 void eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail);
319 void eapol_sm_notify_config(struct eapol_sm *sm,
322 int eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len);
323 const u8 * eapol_sm_get_session_id(struct eapol_sm *sm, size_t *len);
324 void eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff);
325 void eapol_sm_notify_cached(struct eapol_sm *sm);
326 void eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm);
327 void eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx);
328 void eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl);
329 void eapol_sm_notify_ctrl_attached(struct eapol_sm *sm);
330 void eapol_sm_notify_ctrl_response(struct eapol_sm *sm);
331 void eapol_sm_request_reauth(struct eapol_sm *sm);
332 void eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm);
333 void eapol_sm_invalidate_cached_session(struct eapol_sm *sm);
334 const char * eapol_sm_get_method_name(struct eapol_sm *sm);
335 void eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm,
337 int eapol_sm_failed(struct eapol_sm *sm);
338 void eapol_sm_erp_flush(struct eapol_sm *sm);
339 struct wpabuf * eapol_sm_build_erp_reauth_start(struct eapol_sm *sm);
340 void eapol_sm_process_erp_finish(struct eapol_sm *sm, const u8 *buf,
342 int eapol_sm_get_eap_proxy_imsi(struct eapol_sm *sm, char *imsi, size_t *len);
344 static inline struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx)
347 return (struct eapol_sm *) 1;
349 static inline void eapol_sm_deinit(struct eapol_sm *sm)
352 static inline void eapol_sm_step(struct eapol_sm *sm)
355 static inline int eapol_sm_get_status(struct eapol_sm *sm, char *buf,
360 static inline int eapol_sm_get_mib(struct eapol_sm *sm, char *buf,
365 static inline void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod,
370 static inline int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src,
375 static inline void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm)
378 static inline void eapol_sm_notify_portEnabled(struct eapol_sm *sm,
382 static inline void eapol_sm_notify_portValid(struct eapol_sm *sm,
386 static inline void eapol_sm_notify_eap_success(struct eapol_sm *sm,
390 static inline void eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail)
393 static inline void eapol_sm_notify_config(struct eapol_sm *sm,
398 static inline int eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len)
403 eapol_sm_get_session_id(struct eapol_sm *sm, size_t *len)
407 static inline void eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff)
410 static inline void eapol_sm_notify_cached(struct eapol_sm *sm)
413 static inline void eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm)
417 static inline void eapol_sm_notify_portControl(struct eapol_sm *sm,
421 static inline void eapol_sm_notify_ctrl_attached(struct eapol_sm *sm)
424 static inline void eapol_sm_notify_ctrl_response(struct eapol_sm *sm)
427 static inline void eapol_sm_request_reauth(struct eapol_sm *sm)
430 static inline void eapol_sm_notify_lower_layer_success(struct eapol_sm *sm,
434 static inline void eapol_sm_invalidate_cached_session(struct eapol_sm *sm)
437 static inline const char * eapol_sm_get_method_name(struct eapol_sm *sm)
441 static inline void eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm,
445 static inline int eapol_sm_failed(struct eapol_sm *sm)
449 static inline void eapol_sm_erp_flush(struct eapol_sm *sm)
453 eapol_sm_build_erp_reauth_start(struct eapol_sm *sm)
457 static inline void eapol_sm_process_erp_finish(struct eapol_sm *sm,