Supplicant state machine procedures. More...
#include "supplicant/supplicant.h"#include "supplicant/supplicant_procedures.h"#include "supplicant/supplicant_misc.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 | supplicantTxStart (SupplicantContext *context) |
| Transmit an EAPOL-Start packet (8.2.11.1.3 a) More... | |
| void | supplicantTxLogoff (SupplicantContext *context) |
| Transmit an EAPOL-Logoff packet (8.2.11.1.3 b) More... | |
| void | supplicantAbortSupp (SupplicantContext *context) |
| Release any system resources (8.2.12.1.3 a) More... | |
| void | supplicantGetSuppRsp (SupplicantContext *context) |
| Get the information required in order to respond to the EAP request (8.2.12.1.3 b) More... | |
| void | supplicantTxSuppRsp (SupplicantContext *context) |
| Transmit an EAPOL-Packet packet (8.2.12.1.3 c) More... | |
| void | supplicantDecrementTimer (uint_t *x) |
| Decrement timer value. More... | |
Detailed Description
Supplicant state machine procedures.
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 supplicant_procedures.c.
Macro Definition Documentation
◆ TRACE_LEVEL
| #define TRACE_LEVEL SUPPLICANT_TRACE_LEVEL |
Definition at line 32 of file supplicant_procedures.c.
Function Documentation
◆ supplicantAbortSupp()
| void supplicantAbortSupp | ( | SupplicantContext * | context | ) |
Release any system resources (8.2.12.1.3 a)
- Parameters
-
[in] context Pointer to the 802.1X supplicant context
Definition at line 118 of file supplicant_procedures.c.
◆ supplicantDecrementTimer()
| void supplicantDecrementTimer | ( | uint_t * | x | ) |
Decrement timer value.
- Parameters
-
[in,out] x Actual timer value
Definition at line 180 of file supplicant_procedures.c.
◆ supplicantGetSuppRsp()
| void supplicantGetSuppRsp | ( | SupplicantContext * | context | ) |
Get the information required in order to respond to the EAP request (8.2.12.1.3 b)
- Parameters
-
[in] context Pointer to the 802.1X supplicant context
Definition at line 128 of file supplicant_procedures.c.
◆ supplicantTxLogoff()
| void supplicantTxLogoff | ( | SupplicantContext * | context | ) |
Transmit an EAPOL-Logoff packet (8.2.11.1.3 b)
- Parameters
-
[in] context Pointer to the 802.1X supplicant context
Definition at line 84 of file supplicant_procedures.c.
◆ supplicantTxStart()
| void supplicantTxStart | ( | SupplicantContext * | context | ) |
Transmit an EAPOL-Start packet (8.2.11.1.3 a)
- Parameters
-
[in] context Pointer to the 802.1X supplicant context
Definition at line 50 of file supplicant_procedures.c.
◆ supplicantTxSuppRsp()
| void supplicantTxSuppRsp | ( | SupplicantContext * | context | ) |
Transmit an EAPOL-Packet packet (8.2.12.1.3 c)
- Parameters
-
[in] context Pointer to the 802.1X supplicant context
Definition at line 140 of file supplicant_procedures.c.
