EAP peer state machine. More...
#include "supplicant/supplicant.h"#include "supplicant/supplicant_fsm.h"#include "supplicant/supplicant_misc.h"#include "eap/eap_peer_fsm.h"#include "eap/eap_peer_procedures.h"#include "eap/eap_debug.h"#include "debug.h"Go to the source code of this file.
Macros | |
| #define | TRACE_LEVEL SUPPLICANT_TRACE_LEVEL | 
Functions | |
| void | eapPeerInitFsm (SupplicantContext *context) | 
| EAP peer state machine initialization.  More... | |
| void | eapPeerFsm (SupplicantContext *context) | 
| EAP peer state machine implementation.  More... | |
| void | eapPeerChangeState (SupplicantContext *context, EapPeerState newState) | 
| Update EAP peer state.  More... | |
Variables | |
| const EapParamName | eapPeerStates [] | 
Detailed Description
EAP peer state machine.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2022-2025 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneEAP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version
 - 2.5.4
 
Definition in file eap_peer_fsm.c.
Macro Definition Documentation
◆ TRACE_LEVEL
| #define TRACE_LEVEL SUPPLICANT_TRACE_LEVEL | 
Definition at line 32 of file eap_peer_fsm.c.
Function Documentation
◆ eapPeerChangeState()
| void eapPeerChangeState | ( | SupplicantContext * | context, | 
| EapPeerState | newState | ||
| ) | 
Update EAP peer state.
- Parameters
 - 
  
[in] context Pointer to the 802.1X supplicant context [in] newState New state to switch to  
Definition at line 335 of file eap_peer_fsm.c.
◆ eapPeerFsm()
| void eapPeerFsm | ( | SupplicantContext * | context | ) | 
EAP peer state machine implementation.
- Parameters
 - 
  
[in] context Pointer to the 802.1X supplicant context  
Definition at line 82 of file eap_peer_fsm.c.
◆ eapPeerInitFsm()
| void eapPeerInitFsm | ( | SupplicantContext * | context | ) | 
EAP peer state machine initialization.
- Parameters
 - 
  
[in] context Pointer to the 802.1X supplicant context  
Definition at line 70 of file eap_peer_fsm.c.
Variable Documentation
◆ eapPeerStates
| const EapParamName eapPeerStates[] | 
Definition at line 47 of file eap_peer_fsm.c.
