X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Feap.h;h=5d582bc6e2db60ad61ec194ec55347674dcffa8e;hb=4a54e34cf5629f9fed61f0b7d69ee3ba4d874bc6;hp=f72fe61bcbfe1c3d30379a42817d67e6b6530130;hpb=d070cc4486b6d0828066ba68ff7ba4092e2f7e55;p=ppp.git diff --git a/pppd/eap.h b/pppd/eap.h index f72fe61..5d582bc 100644 --- a/pppd/eap.h +++ b/pppd/eap.h @@ -20,6 +20,8 @@ * $Id: eap.h,v 1.2 2003/06/11 23:56:26 paulus Exp $ */ +#include "pppdconf.h" + #ifndef PPP_EAP_H #define PPP_EAP_H @@ -146,6 +148,9 @@ struct eap_auth { enum eap_state_code ea_state; #ifdef USE_EAPTLS enum eap_state_code ea_prev_state; +#endif +#ifdef CHAPMS + struct chap_digest_type *digest; #endif u_char ea_id; /* Current id */ u_char ea_requests; /* Number of Requests sent/received */ @@ -164,6 +169,9 @@ typedef struct eap_state { int es_unit; /* Interface unit number */ struct eap_auth es_client; /* Client (authenticatee) data */ struct eap_auth es_server; /* Server (authenticator) data */ +#ifdef USE_PEAP + struct peap_state *ea_peap; /* Client PEAP (authenticator) data */ +#endif int es_savedtime; /* Saved timeout */ int es_rechallenge; /* EAP rechallenge interval */ int es_lwrechallenge; /* SRP lightweight rechallenge inter */