X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.h;h=a13545b03794cc6d7f745a1c7106b26a9f088bd9;hp=c2ed6671a90ad2b2f6e74e4bb67af21f5f069596;hb=cd28744f82dfd8cfddc67dcf12ca57b91ca6f4c2;hpb=a3396b002507d72b3e1f1169bd02ae018539654b diff --git a/pppd/pppd.h b/pppd/pppd.h index c2ed667..a13545b 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.7 1995/04/24 05:52:37 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,7 @@ 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 */ /* * Values for phase. @@ -152,7 +152,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 /*