24 #define AVP_FLAGS_VENDOR 0x80
25 #define AVP_FLAGS_MANDATORY 0x40
27 #define AVP_PAD(start, pos) \
30 __pad = (4 - (((pos) - (start)) & 3)) & 3; \
31 os_memset((pos), 0, __pad); \
37 #define RADIUS_ATTR_USER_NAME 1
38 #define RADIUS_ATTR_USER_PASSWORD 2
39 #define RADIUS_ATTR_CHAP_PASSWORD 3
40 #define RADIUS_ATTR_REPLY_MESSAGE 18
41 #define RADIUS_ATTR_CHAP_CHALLENGE 60
42 #define RADIUS_ATTR_EAP_MESSAGE 79
45 #define RADIUS_VENDOR_ID_MICROSOFT 311
46 #define RADIUS_ATTR_MS_CHAP_RESPONSE 1
47 #define RADIUS_ATTR_MS_CHAP_ERROR 2
48 #define RADIUS_ATTR_MS_CHAP_NT_ENC_PW 6
49 #define RADIUS_ATTR_MS_CHAP_CHALLENGE 11
50 #define RADIUS_ATTR_MS_CHAP2_RESPONSE 25
51 #define RADIUS_ATTR_MS_CHAP2_SUCCESS 26
52 #define RADIUS_ATTR_MS_CHAP2_CPW 27
54 #define EAP_TTLS_MSCHAPV2_CHALLENGE_LEN 16
55 #define EAP_TTLS_MSCHAPV2_RESPONSE_LEN 50
56 #define EAP_TTLS_MSCHAP_CHALLENGE_LEN 8
57 #define EAP_TTLS_MSCHAP_RESPONSE_LEN 50
58 #define EAP_TTLS_CHAP_CHALLENGE_LEN 16
59 #define EAP_TTLS_CHAP_PASSWORD_LEN 16
Definition: eap_ttls.h:16