003 File Manager
Current Path:
/usr/src/contrib/wpa/src/common
usr
/
src
/
contrib
/
wpa
/
src
/
common
/
📁
..
📄
cli.c
(5.73 KB)
📄
cli.h
(1.32 KB)
📄
common_module_tests.c
(13.56 KB)
📄
ctrl_iface_common.c
(4.51 KB)
📄
ctrl_iface_common.h
(1.28 KB)
📄
defs.h
(11 KB)
📄
dhcp.h
(6.95 KB)
📄
dpp.c
(262.26 KB)
📄
dpp.h
(17.72 KB)
📄
dragonfly.c
(5.74 KB)
📄
dragonfly.h
(951 B)
📄
eapol_common.h
(2.48 KB)
📄
gas.c
(6.13 KB)
📄
gas.h
(1.49 KB)
📄
gas_server.c
(13.17 KB)
📄
gas_server.h
(1.19 KB)
📄
hw_features_common.c
(15.15 KB)
📄
hw_features_common.h
(1.78 KB)
📄
ieee802_11_common.c
(46.43 KB)
📄
ieee802_11_common.h
(7.55 KB)
📄
ieee802_11_defs.h
(72.71 KB)
📄
ieee802_1x_defs.h
(1.93 KB)
📄
ocv.c
(4.51 KB)
📄
ocv.h
(1001 B)
📄
privsep_commands.h
(2.25 KB)
📄
qca-vendor-attr.h
(685 B)
📄
qca-vendor.h
(297.31 KB)
📄
sae.c
(38.69 KB)
📄
sae.h
(2.54 KB)
📄
tnc.h
(3.69 KB)
📄
version.h
(329 B)
📄
wpa_common.c
(69.07 KB)
📄
wpa_common.h
(16.49 KB)
📄
wpa_ctrl.c
(18.05 KB)
📄
wpa_ctrl.h
(24.43 KB)
📄
wpa_helpers.c
(5.96 KB)
📄
wpa_helpers.h
(1.31 KB)
Editing: ieee802_1x_defs.h
/* * IEEE Std 802.1X-2010 definitions * Copyright (c) 2013-2014, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef IEEE802_1X_DEFS_H #define IEEE802_1X_DEFS_H #define CS_ID_LEN 8 #define CS_ID_GCM_AES_128 0x0080020001000001ULL #define CS_NAME_GCM_AES_128 "GCM-AES-128" #define CS_ID_GCM_AES_256 0x0080c20001000002ULL #define CS_NAME_GCM_AES_256 "GCM-AES-256" enum macsec_policy { /** * Should secure sessions. * This accepts key server's advice to determine whether to secure the * session or not. */ SHOULD_SECURE, /** * Disabled MACsec - do not secure sessions. */ DO_NOT_SECURE, /** * Should secure sessions, and try to use encryption. * Like @SHOULD_SECURE, this follows the key server's decision. */ SHOULD_ENCRYPT, }; /* IEEE Std 802.1X-2010 - Table 11-6 - MACsec Capability */ enum macsec_cap { /** * MACsec is not implemented */ MACSEC_CAP_NOT_IMPLEMENTED, /** * 'Integrity without confidentiality' */ MACSEC_CAP_INTEGRITY, /** * 'Integrity without confidentiality' and * 'Integrity and confidentiality' with a confidentiality offset of 0 */ MACSEC_CAP_INTEG_AND_CONF, /** * 'Integrity without confidentiality' and * 'Integrity and confidentiality' with a confidentiality offset of 0, * 30, 50 */ MACSEC_CAP_INTEG_AND_CONF_0_30_50, }; enum validate_frames { Disabled, Checked, Strict, }; /* IEEE Std 802.1X-2010 - Table 11-6 - Confidentiality Offset */ enum confidentiality_offset { CONFIDENTIALITY_NONE = 0, CONFIDENTIALITY_OFFSET_0 = 1, CONFIDENTIALITY_OFFSET_30 = 2, CONFIDENTIALITY_OFFSET_50 = 3, }; /* IEEE Std 802.1X-2010 - Table 9-2 */ #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 #endif /* IEEE802_1X_DEFS_H */
Upload File
Create Folder