#include <eap_i.h>
Collaboration diagram for eap_method:
Data Fields | |
int | vendor |
EapType | method |
const char * | name |
void *(* | init )(struct eap_sm *sm) |
void *(* | initPickUp )(struct eap_sm *sm) |
void(* | reset )(struct eap_sm *sm, void *priv) |
u8 *(* | buildReq )(struct eap_sm *sm, void *priv, int id, size_t *reqDataLen) |
int(* | getTimeout )(struct eap_sm *sm, void *priv) |
Boolean(* | check )(struct eap_sm *sm, void *priv, u8 *respData, size_t respDataLen) |
void(* | process )(struct eap_sm *sm, void *priv, u8 *respData, size_t respDataLen) |
Boolean(* | isDone )(struct eap_sm *sm, void *priv) |
u8 *(* | getKey )(struct eap_sm *sm, void *priv, size_t *len) |
Boolean(* | isSuccess )(struct eap_sm *sm, void *priv) |
void(* | free )(struct eap_method *method) |
Free EAP method data. | |
int | version |
Version of the EAP server method interface. | |
eap_method * | next |
Pointer to the next EAP method. | |
u8 *(* | get_emsk )(struct eap_sm *sm, void *priv, size_t *len) |
Get EAP method specific keying extended material (EMSK). |
This structure defines the EAP method interface. Each method will need to register its own EAP type, EAP name, and set of function pointers for method specific operations. This interface is based on section 5.4 of RFC 4137.
Definition at line 30 of file eap_i.h.
|
Free EAP method data.
|
|
Get EAP method specific keying extended material (EMSK).
|
|
Pointer to the next EAP method. This variable is used internally in the EAP method registration code to create a linked list of registered EAP methods. |
|
Version of the EAP server method interface. The EAP server method implementation should set this variable to EAP_SERVER_METHOD_INTERFACE_VERSION. This is used to verify that the EAP method is using supported API version when using dynamically loadable EAP methods. |