X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Feap.h;h=01697a8b4b85c1eb1d4945759d21ce2d16d095e5;hb=509f04959ad891d7f981f035ed461d51bd1f74b0;hp=d45f093d5f9d100e4c9b4fd822e8bb8dc1a57318;hpb=b2c21894e165d7a0b4f1600fd8a8fd1b21305752;p=ppp.git diff --git a/pppd/eap.h b/pppd/eap.h index d45f093..01697a8 100644 --- a/pppd/eap.h +++ b/pppd/eap.h @@ -20,15 +20,21 @@ * $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 +#include "pppdconf.h" + #ifdef __cplusplus extern "C" { #endif + +#ifndef PPP_EAP +#define PPP_EAP 0xc227 +#endif + + /* * Packet header = Code, id, length. */ @@ -169,7 +175,7 @@ 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 +#ifdef PPP_WITH_PEAP struct peap_state *ea_peap; /* Client PEAP (authenticator) data */ #endif int es_savedtime; /* Saved timeout */