iPXE
eapol.h File Reference

Extensible Authentication Protocol over LAN (EAPoL) More...

#include <stdint.h>
#include <ipxe/netdevice.h>
#include <ipxe/tables.h>
#include <ipxe/eap.h>

Go to the source code of this file.

Data Structures

struct  eapol_header
 EAPoL header. More...
struct  eapol_supplicant
 An EAPoL supplicant. More...
struct  eapol_handler
 An EAPoL handler. More...

Macros

#define EAPOL_VERSION_2001   1
 802.1X-2001
#define EAPOL_TYPE_EAP   0
 EAPoL-encapsulated EAP packets.
#define EAPOL_TYPE_START   1
 EAPoL start.
#define EAPOL_TYPE_KEY   5
 EAPoL key.
#define EAPOL_START_INTERVAL   ( 2 * TICKS_PER_SEC )
 Delay between EAPoL-Start packets.
#define EAPOL_START_COUNT   3
 Maximum number of EAPoL-Start packets to transmit.
#define EAPOL_HANDLERS   __table ( struct eapol_handler, "eapol_handlers" )
 EAPoL handler table.
#define __eapol_handler   __table_entry ( EAPOL_HANDLERS, 01 )
 Declare an EAPoL handler.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)

Variables

struct net_protocol eapol_protocol __net_protocol
 AoE protocol.

Detailed Description

Extensible Authentication Protocol over LAN (EAPoL)

Definition in file eapol.h.

Macro Definition Documentation

◆ EAPOL_VERSION_2001

#define EAPOL_VERSION_2001   1

802.1X-2001

Definition at line 29 of file eapol.h.

Referenced by eapol_tx(), and wpa_send_eapol().

◆ EAPOL_TYPE_EAP

#define EAPOL_TYPE_EAP   0

EAPoL-encapsulated EAP packets.

Definition at line 32 of file eapol.h.

Referenced by eapol_eap_tx().

◆ EAPOL_TYPE_START

#define EAPOL_TYPE_START   1

EAPoL start.

Definition at line 35 of file eapol.h.

Referenced by eapol_expired().

◆ EAPOL_TYPE_KEY

#define EAPOL_TYPE_KEY   5

EAPoL key.

Definition at line 38 of file eapol.h.

Referenced by wpa_send_eapol().

◆ EAPOL_START_INTERVAL

#define EAPOL_START_INTERVAL   ( 2 * TICKS_PER_SEC )

Delay between EAPoL-Start packets.

Definition at line 51 of file eapol.h.

Referenced by eapol_expired().

◆ EAPOL_START_COUNT

#define EAPOL_START_COUNT   3

Maximum number of EAPoL-Start packets to transmit.

Definition at line 54 of file eapol.h.

Referenced by eapol_expired().

◆ EAPOL_HANDLERS

#define EAPOL_HANDLERS   __table ( struct eapol_handler, "eapol_handlers" )

EAPoL handler table.

Definition at line 75 of file eapol.h.

Referenced by eapol_rx().

◆ __eapol_handler

#define __eapol_handler   __table_entry ( EAPOL_HANDLERS, 01 )

Declare an EAPoL handler.

Definition at line 78 of file eapol.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ __net_protocol

struct net_protocol eapol_protocol __net_protocol
extern

AoE protocol.

AoE protocol.

AoE protocol.

FIP protocol.

Definition at line 56 of file aoe.c.