003 File Manager
Current Path:
/usr/src/contrib/wpa/src/eap_common
usr
/
src
/
contrib
/
wpa
/
src
/
eap_common
/
📁
..
📄
chap.c
(602 B)
📄
chap.h
(388 B)
📄
eap_common.c
(7.31 KB)
📄
eap_common.h
(905 B)
📄
eap_defs.h
(3.43 KB)
📄
eap_eke_common.c
(16.75 KB)
📄
eap_eke_common.h
(3.47 KB)
📄
eap_fast_common.c
(7.19 KB)
📄
eap_fast_common.h
(2.87 KB)
📄
eap_gpsk_common.c
(14.28 KB)
📄
eap_gpsk_common.h
(2 KB)
📄
eap_ikev2_common.c
(2.78 KB)
📄
eap_ikev2_common.h
(832 B)
📄
eap_pax_common.c
(4.4 KB)
📄
eap_pax_common.h
(2.2 KB)
📄
eap_peap_common.c
(1.74 KB)
📄
eap_peap_common.h
(425 B)
📄
eap_psk_common.c
(1.52 KB)
📄
eap_psk_common.h
(1.72 KB)
📄
eap_pwd_common.c
(12.25 KB)
📄
eap_pwd_common.h
(2.62 KB)
📄
eap_sake_common.c
(10.64 KB)
📄
eap_sake_common.h
(2.41 KB)
📄
eap_sim_common.c
(31.96 KB)
📄
eap_sim_common.h
(7.62 KB)
📄
eap_teap_common.c
(20.43 KB)
📄
eap_teap_common.h
(5.67 KB)
📄
eap_tlv_common.h
(2.57 KB)
📄
eap_ttls.h
(1.58 KB)
📄
eap_wsc_common.c
(784 B)
📄
eap_wsc_common.h
(644 B)
📄
ikev2_common.c
(17.17 KB)
📄
ikev2_common.h
(8.11 KB)
Editing: eap_ttls.h
/* * EAP server/peer: EAP-TTLS (RFC 5281) * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef EAP_TTLS_H #define EAP_TTLS_H struct ttls_avp { be32 avp_code; be32 avp_length; /* 8-bit flags, 24-bit length; * length includes AVP header */ /* optional 32-bit Vendor-ID */ /* Data */ }; struct ttls_avp_vendor { be32 avp_code; be32 avp_length; /* 8-bit flags, 24-bit length; * length includes AVP header */ be32 vendor_id; /* Data */ }; #define AVP_FLAGS_VENDOR 0x80 #define AVP_FLAGS_MANDATORY 0x40 #define AVP_PAD(start, pos) \ do { \ int __pad; \ __pad = (4 - (((pos) - (start)) & 3)) & 3; \ os_memset((pos), 0, __pad); \ pos += __pad; \ } while (0) /* RFC 2865 */ #define RADIUS_ATTR_USER_NAME 1 #define RADIUS_ATTR_USER_PASSWORD 2 #define RADIUS_ATTR_CHAP_PASSWORD 3 #define RADIUS_ATTR_REPLY_MESSAGE 18 #define RADIUS_ATTR_CHAP_CHALLENGE 60 #define RADIUS_ATTR_EAP_MESSAGE 79 /* RFC 2548 */ #define RADIUS_VENDOR_ID_MICROSOFT 311 #define RADIUS_ATTR_MS_CHAP_RESPONSE 1 #define RADIUS_ATTR_MS_CHAP_ERROR 2 #define RADIUS_ATTR_MS_CHAP_NT_ENC_PW 6 #define RADIUS_ATTR_MS_CHAP_CHALLENGE 11 #define RADIUS_ATTR_MS_CHAP2_RESPONSE 25 #define RADIUS_ATTR_MS_CHAP2_SUCCESS 26 #define RADIUS_ATTR_MS_CHAP2_CPW 27 #define EAP_TTLS_MSCHAPV2_CHALLENGE_LEN 16 #define EAP_TTLS_MSCHAPV2_RESPONSE_LEN 50 #define EAP_TTLS_MSCHAP_CHALLENGE_LEN 8 #define EAP_TTLS_MSCHAP_RESPONSE_LEN 50 #define EAP_TTLS_CHAP_CHALLENGE_LEN 16 #define EAP_TTLS_CHAP_PASSWORD_LEN 16 #endif /* EAP_TTLS_H */
Upload File
Create Folder