iPXE
Data Structures | Macros | Functions | Variables
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 More...
 
#define EAPOL_TYPE_EAP   0
 EAPoL-encapsulated EAP packets. More...
 
#define EAPOL_TYPE_START   1
 EAPoL start. More...
 
#define EAPOL_TYPE_KEY   5
 EAPoL key. More...
 
#define EAPOL_START_INTERVAL   ( 2 * TICKS_PER_SEC )
 Delay between EAPoL-Start packets. More...
 
#define EAPOL_START_COUNT   3
 Maximum number of EAPoL-Start packets to transmit. More...
 
#define EAPOL_HANDLERS   __table ( struct eapol_handler, "eapol_handlers" )
 EAPoL handler table. More...
 
#define __eapol_handler   __table_entry ( EAPOL_HANDLERS, 01 )
 Declare an EAPoL handler. More...
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 

Variables

struct net_protocol eapol_protocol __net_protocol
 AoE protocol. More...
 

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 28 of file eapol.h.

◆ EAPOL_TYPE_EAP

#define EAPOL_TYPE_EAP   0

EAPoL-encapsulated EAP packets.

Definition at line 31 of file eapol.h.

◆ EAPOL_TYPE_START

#define EAPOL_TYPE_START   1

EAPoL start.

Definition at line 34 of file eapol.h.

◆ EAPOL_TYPE_KEY

#define EAPOL_TYPE_KEY   5

EAPoL key.

Definition at line 37 of file eapol.h.

◆ EAPOL_START_INTERVAL

#define EAPOL_START_INTERVAL   ( 2 * TICKS_PER_SEC )

Delay between EAPoL-Start packets.

Definition at line 50 of file eapol.h.

◆ EAPOL_START_COUNT

#define EAPOL_START_COUNT   3

Maximum number of EAPoL-Start packets to transmit.

Definition at line 53 of file eapol.h.

◆ EAPOL_HANDLERS

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

EAPoL handler table.

Definition at line 74 of file eapol.h.

◆ __eapol_handler

#define __eapol_handler   __table_entry ( EAPOL_HANDLERS, 01 )

Declare an EAPoL handler.

Definition at line 77 of file eapol.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

◆ __net_protocol

struct net_protocol eapol_protocol __net_protocol

AoE protocol.

AoE protocol.

AoE protocol.

FIP protocol.

Definition at line 56 of file aoe.c.