EAP authentication. More...
#include "ike/ike.h"Go to the source code of this file.
Enumerations | |
| enum | IkeEapCode { IKE_EAP_CODE_REQUEST = 1, IKE_EAP_CODE_RESPONSE = 2, IKE_EAP_CODE_SUCCESS = 3, IKE_EAP_CODE_FAILURE = 4 } |
| EAP codes. More... | |
| enum | IkeEapMethodType { IKE_EAP_METHOD_TYPE_NONE = 0, IKE_EAP_METHOD_TYPE_IDENTITY = 1, IKE_EAP_METHOD_TYPE_NOTIFICATION = 2, IKE_EAP_METHOD_TYPE_NAK = 3, IKE_EAP_METHOD_TYPE_MD5_CHALLENGE = 4, IKE_EAP_METHOD_TYPE_OTP = 5, IKE_EAP_METHOD_TYPE_GTC = 6, IKE_EAP_METHOD_TYPE_TLS = 13, IKE_EAP_METHOD_TYPE_TTLS = 21, IKE_EAP_METHOD_TYPE_PEAP = 25, IKE_EAP_METHOD_TYPE_MSCHAPV2 = 26, IKE_EAP_METHOD_TYPE_EXPANDED_NAK = 254 } |
| EAP method types. More... | |
Functions | |
| error_t | ikeProcessEapPacket (IkeSaEntry *sa, const IkeEapPacket *packet, size_t length) |
| Process EAP packet. More... | |
| error_t | ikeProcessEapRequest (IkeSaEntry *sa, const IkeEapRequest *request, size_t length) |
| Process EAP request. More... | |
| error_t | ikeProcessEapIdentityRequest (IkeSaEntry *sa, const IkeEapRequest *request, size_t length) |
| Process EAP Identity request. More... | |
| error_t | ikeProcessEapSuccess (IkeSaEntry *sa, const IkeEapPacket *packet, size_t length) |
| Process EAP success packet. More... | |
| error_t | ikeProcessEapFailure (IkeSaEntry *sa, const IkeEapPacket *packet, size_t length) |
| Process EAP failure packet. More... | |
| error_t | ikeFormatEapPacket (IkeSaEntry *sa, uint8_t *p, size_t *written) |
| Format EAP packet. More... | |
| error_t | ikeFormatEapIdentityResponse (IkeSaEntry *sa, uint8_t *p, size_t *written) |
| Format EAP Identity response. More... | |
| error_t | ikeFormatEapNakResponse (IkeSaEntry *sa, uint8_t *p, size_t *written) |
| Format EAP Nak response. More... | |
Variables | |
| typedef | __packed_struct |
| EAP packet. More... | |
| uint8_t | identifier |
| uint16_t | length |
| uint8_t | data [] |
| IkeEapPacket | |
| uint8_t | type |
| IkeEapRequest | |
| IkeEapResponse | |
Detailed Description
EAP authentication.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2022-2026 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneIPSEC 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.6.8
Definition in file ike_eap.h.
Enumeration Type Documentation
◆ IkeEapCode
| enum IkeEapCode |
◆ IkeEapMethodType
| enum IkeEapMethodType |
EAP method types.
Function Documentation
◆ ikeFormatEapIdentityResponse()
| error_t ikeFormatEapIdentityResponse | ( | IkeSaEntry * | sa, |
| uint8_t * | p, | ||
| size_t * | written | ||
| ) |
◆ ikeFormatEapNakResponse()
| error_t ikeFormatEapNakResponse | ( | IkeSaEntry * | sa, |
| uint8_t * | p, | ||
| size_t * | written | ||
| ) |
◆ ikeFormatEapPacket()
| error_t ikeFormatEapPacket | ( | IkeSaEntry * | sa, |
| uint8_t * | p, | ||
| size_t * | written | ||
| ) |
◆ ikeProcessEapFailure()
| error_t ikeProcessEapFailure | ( | IkeSaEntry * | sa, |
| const IkeEapPacket * | packet, | ||
| size_t | length | ||
| ) |
◆ ikeProcessEapIdentityRequest()
| error_t ikeProcessEapIdentityRequest | ( | IkeSaEntry * | sa, |
| const IkeEapRequest * | request, | ||
| size_t | length | ||
| ) |
◆ ikeProcessEapPacket()
| error_t ikeProcessEapPacket | ( | IkeSaEntry * | sa, |
| const IkeEapPacket * | packet, | ||
| size_t | length | ||
| ) |
◆ ikeProcessEapRequest()
| error_t ikeProcessEapRequest | ( | IkeSaEntry * | sa, |
| const IkeEapRequest * | request, | ||
| size_t | length | ||
| ) |
◆ ikeProcessEapSuccess()
| error_t ikeProcessEapSuccess | ( | IkeSaEntry * | sa, |
| const IkeEapPacket * | packet, | ||
| size_t | length | ||
| ) |
Variable Documentation
◆ __packed_struct
| typedef __packed_struct |
