iPXE
Data Structures | Defines | 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...

Defines

#define EAPOL_TYPE_EAP   0
 EAP authentication handshake packet.
#define EAPOL_TYPE_START   1
 Request by Peer to begin (no data)
#define EAPOL_TYPE_LOGOFF   2
 Request by Peer to terminate (no data)
#define EAPOL_TYPE_KEY   3
 EAPOL-Key packet.
#define EAPOL_THIS_VERSION   1
 Expected EAPOL version field value.
#define EAPOL_HDR_LEN   4
 Length of an EAPOL frame header.
#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.

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.


Define Documentation

#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.

Referenced by wpa_send_eapol().

#define EAPOL_HDR_LEN   4

Length of an EAPOL frame header.

Definition at line 55 of file eapol.h.

Referenced by eapol_key_rx(), eapol_rx(), wpa_alloc_frame(), and wpa_send_eapol().

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

Definition at line 107 of file eapol.h.

Referenced by eapol_rx().

Definition at line 108 of file eapol.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER  )

Variable Documentation

struct net_protocol eapol_protocol __net_protocol

AoE protocol.

AoE protocol.

FIP protocol.

Definition at line 55 of file aoe.c.