[eapol] Add basic support for 802.1X EAP over LANs

EAPOL is a container protocol that can wrap either EAP packets or
802.11 EAPOL-Key frames. For cleanliness' sake, add a stub that strips
the framing and sends packets off to the appropriate handler if it
is compiled in.

Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
Joshua Oreman
2010-01-05 09:18:12 -05:00
committed by Marty Connor
parent 01b4f52089
commit 432cc6d1d8
4 changed files with 199 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define ETH_P_RARP 0x8035 /* Reverse Address resolution Protocol */
#define ETH_P_IPV6 0x86DD /* IPv6 over blueblook */
#define ETH_P_SLOW 0x8809 /* Ethernet slow protocols */
#define ETH_P_EAPOL 0x888E /* 802.1X EAP over LANs */
#define ETH_P_AOE 0x88A2 /* ATA over Ethernet */
/** An Ethernet link-layer header */