summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/lcp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-09-03 00:40:51 +0000
committerbrian <brian@FreeBSD.org>1997-09-03 00:40:51 +0000
commit42c1dbe984c79c814ba81ffa653a825839a60133 (patch)
treedf85d748ce7f5610f631a77e6407b8f2c42adcd7 /usr.sbin/ppp/lcp.c
parent24ac227fe1eed875b0afed20b605ebefdb25b533 (diff)
downloadFreeBSD-src-42c1dbe984c79c814ba81ffa653a825839a60133.zip
FreeBSD-src-42c1dbe984c79c814ba81ffa653a825839a60133.tar.gz
Allow the transition from an idle timeout value
of zero (no timeout) while IPCP is up. Move some prototypes into .h files and re-order some includes.
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r--usr.sbin/ppp/lcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c
index 1538b46..89f3f75 100644
--- a/usr.sbin/ppp/lcp.c
+++ b/usr.sbin/ppp/lcp.c
@@ -17,13 +17,15 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: lcp.c,v 1.27 1997/08/25 00:29:15 brian Exp $
+ * $Id: lcp.c,v 1.28 1997/08/31 22:59:31 brian Exp $
*
* TODO:
* o Validate magic number received from peer.
* o Limit data field length by MRU
*/
#include <sys/time.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include "fsm.h"
#include "lcp.h"
#include "ipcp.h"
@@ -36,14 +38,12 @@
#include "loadalias.h"
#include "vars.h"
#include "auth.h"
-#include <arpa/inet.h>
+#include "timeout.h"
extern void IpcpUp();
extern void IpcpOpen();
extern void SetLinkParams(struct lcpstate *);
extern void Prompt();
-extern void StopIdleTimer();
-extern void OsLinkdown();
extern void Cleanup();
extern struct pppTimer IpcpReportTimer;
extern int randinit;
OpenPOWER on IntegriCloud