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

IEEE Std 802.1X-2010 definitions. More...

Go to the source code of this file.

Macros

#define CS_ID_LEN   8
 
#define CS_ID_GCM_AES_128   {0x00, 0x80, 0x02, 0x00, 0x01, 0x00, 0x00, 0x01}
 
#define CS_NAME_GCM_AES_128   "GCM-AES-128"
 
#define DEFAULT_PRIO_INFRA_PORT   0x10
 
#define DEFAULT_PRIO_PRIMRAY_AP   0x30
 
#define DEFAULT_PRIO_SECONDARY_AP   0x50
 
#define DEFAULT_PRIO_GROUP_CA_MEMBER   0x70
 
#define DEFAULT_PRIO_NOT_KEY_SERVER   0xFF
 

Enumerations

enum  macsec_policy { SHOULD_SECURE, DO_NOT_SECURE }
 
enum  macsec_cap { MACSEC_CAP_NOT_IMPLEMENTED, MACSEC_CAP_INTEGRITY, MACSEC_CAP_INTEG_AND_CONF, MACSEC_CAP_INTEG_AND_CONF_0_30_50 }
 
enum  validate_frames { Disabled, Checked, Strict }
 
enum  confidentiality_offset { CONFIDENTIALITY_NONE = 0, CONFIDENTIALITY_OFFSET_0 = 1, CONFIDENTIALITY_OFFSET_30 = 2, CONFIDENTIALITY_OFFSET_50 = 3 }
 

Detailed Description

IEEE Std 802.1X-2010 definitions.

Enumeration Type Documentation

enum macsec_cap
Enumerator
MACSEC_CAP_NOT_IMPLEMENTED 

MACsec is not implemented.

MACSEC_CAP_INTEGRITY 

'Integrity without confidentiality'

MACSEC_CAP_INTEG_AND_CONF 

'Integrity without confidentiality' and 'Integrity and confidentiality' with a confidentiality offset of 0

MACSEC_CAP_INTEG_AND_CONF_0_30_50 

'Integrity without confidentiality' and 'Integrity and confidentiality' with a confidentiality offset of 0, 30, 50

Enumerator
SHOULD_SECURE 

Should secure sessions. This accepts key server's advice to determine whether to secure the session or not.

DO_NOT_SECURE 

Disabled MACsec - do not secure sessions.