X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Flcp.h;h=42a43b71e8711c4f935da769a8076af0c54f24d7;hp=271ddc5ef3b62431cef46d85bdc86345242b32f1;hb=642b44a17f5b83cbfbbbca87d85ec0e4d83762cd;hpb=2a09df9e052a1e395d7864ff5865fdea94cadfa3 diff --git a/pppd/lcp.h b/pppd/lcp.h index 271ddc5..42a43b7 100644 --- a/pppd/lcp.h +++ b/pppd/lcp.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.h,v 1.8 1995/06/12 11:22:47 paulus Exp $ + * $Id: lcp.h,v 1.11 1996/08/28 06:40:44 paulus Exp $ */ /* @@ -72,17 +72,14 @@ extern u_int32_t xmit_accm[][8]; #define MINMRU 128 /* No MRUs below this */ #define MAXMRU 16384 /* Normally limit MRU to this */ -void lcp_init __P((int)); void lcp_open __P((int)); -void lcp_close __P((int)); +void lcp_close __P((int, char *)); void lcp_lowerup __P((int)); void lcp_lowerdown __P((int)); -void lcp_input __P((int, u_char *, int)); -void lcp_protrej __P((int)); -void lcp_sprotrej __P((int, u_char *, int)); -int lcp_printpkt __P((u_char *, int, - void (*) __P((void *, char *, ...)), void *)); +void lcp_sprotrej __P((int, u_char *, int)); /* send protocol reject */ + +extern struct protent lcp_protent; /* Default number of times we receive our magic number from the peer before deciding the link is looped-back. */ -#define DEFLOOPBACKFAIL 5 +#define DEFLOOPBACKFAIL 10