#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <ctype.h>
#include <freeradius-devel/radiusd.h>
#include "eap.h"
Go to the source code of this file.
Data Structures | |
struct | chbind_packet_t |
struct | CHBIND_REQ |
Macros | |
#define | CHBIND_CODE_FAILURE 3 |
#define | CHBIND_CODE_REQUEST 1 |
#define | CHBIND_CODE_SUCCESS 2 |
#define | CHBIND_NSID_RADIUS 1 |
Typedefs | |
typedef struct chbind_packet_t | chbind_packet_t |
typedef struct CHBIND_REQ | CHBIND_REQ |
Functions | |
PW_CODE | chbind_process (REQUEST *request, CHBIND_REQ *chbind_req) |
VALUE_PAIR * | eap_chbind_packet2vp (REQUEST *request, chbind_packet_t *packet) |
chbind_packet_t * | eap_chbind_vp2packet (TALLOC_CTX *ctx, VALUE_PAIR *vps) |
struct chbind_packet_t |
Definition at line 39 of file eap_chbind.h.
Data Fields | ||
---|---|---|
uint8_t | code | |
uint8_t | data[1] |
struct CHBIND_REQ |
Definition at line 45 of file eap_chbind.h.
Data Fields | ||
---|---|---|
chbind_packet_t * | request | |
chbind_packet_t * | response | |
VALUE_PAIR * | username |
#define CHBIND_CODE_FAILURE 3 |
Definition at line 56 of file eap_chbind.h.
#define CHBIND_CODE_REQUEST 1 |
Definition at line 54 of file eap_chbind.h.
#define CHBIND_CODE_SUCCESS 2 |
Definition at line 55 of file eap_chbind.h.
#define CHBIND_NSID_RADIUS 1 |
Definition at line 52 of file eap_chbind.h.
typedef struct chbind_packet_t chbind_packet_t |
typedef struct CHBIND_REQ CHBIND_REQ |
PW_CODE chbind_process | ( | REQUEST * | request, |
CHBIND_REQ * | chbind_req | ||
) |
Definition at line 156 of file eap_chbind.c.
VALUE_PAIR* eap_chbind_packet2vp | ( | REQUEST * | request, |
chbind_packet_t * | packet | ||
) |
Definition at line 291 of file eap_chbind.c.
chbind_packet_t* eap_chbind_vp2packet | ( | TALLOC_CTX * | ctx, |
VALUE_PAIR * | vps | ||
) |
Definition at line 245 of file eap_chbind.c.