![]() |
TrustCore SDK NanoSec API reference
version 7.0
|
EAP1X Authenticator API. More...
Go to the source code of this file.
Functions | |
| MOC_EXTERN MSTATUS | EAP1X_authCheckTimers (void) |
| Call expired timers' callbacks. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authDeInit (void) |
| Destroy EAP1X timers. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authGetSesssionStats (ubyte *session, eap1xSessionStats *stats) |
| Get an EAP1X session's current statistics. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authInit (void) |
| Start the EAP1X state machine and initialize the EAP1X stack and timers. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authReceivePkt (ubyte *session, ubyte *pPkt, ubyte4 pktLen) |
| Send the received EAP1X packets to the EAP1X layer. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authSendEAP (ubyte *session, eapHdr_t *eap_hdr, ubyte *eap_data, ubyte4 eap_data_len, ubyte4 headRoom, ubyte **ppPkt, ubyte2 *pPktLen) |
| Encapsulate an EAP packet with an EAP1X header. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authSessionCreate (ubyte *appHdl, ubyte **session, eap1xAuthSessionCfg *cfg) |
| Create an EAP1X authenticator session. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authSessionDelete (ubyte *appHdl, ubyte *session) |
| Delete an EAP1X authenticator session. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authUpdatePortControl (ubyte *session, eap1xPortMode portMode) |
| Set (update) an EAP1X session's port control mode. More... | |
| MOC_EXTERN MSTATUS | EAP1X_authUpdateSetState (ubyte *session, ubyte4 stateInfo) |
| Set an EAP1X session's state parameters (which in turn control the EAP state machine). More... | |
| MOC_EXTERN MSTATUS | EAP1X_authUpdateUnsetState (ubyte *session, ubyte4 stateInfo) |
| Clear (unset) an EAP1X session's state parameters (which in turn control the EAP state machine). More... | |
This header file contains function declarations for EAP1X Authenticator API functions.
To build products using this header file's functions, the following flag must be defined in moptions.h:
__ENABLE_MOCANA_EAP_AUTH__