radius.h File Reference

RADIUS (Remote Authentication Dial In User Service) More...

#include "eap/eap.h"

Go to the source code of this file.

Macros

#define RADIUS_SUPPORT   ENABLED
 
#define RADIUS_PORT   1812
 

Enumerations

enum  RadiusCode {
  RADIUS_CODE_ACCESS_REQUEST = 1, RADIUS_CODE_ACCESS_ACCEPT = 2, RADIUS_CODE_ACCESS_REJECT = 3, RADIUS_CODE_ACCOUNTING_REQUEST = 4,
  RADIUS_CODE_ACCOUNTING_RESPONSE = 5, RADIUS_CODE_ACCESS_CHALLENGE = 11, RADIUS_CODE_STATUS_SERVER = 12, RADIUS_CODE_STATUS_CLIENT = 13
}
 RADIUS codes. More...
 

Variables

typedef __packed_struct
 RADIUS packet. More...
 
uint8_t identifier
 
uint16_t length
 
uint8_t authenticator [16]
 
uint8_t attributes []
 
 RadiusPacket
 

Detailed Description

RADIUS (Remote Authentication Dial In User Service)

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2022-2024 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.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.4.4

Definition in file radius.h.

Macro Definition Documentation

◆ RADIUS_PORT

#define RADIUS_PORT   1812

Definition at line 45 of file radius.h.

◆ RADIUS_SUPPORT

#define RADIUS_SUPPORT   ENABLED

Definition at line 39 of file radius.h.

Enumeration Type Documentation

◆ RadiusCode

enum RadiusCode

RADIUS codes.

Enumerator
RADIUS_CODE_ACCESS_REQUEST 

Access-Request.

RADIUS_CODE_ACCESS_ACCEPT 

Access-Accept.

RADIUS_CODE_ACCESS_REJECT 

Access-Reject.

RADIUS_CODE_ACCOUNTING_REQUEST 

Accounting-Request.

RADIUS_CODE_ACCOUNTING_RESPONSE 

Accounting-Response.

RADIUS_CODE_ACCESS_CHALLENGE 

Access-Challenge.

RADIUS_CODE_STATUS_SERVER 

Status-Server (experimental)

RADIUS_CODE_STATUS_CLIENT 

Status-Client (experimental)

Definition at line 57 of file radius.h.

Variable Documentation

◆ __packed_struct

typedef __packed_struct
Initial value:
{
uint8_t code

RADIUS packet.

Definition at line 82 of file radius.h.

◆ attributes

uint8_t attributes[]

Definition at line 88 of file radius.h.

◆ authenticator

uint8_t authenticator[16]

Definition at line 87 of file radius.h.

◆ identifier

uint8_t identifier

Definition at line 85 of file radius.h.

◆ length

uint16_t length

Definition at line 86 of file radius.h.

◆ RadiusPacket

RadiusPacket

Definition at line 89 of file radius.h.

uint8_t code
Definition: coap_common.h:179