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


Field Documentation

EAPOL archetype identifier for payload this handler will handle.

Definition at line 87 of file eapol.h.

Referenced by eapol_rx().

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

Receive EAPOL-encapsulated packet of specified type.

Parameters:
iob I/O buffer containing packet payload
netdev Network device from which packet was received
ll_source Source link-layer address from which packet was received
Return values:
rc Return 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.

Referenced by eapol_rx().


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

Generated on Tue Apr 6 20:02:03 2010 for gPXE by  doxygen 1.5.7.1