summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd/lcp.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-03-25 15:56:24 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-03-25 15:56:24 +0000
commit6967ae698477e809eb79f71e8ee2b9db37c9183a (patch)
tree1decc90a7a3407dfdf7cdc3ff4aa11c2aa9ef862 /usr.sbin/pppd/lcp.h
parent22a628436b9c63f1069f0a15af3684d68574d575 (diff)
From NetBSD: merge of 960317
Diffstat (limited to 'usr.sbin/pppd/lcp.h')
-rw-r--r--usr.sbin/pppd/lcp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/pppd/lcp.h b/usr.sbin/pppd/lcp.h
index 7182223bedb..196a15ce10f 100644
--- a/usr.sbin/pppd/lcp.h
+++ b/usr.sbin/pppd/lcp.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: lcp.h,v 1.2 1996/03/25 15:55:47 niklas Exp $ */
+
/*
* lcp.h - Link Control Protocol definitions.
*
@@ -15,8 +17,6 @@
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- * $Id: lcp.h,v 1.1 1995/10/18 08:47:59 deraadt Exp $
*/
/*
@@ -74,7 +74,7 @@ extern u_int32_t xmit_accm[][8];
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));
@@ -83,6 +83,8 @@ void lcp_sprotrej __P((int, u_char *, int));
int lcp_printpkt __P((u_char *, int,
void (*) __P((void *, char *, ...)), void *));
+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