All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
eap_mschapv2.h File Reference
#include "eap.h"
+ Include dependency graph for eap_mschapv2.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mschapv2_header_t
 
struct  mschapv2_opaque_t
 

Macros

#define MSCHAPV2_CHALLENGE_LEN   16
 
#define MSCHAPV2_HEADER_LEN   5
 
#define MSCHAPV2_RESPONSE_LEN   50
 
#define PW_EAP_MSCHAPV2_ACK   0
 
#define PW_EAP_MSCHAPV2_CHALLENGE   1
 
#define PW_EAP_MSCHAPV2_CHGPASSWD   7
 
#define PW_EAP_MSCHAPV2_FAILURE   4
 
#define PW_EAP_MSCHAPV2_MAX_CODES   7
 
#define PW_EAP_MSCHAPV2_RESPONSE   2
 
#define PW_EAP_MSCHAPV2_SUCCESS   3
 

Typedefs

typedef struct mschapv2_header_t mschapv2_header_t
 
typedef struct mschapv2_opaque_t mschapv2_opaque_t
 

Data Structure Documentation

struct mschapv2_header_t

Definition at line 37 of file eap_mschapv2.h.

Data Fields
uint8_t ms_length[2]
uint8_t mschapv2_id
uint8_t opcode
uint8_t value_size
struct mschapv2_opaque_t

Definition at line 44 of file eap_mschapv2.h.

+ Collaboration diagram for mschapv2_opaque_t:
Data Fields
uint8_t challenge[MSCHAPV2_CHALLENGE_LEN]
int code
VALUE_PAIR * mppe_keys
VALUE_PAIR * reply

Macro Definition Documentation

#define MSCHAPV2_CHALLENGE_LEN   16

Definition at line 34 of file eap_mschapv2.h.

#define MSCHAPV2_HEADER_LEN   5

Definition at line 33 of file eap_mschapv2.h.

#define MSCHAPV2_RESPONSE_LEN   50

Definition at line 35 of file eap_mschapv2.h.

#define PW_EAP_MSCHAPV2_ACK   0

Definition at line 25 of file eap_mschapv2.h.

#define PW_EAP_MSCHAPV2_CHALLENGE   1

Definition at line 26 of file eap_mschapv2.h.

#define PW_EAP_MSCHAPV2_CHGPASSWD   7

Definition at line 30 of file eap_mschapv2.h.

#define PW_EAP_MSCHAPV2_FAILURE   4

Definition at line 29 of file eap_mschapv2.h.

#define PW_EAP_MSCHAPV2_MAX_CODES   7

Definition at line 31 of file eap_mschapv2.h.

#define PW_EAP_MSCHAPV2_RESPONSE   2

Definition at line 27 of file eap_mschapv2.h.

#define PW_EAP_MSCHAPV2_SUCCESS   3

Definition at line 28 of file eap_mschapv2.h.

Typedef Documentation