iPXE
Data Fields
eapol_handler Struct Reference

An EAPOL frame type handler. More...

#include <eapol.h>

Data Fields

u8 type
 EAPOL archetype identifier for payload this handler will handle.
int(* rx )(struct io_buffer *iob, struct net_device *netdev, const void *ll_dest, const void *ll_source)
 Receive EAPOL-encapsulated packet of specified type.

Detailed Description

An EAPOL frame type handler.

Normally there will be at most two of these, one for EAP and one for EAPOL-Key frames. The EAPOL interface code handles Start and Logoff directly.

Definition at line 85 of file eapol.h.


Field Documentation

EAPOL archetype identifier for payload this handler will handle.

Definition at line 88 of file eapol.h.

Referenced by eapol_rx().

int( * eapol_handler::rx)(struct io_buffer *iob, struct net_device *netdev, const void *ll_dest, const void *ll_source)

Receive EAPOL-encapsulated packet of specified type.

Parameters:
iobI/O buffer containing packet payload
netdevNetwork device from which packet was received ll_dest Destination link-layer address
ll_sourceSource link-layer address
Return values:
rcReturn status code

The I/O buffer will have the EAPOL header pulled off it, so iob->data points to the first byte of the payload.

This function takes ownership of the I/O buffer passed to it.

Definition at line 103 of file eapol.h.

Referenced by eapol_rx().


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