summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/os.h
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/os.h
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/os.h')
-rw-r--r--usr.sbin/ppp/os.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/ppp/os.h b/usr.sbin/ppp/os.h
index 303e300..a3b013e 100644
--- a/usr.sbin/ppp/os.h
+++ b/usr.sbin/ppp/os.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: os.h,v 1.6 1997/06/09 03:27:32 brian Exp $
+ * $Id: os.h,v 1.7 1997/08/25 00:29:24 brian Exp $
*
* TODO:
*/
@@ -23,12 +23,14 @@
#ifndef _OS_H_
#define _OS_H_
-int OsSetIpaddress(struct in_addr myaddr, struct in_addr hisaddr, struct in_addr netmask);
-int OsInterfaceDown(int);
+int OsSetIpaddress(struct in_addr myaddr, struct in_addr hisaddr,
+ struct in_addr netmask);
+int OsInterfaceDown(int);
void OsSetInterfaceParams(int type, int mtu, int speed);
-int OpenTunnel(int *);
+int OpenTunnel(int *);
void OsCloseLink(int flag);
void OsLinkup(void);
+int OsLinkIsUp(void);
void OsLinkdown(void);
void OsSetRoute(int, struct in_addr, struct in_addr, struct in_addr);
void DeleteIfRoutes(int);
OpenPOWER on IntegriCloud