#include "defs.h"
Include dependency graph for eapol_sm.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | EAPOL_REQUIRE_KEY_UNICAST BIT(0) |
#define | EAPOL_REQUIRE_KEY_BROADCAST BIT(1) |
Enumerations | |
enum | PortStatus { Unauthorized, Authorized } |
enum | PortControl { Auto, ForceUnauthorized, ForceAuthorized } |
Functions | |
eapol_sm * | eapol_sm_init (struct eapol_ctx *ctx) |
Initialize EAPOL state machine. | |
void | eapol_sm_deinit (struct eapol_sm *sm) |
Deinitialize EAPOL state machine. | |
void | eapol_sm_step (struct eapol_sm *sm) |
EAPOL state machine step function. | |
int | eapol_sm_get_status (struct eapol_sm *sm, char *buf, size_t buflen, int verbose) |
Get EAPOL state machine status. | |
int | eapol_sm_get_mib (struct eapol_sm *sm, char *buf, size_t buflen) |
Get EAPOL state machine MIBs. | |
void | eapol_sm_configure (struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) |
Set EAPOL variables. | |
int | eapol_sm_rx_eapol (struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) |
Process received EAPOL frames. | |
void | eapol_sm_notify_tx_eapol_key (struct eapol_sm *sm) |
Notification about transmitted EAPOL packet. | |
void | eapol_sm_notify_portEnabled (struct eapol_sm *sm, Boolean enabled) |
Notification about portEnabled change. | |
void | eapol_sm_notify_portValid (struct eapol_sm *sm, Boolean valid) |
Notification about portValid change. | |
void | eapol_sm_notify_eap_success (struct eapol_sm *sm, Boolean success) |
Notification of external EAP success trigger. | |
void | eapol_sm_notify_eap_fail (struct eapol_sm *sm, Boolean fail) |
Notification of external EAP failure trigger. | |
void | eapol_sm_notify_config (struct eapol_sm *sm, struct wpa_ssid *config, const struct eapol_config *conf) |
Notification of EAPOL configuration change. | |
int | eapol_sm_get_key (struct eapol_sm *sm, u8 *key, size_t len) |
Get master session key (MSK) from EAP. | |
void | eapol_sm_notify_logoff (struct eapol_sm *sm, Boolean logoff) |
Notification of logon/logoff commands. | |
void | eapol_sm_notify_cached (struct eapol_sm *sm) |
Notification of successful PMKSA caching. | |
void | eapol_sm_notify_pmkid_attempt (struct eapol_sm *sm, int attempt) |
Notification of PMKSA caching. | |
void | eapol_sm_register_scard_ctx (struct eapol_sm *sm, void *ctx) |
Notification of smart card context. | |
void | eapol_sm_notify_portControl (struct eapol_sm *sm, PortControl portControl) |
Notification of portControl changes. | |
void | eapol_sm_notify_ctrl_attached (struct eapol_sm *sm) |
Notification of attached monitor. | |
void | eapol_sm_notify_ctrl_response (struct eapol_sm *sm) |
Notification of received user input. | |
void | eapol_sm_request_reauth (struct eapol_sm *sm) |
Request reauthentication. | |
void | eapol_sm_notify_lower_layer_success (struct eapol_sm *sm) |
Notification of lower layer success. | |
void | eapol_sm_invalidate_cached_session (struct eapol_sm *sm) |
Mark cached EAP session data invalid. |
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file eapol_sm.h.
|
Set EAPOL variables.
Definition at line 973 of file eapol_sm.c. |
|
Deinitialize EAPOL state machine.
Definition at line 1801 of file eapol_sm.c. Here is the call graph for this function: |
|
Get master session key (MSK) from EAP.
Definition at line 1367 of file eapol_sm.c. Here is the call graph for this function: |
|
Get EAPOL state machine MIBs.
Definition at line 1057 of file eapol_sm.c. |
|
Get EAPOL state machine status.
Definition at line 1004 of file eapol_sm.c. Here is the call graph for this function: |
|
Initialize EAPOL state machine.
Definition at line 1752 of file eapol_sm.c. Here is the call graph for this function: |
|
Mark cached EAP session data invalid.
Definition at line 1574 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of successful PMKSA caching.
Definition at line 1409 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of EAPOL configuration change.
Definition at line 1333 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of attached monitor.
Definition at line 1505 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of received user input.
Definition at line 1521 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of external EAP failure trigger.
Definition at line 1308 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of external EAP success trigger.
This function is called to update EAP state when WPA-PSK key handshake has been completed successfully since WPA-PSK does not use EAP state machine. Definition at line 1285 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of logon/logoff commands.
Definition at line 1392 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of lower layer success.
Definition at line 1561 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of PMKSA caching.
Definition at line 1427 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification of portControl changes.
Definition at line 1486 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification about portEnabled change.
Definition at line 1243 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification about portValid change.
Definition at line 1262 of file eapol_sm.c. Here is the call graph for this function: |
|
Notification about transmitted EAPOL packet.
Definition at line 1228 of file eapol_sm.c. |
|
Notification of smart card context.
Definition at line 1469 of file eapol_sm.c. Here is the call graph for this function: |
|
Request reauthentication.
Definition at line 1544 of file eapol_sm.c. |
|
Process received EAPOL frames.
Definition at line 1128 of file eapol_sm.c. Here is the call graph for this function: |
|
EAPOL state machine step function.
Definition at line 851 of file eapol_sm.c. Here is the call graph for this function: |