iPXE
Data Structures | Macros | Functions | Variables
eapol.h File Reference

Definitions for EAPOL (Extensible Authentication Protocol over LANs) frames. More...

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

Go to the source code of this file.

Data Structures

struct  eapol_frame
 An EAPOL frame. More...
 
struct  eapol_handler
 An EAPOL frame type handler. More...
 

Macros

#define EAPOL_TYPE_EAP   0
 EAP authentication handshake packet. More...
 
#define EAPOL_TYPE_START   1
 Request by Peer to begin (no data) More...
 
#define EAPOL_TYPE_LOGOFF   2
 Request by Peer to terminate (no data) More...
 
#define EAPOL_TYPE_KEY   3
 EAPOL-Key packet. More...
 
#define EAPOL_THIS_VERSION   1
 Expected EAPOL version field value. More...
 
#define EAPOL_HDR_LEN   4
 Length of an EAPOL frame header. More...
 
#define EAPOL_HANDLERS   __table ( struct eapol_handler, "eapol_handlers" )
 
#define __eapol_handler   __table_entry ( EAPOL_HANDLERS, 01 )
 

Functions

 FILE_LICENCE (GPL2_OR_LATER)
 

Variables

struct net_protocol eapol_protocol __net_protocol
 AoE protocol. More...
 

Detailed Description

Definitions for EAPOL (Extensible Authentication Protocol over LANs) frames.

Definitions for the packets usually encapsulated in them are elsewhere.

Definition in file eapol.h.

Macro Definition Documentation

◆ EAPOL_THIS_VERSION

#define EAPOL_THIS_VERSION   1

Expected EAPOL version field value.

Version 2 is often seen and has no format differences from version 1; however, many older APs will completely drop version-2 packets, so we advertise ourselves as version 1.

Definition at line 52 of file eapol.h.

◆ EAPOL_HDR_LEN

#define EAPOL_HDR_LEN   4

Length of an EAPOL frame header.

Definition at line 55 of file eapol.h.

◆ EAPOL_HANDLERS

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

Definition at line 107 of file eapol.h.

◆ __eapol_handler

#define __eapol_handler   __table_entry ( EAPOL_HANDLERS, 01 )

Definition at line 108 of file eapol.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER  )

Variable Documentation

◆ __net_protocol

struct net_protocol eapol_protocol __net_protocol

AoE protocol.

AoE protocol.

AoE protocol.

FIP protocol.

Definition at line 55 of file aoe.c.