![]() |
TrustCore SDK NanoSec API reference
version 7.0
|
Configuration settings and callback function pointers for EAP methods. More...
Data Fields | |
MSTATUS(* | funcPtr_llTransmitPacket )(ubyte *app_session_handle, eapHdr_t *eap_hdr, ubyte *eap_data, ubyte4 eap_data_len) |
Transmit (send) an EAP packet out through the lower (physical) layer. More... | |
MSTATUS(* | funcPtr_ulGetDecision )(ubyte *app_session_handle, ubyte4 *decision) |
Enable customized accounting. More... | |
MSTATUS(* | funcPtr_ulGetMethodstate )(ubyte *app_session_handle, ubyte4 *methodState) |
Enable customized accounting. More... | |
MSTATUS(* | funcPtr_ulMICVerify )(ubyte *app_session_handle, ubyte *pkt, ubyte4 pkt_len) |
Verify a packet's MIC (message integrity code). More... | |
MSTATUS(* | funcPtr_ulReceiveCallback )(ubyte *app_session_handle, eapMethodType type, eapCode code, ubyte id, ubyte *eap_data, ubyte4 eap_data_len, ubyte *opaque_data) |
Process received EAP messages. More... | |
MSTATUS(* | funcPtr_ulReceiveIndication )(ubyte *app_session_handle, eapIndication ind_type, ubyte *data, ubyte4 data_len) |
Notify the upper layer that an error has occurred or that reauthorization is needed. More... | |
MSTATUS(* | funcPtr_ulReceivePassthruCallback )(ubyte *app_session_handle, eapMethodType type, eapCode code, ubyte id, ubyte *eap_data, ubyte4 eap_data_len, ubyte *opaque_data) |
Receive EAP packets in passthrough mode. More... | |
ubyte | method_name [EAP_MAX_METHOD_NAME] |
User-defined text string identifier for this structure's EAP method. More... | |
eapMethodType | method_type |
Method type, such as LEAP or PEAP, that these settings and callback pointers are for. More... | |
This structure is used to store configuration settings and to register callback function pointers for EAP methods.
To enable the callbacks, at least one of the following flags must be defined in moptions.h:
__ENABLE_MOCANA_EAP_PEER__
__ENABLE_MOCANA_EAP_AUTH__
ubyte eapMethodDef_t::method_name[EAP_MAX_METHOD_NAME] |
User-defined text string identifier for this structure's EAP method.
eapMethodType eapMethodDef_t::method_type |
Method type, such as LEAP or PEAP, that these settings and callback pointers are for.