Lines Matching full:eapol_sm
64 struct eapol_sm;
95 void (*cb)(struct eapol_sm *eapol, int success, void *ctx);
206 struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx);
207 void eapol_sm_deinit(struct eapol_sm *sm);
208 void eapol_sm_step(struct eapol_sm *sm);
209 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
211 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
212 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
214 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
216 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
217 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled);
218 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid);
219 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success);
220 void eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail);
221 void eapol_sm_notify_config(struct eapol_sm *sm, struct wpa_ssid *config,
223 int eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len);
224 void eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff);
225 void eapol_sm_notify_cached(struct eapol_sm *sm);
226 void eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm, int attempt);
227 void eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx);
228 void eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl);
229 void eapol_sm_notify_ctrl_attached(struct eapol_sm *sm);
230 void eapol_sm_notify_ctrl_response(struct eapol_sm *sm);
231 void eapol_sm_request_reauth(struct eapol_sm *sm);
232 void eapol_sm_notify_lower_layer_success(struct eapol_sm *sm);
233 void eapol_sm_invalidate_cached_session(struct eapol_sm *sm);
235 static inline struct eapol_sm *eapol_sm_init(struct eapol_ctx *ctx)
238 return (struct eapol_sm *) 1;
240 static inline void eapol_sm_deinit(struct eapol_sm *sm)
243 static inline void eapol_sm_step(struct eapol_sm *sm)
246 static inline int eapol_sm_get_status(struct eapol_sm *sm, char *buf,
251 static inline int eapol_sm_get_mib(struct eapol_sm *sm, char *buf,
256 static inline void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod,
261 static inline int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src,
266 static inline void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm)
269 static inline void eapol_sm_notify_portEnabled(struct eapol_sm *sm,
273 static inline void eapol_sm_notify_portValid(struct eapol_sm *sm,
277 static inline void eapol_sm_notify_eap_success(struct eapol_sm *sm,
281 static inline void eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail)
284 static inline void eapol_sm_notify_config(struct eapol_sm *sm,
289 static inline int eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len)
293 static inline void eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff)
296 static inline void eapol_sm_notify_cached(struct eapol_sm *sm)
301 static inline void eapol_sm_notify_portControl(struct eapol_sm *sm,
305 static inline void eapol_sm_notify_ctrl_attached(struct eapol_sm *sm)
308 static inline void eapol_sm_notify_ctrl_response(struct eapol_sm *sm)
311 static inline void eapol_sm_request_reauth(struct eapol_sm *sm)
314 static inline void eapol_sm_notify_lower_layer_success(struct eapol_sm *sm)
317 static inline void eapol_sm_invalidate_cached_session(struct eapol_sm *sm)