Classes | |
struct | chap_state |
Defines | |
#define | CHAP_HEADERLEN 4 |
#define | CHAP_DIGEST_MD5 5 |
#define | MD5_SIGNATURE_SIZE 16 |
#define | CHAP_MICROSOFT 0x80 |
#define | MS_CHAP_RESPONSE_LEN 49 |
#define | CHAP_CHALLENGE 1 |
#define | CHAP_RESPONSE 2 |
#define | CHAP_SUCCESS 3 |
#define | CHAP_FAILURE 4 |
#define | MIN_CHALLENGE_LENGTH 32 |
#define | MAX_CHALLENGE_LENGTH 64 |
#define | MAX_RESPONSE_LENGTH 64 |
#define | CHAPCS_INITIAL 0 |
#define | CHAPCS_CLOSED 1 |
#define | CHAPCS_PENDING 2 |
#define | CHAPCS_LISTEN 3 |
#define | CHAPCS_RESPONSE 4 |
#define | CHAPCS_OPEN 5 |
#define | CHAPSS_INITIAL 0 |
#define | CHAPSS_CLOSED 1 |
#define | CHAPSS_PENDING 2 |
#define | CHAPSS_INITIAL_CHAL 3 |
#define | CHAPSS_OPEN 4 |
#define | CHAPSS_RECHALLENGE 5 |
#define | CHAPSS_BADAUTH 6 |
Typedefs | |
typedef struct chap_state | chap_state |
Functions | |
void | ChapAuthWithPeer (int, char *, u_char) |
void | ChapAuthPeer (int, char *, u_char) |
Variables | |
chap_state | chap [] |
struct protent | chap_protent |
#define CHAP_CHALLENGE 1 |
#define CHAP_DIGEST_MD5 5 |
#define CHAP_FAILURE 4 |
#define CHAP_HEADERLEN 4 |
#define CHAP_MICROSOFT 0x80 |
#define CHAP_RESPONSE 2 |
#define CHAP_SUCCESS 3 |
#define CHAPCS_CLOSED 1 |
#define CHAPCS_INITIAL 0 |
#define CHAPCS_LISTEN 3 |
#define CHAPCS_OPEN 5 |
#define CHAPCS_PENDING 2 |
#define CHAPCS_RESPONSE 4 |
#define CHAPSS_BADAUTH 6 |
#define CHAPSS_CLOSED 1 |
#define CHAPSS_INITIAL 0 |
#define CHAPSS_INITIAL_CHAL 3 |
#define CHAPSS_OPEN 4 |
#define CHAPSS_PENDING 2 |
#define CHAPSS_RECHALLENGE 5 |
#define MAX_CHALLENGE_LENGTH 64 |
#define MAX_RESPONSE_LENGTH 64 |
#define MD5_SIGNATURE_SIZE 16 |
#define MIN_CHALLENGE_LENGTH 32 |
#define MS_CHAP_RESPONSE_LEN 49 |
typedef struct chap_state chap_state |
void ChapAuthPeer | ( | int | , | |
char * | , | |||
u_char | ||||
) |
void ChapAuthWithPeer | ( | int | , | |
char * | , | |||
u_char | ||||
) |
struct protent chap_protent |