The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Macros
eap_mschapv2.h File Reference
#include <freeradius-devel/eap/base.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 FR_EAP_MSCHAPV2_ACK   0
 
#define FR_EAP_MSCHAPV2_CHALLENGE   1
 
#define FR_EAP_MSCHAPV2_CHGPASSWD   7
 
#define FR_EAP_MSCHAPV2_FAILURE   4
 
#define FR_EAP_MSCHAPV2_MAX_CODES   7
 
#define FR_EAP_MSCHAPV2_RESPONSE   2
 
#define FR_EAP_MSCHAPV2_SUCCESS   3
 
#define MSCHAPV2_CHALLENGE_LEN   16
 
#define MSCHAPV2_HEADER_LEN   5
 
#define MSCHAPV2_RESPONSE_LEN   50
 

Data Structure Documentation

◆ mschapv2_header_t

struct mschapv2_header_t

Definition at line 35 of file eap_mschapv2.h.

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

◆ mschapv2_opaque_t

struct mschapv2_opaque_t

Definition at line 42 of file eap_mschapv2.h.

+ Collaboration diagram for mschapv2_opaque_t:
Data Fields
uint8_t auth_challenge[MSCHAPV2_CHALLENGE_LEN]
int code
bool has_peer_challenge
fr_pair_list_t mppe_keys
uint8_t peer_challenge[MSCHAPV2_CHALLENGE_LEN]
fr_pair_list_t reply

Macro Definition Documentation

◆ FR_EAP_MSCHAPV2_ACK

#define FR_EAP_MSCHAPV2_ACK   0

Definition at line 23 of file eap_mschapv2.h.

◆ FR_EAP_MSCHAPV2_CHALLENGE

#define FR_EAP_MSCHAPV2_CHALLENGE   1

Definition at line 24 of file eap_mschapv2.h.

◆ FR_EAP_MSCHAPV2_CHGPASSWD

#define FR_EAP_MSCHAPV2_CHGPASSWD   7

Definition at line 28 of file eap_mschapv2.h.

◆ FR_EAP_MSCHAPV2_FAILURE

#define FR_EAP_MSCHAPV2_FAILURE   4

Definition at line 27 of file eap_mschapv2.h.

◆ FR_EAP_MSCHAPV2_MAX_CODES

#define FR_EAP_MSCHAPV2_MAX_CODES   7

Definition at line 29 of file eap_mschapv2.h.

◆ FR_EAP_MSCHAPV2_RESPONSE

#define FR_EAP_MSCHAPV2_RESPONSE   2

Definition at line 25 of file eap_mschapv2.h.

◆ FR_EAP_MSCHAPV2_SUCCESS

#define FR_EAP_MSCHAPV2_SUCCESS   3

Definition at line 26 of file eap_mschapv2.h.

◆ MSCHAPV2_CHALLENGE_LEN

#define MSCHAPV2_CHALLENGE_LEN   16

Definition at line 32 of file eap_mschapv2.h.

◆ MSCHAPV2_HEADER_LEN

#define MSCHAPV2_HEADER_LEN   5

Definition at line 31 of file eap_mschapv2.h.

◆ MSCHAPV2_RESPONSE_LEN

#define MSCHAPV2_RESPONSE_LEN   50

Definition at line 33 of file eap_mschapv2.h.