_AuthenticatorContext Struct Reference

802.1X authenticator context More...

#include <authenticator.h>

Data Fields

bool_t running
 Operational state of the authenticator. More...
 
bool_t stop
 Stop request. More...
 
OsMutex mutex
 Mutex preventing simultaneous access to 802.1X authenticator context. More...
 
OsEvent event
 Event object used to poll the sockets. More...
 
OsTaskParameters taskParams
 Task parameters. More...
 
OsTaskId taskId
 Task identifier. More...
 
NetInterfaceinterface
 Underlying network interface. More...
 
uint_t numPorts
 Number of ports. More...
 
AuthenticatorPortports
 Ports. More...
 
NetInterfaceserverInterface
 RADIUS server interface. More...
 
uint_t serverPortIndex
 Switch port used to reach the RADIUS server. More...
 
IpAddr serverIpAddr
 RADIUS server's IP address. More...
 
uint16_t serverPort
 RADIUS server's port. More...
 
uint8_t serverKey [AUTHENTICATOR_MAX_SERVER_KEY_LEN]
 RADIUS server's key. More...
 
size_t serverKeyLen
 Length of the RADIUS server's key, in bytes. More...
 
const PrngAlgoprngAlgo
 Pseudo-random number generator to be used. More...
 
void * prngContext
 Pseudo-random number generator context. More...
 
SocketpeerSocket
 Raw socket used to send/receive EAP packets. More...
 
SocketserverSocket
 UDP socket used to send/receive RADIUS packets. More...
 
AuthenticatorPaeStateChangeCallback paeStateChangeCallback
 Authenticator PAE state change callback function. More...
 
AuthenticatorBackendStateChangeCallback backendStateChangeCallback
 Backend authentication state change callback function. More...
 
AuthenticatorReauthTimerStateChangeCallback reauthTimerStateChangeCallback
 Reauthentication timer state change callback function. More...
 
EapFullAuthStateChangeCallback eapFullAuthStateChangeCallback
 EAP full authenticator state change callback function. More...
 
AuthenticatorTickCallback tickCallback
 Tick callback function. More...
 
systime_t timestamp
 Timestamp to manage timeout. More...
 
uint_t radiusId
 RADIUS packet identifier. More...
 
bool_t busy
 Busy flag. More...
 
uint8_t txBuffer [AUTHENTICATOR_TX_BUFFER_SIZE]
 Transmission buffer. More...
 
uint8_t rxBuffer [AUTHENTICATOR_RX_BUFFER_SIZE]
 Reception buffer. More...
 
HmacContext hmacContext
 HMAC context. More...
 

Detailed Description

802.1X authenticator context

Definition at line 446 of file authenticator.h.

Field Documentation

◆ backendStateChangeCallback

AuthenticatorBackendStateChangeCallback backendStateChangeCallback

Backend authentication state change callback function.

Definition at line 468 of file authenticator.h.

◆ busy

bool_t busy

Busy flag.

Definition at line 475 of file authenticator.h.

◆ eapFullAuthStateChangeCallback

EapFullAuthStateChangeCallback eapFullAuthStateChangeCallback

EAP full authenticator state change callback function.

Definition at line 470 of file authenticator.h.

◆ event

OsEvent event

Event object used to poll the sockets.

Definition at line 451 of file authenticator.h.

◆ hmacContext

HmacContext hmacContext

HMAC context.

Definition at line 479 of file authenticator.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 454 of file authenticator.h.

◆ mutex

OsMutex mutex

Mutex preventing simultaneous access to 802.1X authenticator context.

Definition at line 450 of file authenticator.h.

◆ numPorts

uint_t numPorts

Number of ports.

Definition at line 455 of file authenticator.h.

◆ paeStateChangeCallback

AuthenticatorPaeStateChangeCallback paeStateChangeCallback

Authenticator PAE state change callback function.

Definition at line 467 of file authenticator.h.

◆ peerSocket

Socket* peerSocket

Raw socket used to send/receive EAP packets.

Definition at line 465 of file authenticator.h.

◆ ports

Ports.

Definition at line 456 of file authenticator.h.

◆ prngAlgo

const PrngAlgo* prngAlgo

Pseudo-random number generator to be used.

Definition at line 463 of file authenticator.h.

◆ prngContext

void* prngContext

Pseudo-random number generator context.

Definition at line 464 of file authenticator.h.

◆ radiusId

uint_t radiusId

RADIUS packet identifier.

Definition at line 474 of file authenticator.h.

◆ reauthTimerStateChangeCallback

AuthenticatorReauthTimerStateChangeCallback reauthTimerStateChangeCallback

Reauthentication timer state change callback function.

Definition at line 469 of file authenticator.h.

◆ running

bool_t running

Operational state of the authenticator.

Definition at line 448 of file authenticator.h.

◆ rxBuffer

uint8_t rxBuffer[AUTHENTICATOR_RX_BUFFER_SIZE]

Reception buffer.

Definition at line 478 of file authenticator.h.

◆ serverInterface

NetInterface* serverInterface

RADIUS server interface.

Definition at line 457 of file authenticator.h.

◆ serverIpAddr

IpAddr serverIpAddr

RADIUS server's IP address.

Definition at line 459 of file authenticator.h.

◆ serverKey

RADIUS server's key.

Definition at line 461 of file authenticator.h.

◆ serverKeyLen

size_t serverKeyLen

Length of the RADIUS server's key, in bytes.

Definition at line 462 of file authenticator.h.

◆ serverPort

uint16_t serverPort

RADIUS server's port.

Definition at line 460 of file authenticator.h.

◆ serverPortIndex

uint_t serverPortIndex

Switch port used to reach the RADIUS server.

Definition at line 458 of file authenticator.h.

◆ serverSocket

Socket* serverSocket

UDP socket used to send/receive RADIUS packets.

Definition at line 466 of file authenticator.h.

◆ stop

bool_t stop

Stop request.

Definition at line 449 of file authenticator.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 453 of file authenticator.h.

◆ taskParams

OsTaskParameters taskParams

Task parameters.

Definition at line 452 of file authenticator.h.

◆ tickCallback

Tick callback function.

Definition at line 471 of file authenticator.h.

◆ timestamp

systime_t timestamp

Timestamp to manage timeout.

Definition at line 472 of file authenticator.h.

◆ txBuffer

uint8_t txBuffer[AUTHENTICATOR_TX_BUFFER_SIZE]

Transmission buffer.

Definition at line 477 of file authenticator.h.


The documentation for this struct was generated from the following file: