Lines Matching defs:sm

309 void eapol_sm_deinit(struct eapol_sm *sm);
310 void eapol_sm_step(struct eapol_sm *sm);
311 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
313 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
314 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
316 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
318 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
319 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled);
320 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid);
321 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success);
322 void eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail);
323 void eapol_sm_notify_config(struct eapol_sm *sm,
326 int eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len);
327 const u8 * eapol_sm_get_session_id(struct eapol_sm *sm, size_t *len);
328 void eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff);
329 void eapol_sm_notify_cached(struct eapol_sm *sm);
330 void eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm);
331 void eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx);
332 void eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl);
333 void eapol_sm_notify_ctrl_attached(struct eapol_sm *sm);
334 void eapol_sm_notify_ctrl_response(struct eapol_sm *sm);
335 void eapol_sm_request_reauth(struct eapol_sm *sm);
336 void eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm);
337 void eapol_sm_invalidate_cached_session(struct eapol_sm *sm);
338 const char * eapol_sm_get_method_name(struct eapol_sm *sm);
339 void eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm,
341 int eapol_sm_failed(struct eapol_sm *sm);
342 void eapol_sm_erp_flush(struct eapol_sm *sm);
343 struct wpabuf * eapol_sm_build_erp_reauth_start(struct eapol_sm *sm);
344 void eapol_sm_process_erp_finish(struct eapol_sm *sm, const u8 *buf,
348 int eapol_sm_update_erp_next_seq_num(struct eapol_sm *sm, u16 next_seq_num);
349 int eapol_sm_get_erp_info(struct eapol_sm *sm, struct eap_peer_config *config,
361 static inline void eapol_sm_deinit(struct eapol_sm *sm)
364 static inline void eapol_sm_step(struct eapol_sm *sm)
367 static inline int eapol_sm_get_status(struct eapol_sm *sm, char *buf,
372 static inline int eapol_sm_get_mib(struct eapol_sm *sm, char *buf,
377 static inline void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod,
382 static inline int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src,
387 static inline void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm)
390 static inline void eapol_sm_notify_portEnabled(struct eapol_sm *sm,
394 static inline void eapol_sm_notify_portValid(struct eapol_sm *sm,
398 static inline void eapol_sm_notify_eap_success(struct eapol_sm *sm,
402 static inline void eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail)
405 static inline void eapol_sm_notify_config(struct eapol_sm *sm,
410 static inline int eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len)
415 eapol_sm_get_session_id(struct eapol_sm *sm, size_t *len)
419 static inline void eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff)
422 static inline void eapol_sm_notify_cached(struct eapol_sm *sm)
425 static inline void eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm)
428 #define eapol_sm_register_scard_ctx(sm, ctx) do { } while (0)
429 static inline void eapol_sm_notify_portControl(struct eapol_sm *sm,
433 static inline void eapol_sm_notify_ctrl_attached(struct eapol_sm *sm)
436 static inline void eapol_sm_notify_ctrl_response(struct eapol_sm *sm)
439 static inline void eapol_sm_request_reauth(struct eapol_sm *sm)
442 static inline void eapol_sm_notify_lower_layer_success(struct eapol_sm *sm,
446 static inline void eapol_sm_invalidate_cached_session(struct eapol_sm *sm)
449 static inline const char * eapol_sm_get_method_name(struct eapol_sm *sm)
453 static inline void eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm,
457 static inline int eapol_sm_failed(struct eapol_sm *sm)
461 static inline void eapol_sm_erp_flush(struct eapol_sm *sm)
465 eapol_sm_build_erp_reauth_start(struct eapol_sm *sm)
469 static inline void eapol_sm_process_erp_finish(struct eapol_sm *sm,
473 static inline int eapol_sm_update_erp_next_seq_num(struct eapol_sm *sm,
479 eapol_sm_get_erp_info(struct eapol_sm *sm, struct eap_peer_config *config,