Classes | Defines | Functions
eap_i.h File Reference
#include "wpabuf.h"
#include "eap_server/eap.h"
#include "eap_common/eap_common.h"
Include dependency graph for eap_server/eap_i.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eap_method
struct  eap_sm

Defines

#define EAP_SERVER_METHOD_INTERFACE_VERSION   1

Functions

void eap_sm_process_nak (struct eap_sm *sm, const u8 *nak_list, size_t len)
int eap_user_get (struct eap_sm *sm, const u8 *identity, size_t identity_len, int phase2)

Define Documentation

Definition at line 66 of file eap_server/eap_i.h.


Function Documentation

void eap_sm_process_nak ( struct eap_sm sm,
const u8 *  nak_list,
size_t  len 
)

eap_sm_process_nak - Process EAP-Response/Nak : Pointer to EAP state machine allocated with eap_server_sm_init() : Nak list (allowed methods) from the supplicant : Length of nak_list in bytes

This function is called when EAP-Response/Nak is received from the supplicant. This can happen for both phase 1 and phase 2 authentications.

Definition at line 994 of file eap_server.c.

int eap_user_get ( struct eap_sm sm,
const u8 *  identity,
size_t  identity_len,
int  phase2 
)

eap_user_get - Fetch user information from the database : Pointer to EAP state machine allocated with eap_server_sm_init() : Identity (User-Name) of the user : Length of identity in bytes : 0 = EAP phase1 user, 1 = EAP phase2 (tunneled) user Returns: 0 on success, or -1 on failure

This function is used to fetch user information for EAP. The user will be selected based on the specified identity. sm->user and sm->user_eap_method_index are updated for the new user when a matching user is found. sm->user can be used to get user information (e.g., password).

Definition at line 99 of file eap_server.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:23