]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/lcp.h
increase DEFLOOPBACKFAIL
[ppp.git] / pppd / lcp.h
index 271ddc5ef3b62431cef46d85bdc86345242b32f1..42a43b71e8711c4f935da769a8076af0c54f24d7 100644 (file)
@@ -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