wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Enumerations | Variables
eapol_common.h File Reference

EAPOL definitions shared between hostapd and wpa_supplicant. More...

Go to the source code of this file.

Data Structures

struct  ieee802_1x_hdr
 
struct  ieee8023_hdr
 
struct  ieee802_1x_eapol_key
 

Macros

#define EAPOL_VERSION   2
 
#define IEEE8021X_REPLAY_COUNTER_LEN   8
 
#define IEEE8021X_KEY_SIGN_LEN   16
 
#define IEEE8021X_KEY_IV_LEN   16
 
#define IEEE8021X_KEY_INDEX_FLAG   0x80
 
#define IEEE8021X_KEY_INDEX_MASK   0x03
 

Enumerations

enum  {
  IEEE802_1X_TYPE_EAP_PACKET = 0, IEEE802_1X_TYPE_EAPOL_START = 1, IEEE802_1X_TYPE_EAPOL_LOGOFF = 2, IEEE802_1X_TYPE_EAPOL_KEY = 3,
  IEEE802_1X_TYPE_EAPOL_ENCAPSULATED_ASF_ALERT = 4, IEEE802_1X_TYPE_EAPOL_MKA = 5
}
 
enum  { EAPOL_KEY_TYPE_RC4 = 1, EAPOL_KEY_TYPE_RSN = 2, EAPOL_KEY_TYPE_WPA = 254 }
 

Variables

struct ieee802_1x_hdr STRUCT_PACKED
 

Detailed Description

EAPOL definitions shared between hostapd and wpa_supplicant.