Authenticator PAE state machine. More...
#include "authenticator/authenticator.h"Go to the source code of this file.
Enumerations | |
| enum | AuthenticatorPaeState { AUTHENTICATOR_PAE_STATE_INITIALIZE = 0, AUTHENTICATOR_PAE_STATE_DISCONNECTED = 1, AUTHENTICATOR_PAE_STATE_RESTART = 2, AUTHENTICATOR_PAE_STATE_CONNECTING = 3, AUTHENTICATOR_PAE_STATE_AUTHENTICATING = 4, AUTHENTICATOR_PAE_STATE_AUTHENTICATED = 5, AUTHENTICATOR_PAE_STATE_ABORTING = 6, AUTHENTICATOR_PAE_STATE_HELD = 7, AUTHENTICATOR_PAE_STATE_FORCE_AUTH = 8, AUTHENTICATOR_PAE_STATE_FORCE_UNAUTH = 9 } |
| Authenticator PAE states. More... | |
| enum | AuthenticatorPortStatus { AUTHENTICATOR_PORT_STATUS_UNKNOWN = 0, AUTHENTICATOR_PORT_STATUS_UNAUTH = 1, AUTHENTICATOR_PORT_STATUS_AUTH = 2 } |
| Port status. More... | |
| enum | AuthenticatorPortMode { AUTHENTICATOR_PORT_MODE_FORCE_UNAUTH = 0, AUTHENTICATOR_PORT_MODE_FORCE_AUTH = 1, AUTHENTICATOR_PORT_MODE_AUTO = 2 } |
| Port modes. More... | |
Functions | |
| void | authenticatorPaeInitFsm (AuthenticatorPort *port) |
| Authenticator PAE state machine initialization. More... | |
| void | authenticatorPaeFsm (AuthenticatorPort *port) |
| Authenticator PAE state machine implementation. More... | |
| void | authenticatorPaeChangeState (AuthenticatorPort *port, AuthenticatorPaeState newState) |
| Update authenticator PAE state. More... | |
Detailed Description
Authenticator PAE 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 authenticator_pae_fsm.h.
Enumeration Type Documentation
◆ AuthenticatorPaeState
Authenticator PAE states.
Definition at line 47 of file authenticator_pae_fsm.h.
◆ AuthenticatorPortMode
Port modes.
| Enumerator | |
|---|---|
| AUTHENTICATOR_PORT_MODE_FORCE_UNAUTH | |
| AUTHENTICATOR_PORT_MODE_FORCE_AUTH | |
| AUTHENTICATOR_PORT_MODE_AUTO | |
Definition at line 78 of file authenticator_pae_fsm.h.
◆ AuthenticatorPortStatus
Port status.
| Enumerator | |
|---|---|
| AUTHENTICATOR_PORT_STATUS_UNKNOWN | |
| AUTHENTICATOR_PORT_STATUS_UNAUTH | |
| AUTHENTICATOR_PORT_STATUS_AUTH | |
Definition at line 66 of file authenticator_pae_fsm.h.
Function Documentation
◆ authenticatorPaeChangeState()
| void authenticatorPaeChangeState | ( | AuthenticatorPort * | port, |
| AuthenticatorPaeState | newState | ||
| ) |
Update authenticator PAE state.
- Parameters
-
[in] port Pointer to the port context [in] newState New state to switch to
Definition at line 273 of file authenticator_pae_fsm.c.
◆ authenticatorPaeFsm()
| void authenticatorPaeFsm | ( | AuthenticatorPort * | port | ) |
Authenticator PAE state machine implementation.
- Parameters
-
[in] port Pointer to the port context
Definition at line 79 of file authenticator_pae_fsm.c.
◆ authenticatorPaeInitFsm()
| void authenticatorPaeInitFsm | ( | AuthenticatorPort * | port | ) |
Authenticator PAE state machine initialization.
- Parameters
-
[in] port Pointer to the port context
Definition at line 67 of file authenticator_pae_fsm.c.
