supplicant.h
Go to the documentation of this file.
193 SupplicantPaeStateChangeCallback paeStateChangeCallback; ///<Supplicant PAE state change callback function
194 SupplicantBackendStateChangeCallback backendStateChangeCallback; ///<Supplicant backend state change callback function
195 EapPeerStateChangeCallback eapPeerStateChangeCallback; ///<EAP peer state change callback function
224 SupplicantPaeStateChangeCallback paeStateChangeCallback; ///<Supplicant PAE state change callback function
225 SupplicantBackendStateChangeCallback backendStateChangeCallback; ///<Supplicant backend state change callback function
226 EapPeerStateChangeCallback eapPeerStateChangeCallback; ///<EAP peer state change callback function
256 SupplicantPortStatus suppPortStatus; ///<Current authorization state of the supplicant PAE state machine (8.2.2.2 w)
261 bool_t eapRestart; ///<The higher layer is ready to establish an authentication session (8.2.11.1.1 a)
263 SupplicantPortMode sPortMode; ///<Used to switch between the auto and non-auto modes of operation (8.2.11.1.1 c)
269 uint_t maxStart; ///<Maximum number of successive EAPOL-Start messages that will be sent (8.2.11.1.2 c)
General definitions for cryptographic algorithms.
EAP (Extensible Authentication Protocol)
EAP peer state machine.
bool_t portValid
The value of this variable is set externally (8.2.2.2 s)
Definition: supplicant.h:253
SupplicantPortMode sPortMode
Used to switch between the auto and non-auto modes of operation (8.2.11.1.1 c)
Definition: supplicant.h:263
SupplicantPortStatus suppPortStatus
Current authorization state of the supplicant PAE state machine (8.2.2.2 w)
Definition: supplicant.h:256
bool_t eapRestart
The higher layer is ready to establish an authentication session (8.2.11.1.1 a)
Definition: supplicant.h:261
uint_t reqId
Identifier value associated with the current EAP request (4.3.2)
Definition: supplicant.h:301
bool_t eapReq
An EAP frame is available for processing by EAP (8.2.12.1.1 b)
Definition: supplicant.h:272
uint_t heldPeriod
Initialization value used for the heldWhile timer (8.2.11.1.2 a)
Definition: supplicant.h:267
bool_t eapResp
An EAP frame available for transmission to authenticator (8.2.12.1.1 c)
Definition: supplicant.h:273
uint_t maxStart
Maximum number of successive EAPOL-Start messages that will be sent (8.2.11.1.2 c)
Definition: supplicant.h:269
uint_t startCount
Number of EAPOL-Start messages that have been sent (8.2.11.1.1 d)
Definition: supplicant.h:264
uint_t clientTimeout
Time to wait for a valid request before aborting (4.1.3)
Definition: supplicant.h:289
SupplicantTlsInitCallback tlsInitCallback
TLS initialization callback function.
Definition: supplicant.h:222
uint_t authWhile
Timer used by the supplicant backend state machine (8.2.2.1 a)
Definition: supplicant.h:241
uint_t startWhen
Timer used by the supplicant PAE state machine (8.2.2.1 f)
Definition: supplicant.h:243
bool_t eapolEap
EAPOL PDU carrying a packet Type of EAP-Packet is received (8.2.2.2 h)
Definition: supplicant.h:246
bool_t eapNoResp
No EAP Response for the last EAP frame delivered to EAP (8.2.12.1.1 a)
Definition: supplicant.h:271
uint_t startPeriod
Initialization value used for the startWhen timer (8.2.11.1.2 b)
Definition: supplicant.h:268
bool_t initialize
Forces all EAPOL state machines to their initial state (8.2.2.2 k)
Definition: supplicant.h:248
uint_t authPeriod
Initialization value used for the authWhile timer (8.2.12.1.2 a)
Definition: supplicant.h:275
SupplicantPaeStateChangeCallback paeStateChangeCallback
Supplicant PAE state change callback function.
Definition: supplicant.h:224
uint_t heldWhile
Timer used by the supplicant PAE state machine (8.2.2.1 c)
Definition: supplicant.h:242
EapPeerStateChangeCallback eapPeerStateChangeCallback
EAP peer state change callback function.
Definition: supplicant.h:226
SupplicantBackendStateChangeCallback backendStateChangeCallback
Supplicant backend state change callback function.
Definition: supplicant.h:225
SupplicantTlsInitCallback tlsInitCallback
TLS initialization callback function.
Definition: supplicant.h:191
SupplicantPaeStateChangeCallback paeStateChangeCallback
Supplicant PAE state change callback function.
Definition: supplicant.h:193
EapPeerStateChangeCallback eapPeerStateChangeCallback
EAP peer state change callback function.
Definition: supplicant.h:195
SupplicantBackendStateChangeCallback backendStateChangeCallback
Supplicant backend state change callback function.
Definition: supplicant.h:194
error_t supplicantSetPassword(SupplicantContext *context, const char_t *password)
Set password.
Definition: supplicant.c:174
void(* SupplicantBackendStateChangeCallback)(SupplicantContext *context, SupplicantBackendState state)
Supplicant backend state change callback function.
Definition: supplicant.h:162
error_t supplicantSetUsername(SupplicantContext *context, const char_t *username)
Set user name.
Definition: supplicant.c:148
error_t supplicantStop(SupplicantContext *context)
Stop 802.1X supplicant.
Definition: supplicant.c:302
void(* SupplicantPaeStateChangeCallback)(SupplicantContext *context, SupplicantPaeState state)
Supplicant PAE state change callback function.
Definition: supplicant.h:154
void supplicantGetDefaultSettings(SupplicantSettings *settings)
Initialize settings with default values.
Definition: supplicant.c:49
void(* SupplicantTickCallback)(SupplicantContext *context)
Tick callback function.
Definition: supplicant.h:178
void(* EapPeerStateChangeCallback)(SupplicantContext *context, EapPeerState state)
EAP peer state change callback function.
Definition: supplicant.h:170
error_t supplicantInit(SupplicantContext *context, const SupplicantSettings *settings)
Initialize 802.1X supplicant context.
Definition: supplicant.c:84
error_t supplicantStart(SupplicantContext *context)
Start 802.1X supplicant.
Definition: supplicant.c:204
error_t(* SupplicantTlsInitCallback)(SupplicantContext *context, TlsContext *tlsContext)
TLS initialization callback function.
Definition: supplicant.h:144
void supplicantDeinit(SupplicantContext *context)
Release 802.1X supplicant context.
Definition: supplicant.c:424
Supplicant backend state machine.
Supplicant PAE state machine.
TLS (Transport Layer Security)