X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.h;h=66b0107efca7dc9fc2751a4b820fe16a7da4b530;hp=c2ed6671a90ad2b2f6e74e4bb67af21f5f069596;hb=7ff1691466ad589562e84516e29a4a83bab71e1f;hpb=a3396b002507d72b3e1f1169bd02ae018539654b diff --git a/pppd/pppd.h b/pppd/pppd.h index c2ed667..66b0107 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: pppd.h,v 1.5 1994/09/21 06:47:37 paulus Exp $ + * $Id: pppd.h,v 1.8 1995/04/26 06:46:31 paulus Exp $ */ /* @@ -30,7 +30,7 @@ #include /* for u_int32_t, if defined */ #include -#define N_PPP 1 /* One PPP interface supported (per process) */ +#define NUM_PPP 1 /* One PPP interface supported (per process) */ /* * Limits. @@ -49,7 +49,6 @@ extern int hungup; /* Physical layer has disconnected */ extern int ifunit; /* Interface unit number */ extern char ifname[]; /* Interface name */ extern int fd; /* Serial device file descriptor */ -extern int s; /* Socket descriptor */ extern char hostname[]; /* Our hostname */ extern u_char outpacket_buf[]; /* Buffer for outgoing packets */ extern int phase; /* Current state of link - see values below */ @@ -84,6 +83,8 @@ extern char our_name[]; /* Our name for authentication purposes */ extern char remote_name[]; /* Peer's name for authentication */ extern int usehostname; /* Use hostname for our_name */ extern int disable_defaultip; /* Don't use hostname for default IP adrs */ +extern char *ipparam; /* Extra parameter for ip up/down scripts */ +extern int cryptpap; /* Others' PAP passwords are encrypted */ /* * Values for phase. @@ -152,7 +153,9 @@ void die __P((int)); #define INCPTR(n, cp) ((cp) += (n)) #define DECPTR(n, cp) ((cp) -= (n)) +#undef FALSE #define FALSE 0 +#undef TRUE #define TRUE 1 /*