#include "eap.h"
Include dependency graph for eap_i.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | EAP_PEER_METHOD_INTERFACE_VERSION 1 |
Enumerations | |
enum | EapDecision { DECISION_FAIL, DECISION_COND_SUCC, DECISION_UNCOND_SUCC } |
enum | EapMethodState { METHOD_NONE, METHOD_INIT, METHOD_CONT, METHOD_MAY_CONT, METHOD_DONE } |
Functions | |
const u8 * | eap_hdr_validate (int vendor, EapType eap_type, const u8 *msg, size_t msglen, size_t *plen) |
Validate EAP header. | |
const u8 * | eap_get_config_identity (struct eap_sm *sm, size_t *len) |
Get identity from the network configuration. | |
const u8 * | eap_get_config_password (struct eap_sm *sm, size_t *len) |
Get password from the network configuration. | |
const u8 * | eap_get_config_new_password (struct eap_sm *sm, size_t *len) |
Get new password from network configuration. | |
const u8 * | eap_get_config_otp (struct eap_sm *sm, size_t *len) |
Get one-time password from the network configuration. | |
void | eap_clear_config_otp (struct eap_sm *sm) |
Clear used one-time password. | |
wpa_ssid * | eap_get_config (struct eap_sm *sm) |
Get current network configuration. | |
void | eap_set_config_blob (struct eap_sm *sm, struct wpa_config_blob *blob) |
Set or add a named configuration blob. | |
const struct wpa_config_blob * | eap_get_config_blob (struct eap_sm *sm, const char *name) |
Get a named configuration blob. | |
eap_hdr * | eap_msg_alloc (int vendor, EapType type, size_t *len, size_t payload_len, u8 code, u8 identifier, u8 **payload) |
Allocate a buffer for an EAP message. | |
void | eap_notify_pending (struct eap_sm *sm) |
Notify that EAP method is ready to re-process a request. |
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file eap_i.h.
|
Clear used one-time password.
Definition at line 1824 of file eap.c. Here is the call graph for this function: |
|
Get current network configuration.
|
|
Get a named configuration blob.
|
|
Get identity from the network configuration.
Definition at line 1754 of file eap.c. Here is the call graph for this function: |
|
Get new password from network configuration.
Definition at line 1788 of file eap.c. Here is the call graph for this function: |
|
Get one-time password from the network configuration.
Definition at line 1805 of file eap.c. Here is the call graph for this function: |
|
Get password from the network configuration.
Definition at line 1771 of file eap.c. Here is the call graph for this function: |
|
Validate EAP header.
Definition at line 1983 of file eap.c. Here is the call graph for this function: |
|
Allocate a buffer for an EAP message.
|
|
Notify that EAP method is ready to re-process a request.
|
|
Set or add a named configuration blob.
|