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

Go to the source code of this file.

Data Structures

struct  leap_packet
 
struct  leap_packet_raw_t
 
struct  leap_session_t
 

Macros

#define LEAP_HEADER_LEN   3
 
#define PW_LEAP_CHALLENGE   1
 
#define PW_LEAP_FAILURE   4
 
#define PW_LEAP_MAX_CODES   4
 
#define PW_LEAP_RESPONSE   2
 
#define PW_LEAP_SUCCESS   3
 

Typedefs

typedef struct leap_packet_raw_t leap_packet_raw_t
 
typedef struct leap_packet leap_packet_t
 
typedef struct leap_session_t leap_session_t
 

Functions

int eap_leap_compose (REQUEST *request, eap_round_t *auth, leap_packet_t *reply)
 
leap_packet_teap_leap_extract (REQUEST *request, eap_round_t *eap_round)
 
leap_packet_teap_leap_initiate (REQUEST *request, eap_round_t *eap_round, VALUE_PAIR *user_name)
 
void eap_leap_mschap (unsigned char const *win_password, unsigned char const *challenge, unsigned char *response)
 
int eap_leap_stage4 (REQUEST *request, leap_packet_t *packet, VALUE_PAIR *password, leap_session_t *session)
 
leap_packet_teap_leap_stage6 (REQUEST *request, leap_packet_t *packet, VALUE_PAIR *user_name, VALUE_PAIR *password, leap_session_t *session)
 

Data Structure Documentation

struct leap_packet

Definition at line 41 of file eap_leap.h.

Data Fields
unsigned char * challenge
unsigned char code
int count
unsigned char id
size_t length
char * name
size_t name_len
struct leap_packet_raw_t

Definition at line 28 of file eap_leap.h.

Data Fields
uint8_t challenge[1]
uint8_t count
uint8_t unused
uint8_t version
struct leap_session_t

Definition at line 55 of file eap_leap.h.

Data Fields
uint8_t peer_challenge[8]
uint8_t peer_response[24]
int stage

Macro Definition Documentation

#define LEAP_HEADER_LEN   3

Definition at line 17 of file eap_leap.h.

#define PW_LEAP_CHALLENGE   1

Definition at line 8 of file eap_leap.h.

#define PW_LEAP_FAILURE   4

Definition at line 11 of file eap_leap.h.

#define PW_LEAP_MAX_CODES   4

Definition at line 12 of file eap_leap.h.

#define PW_LEAP_RESPONSE   2

Definition at line 9 of file eap_leap.h.

#define PW_LEAP_SUCCESS   3

Definition at line 10 of file eap_leap.h.

Typedef Documentation

typedef struct leap_packet leap_packet_t

Function Documentation

int eap_leap_compose ( REQUEST request,
eap_round_t auth,
leap_packet_t reply 
)

Definition at line 396 of file eap_leap.c.

+ Here is the caller graph for this function:

leap_packet_t* eap_leap_extract ( REQUEST request,
eap_round_t eap_round 
)

Definition at line 59 of file eap_leap.c.

+ Here is the caller graph for this function:

leap_packet_t* eap_leap_initiate ( REQUEST request,
eap_round_t eap_round,
VALUE_PAIR user_name 
)

Definition at line 346 of file eap_leap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void eap_leap_mschap ( unsigned char const *  win_password,
unsigned char const *  challenge,
unsigned char *  response 
)

Definition at line 317 of file smbdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int eap_leap_stage4 ( REQUEST request,
leap_packet_t packet,
VALUE_PAIR password,
leap_session_t session 
)

Definition at line 207 of file eap_leap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

leap_packet_t* eap_leap_stage6 ( REQUEST request,
leap_packet_t packet,
VALUE_PAIR user_name,
VALUE_PAIR password,
leap_session_t session 
)

Definition at line 240 of file eap_leap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: