X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fecp.h;h=5a0df4d1468120fdf53f01ebb74a6c8e76ed43fa;hb=607d8eadccfd62c1fa84a36bd1440bd48b4e55ca;hp=162dace7e07915c62cc39198eb56be2b146dfe03;hpb=ab4d4992050ec171e1c72d661a3457efc8e7c141;p=ppp.git diff --git a/pppd/ecp.h b/pppd/ecp.h index 162dace..5a0df4d 100644 --- a/pppd/ecp.h +++ b/pppd/ecp.h @@ -30,8 +30,16 @@ * * $Id: ecp.h,v 1.2 2003/01/10 07:12:36 fcusack Exp $ */ +#ifndef PPP_ECP_H +#define PPP_ECP_H + #include "pppdconf.h" +#ifndef PPP_ECP +#define PPP_ECP 0x8053 +#endif + + typedef struct ecp_options { bool required; /* Is ECP required? */ unsigned enctype; /* Encryption type */ @@ -44,3 +52,5 @@ extern ecp_options ecp_allowoptions[]; extern ecp_options ecp_hisoptions[]; extern struct protent ecp_protent; + +#endif