diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-10-04 22:24:16 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-10-04 22:24:16 +0000 |
commit | 9e8433e6e0c7b02d82e3f294de252f5200eff94e (patch) | |
tree | 2fe87f819c9da98ccb878d0641f4b626f15c348d /sys/net/if_sppp.h | |
parent | 1d8812734b81792c913f6b949062e7c5a45d2403 (diff) |
This upgrades the driver for Cronyx-Sigma multiplexor boards
from version 1.2 to version 1.9.
Submitted by: Serge Vakulenko, <vak@cronyx.ru>
Notes
Notes:
svn path=/head/; revision=11189
Diffstat (limited to 'sys/net/if_sppp.h')
-rw-r--r-- | sys/net/if_sppp.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/net/if_sppp.h b/sys/net/if_sppp.h index c9159778d150..5a4d1734cea2 100644 --- a/sys/net/if_sppp.h +++ b/sys/net/if_sppp.h @@ -11,7 +11,7 @@ * or modify this software as long as this message is kept with the software, * all derivative works or modified versions. * - * Version 1.1, Thu Oct 27 21:15:02 MSK 1994 + * Version 1.7, Wed Jun 7 22:12:02 MSD 1995 */ #ifndef _NET_IF_HDLC_H_ @@ -20,12 +20,13 @@ struct slcp { u_short state; /* state machine */ u_long magic; /* local magic number */ - u_long rmagic; /* remote magic number */ - u_char lastid; /* id of last keepalive echo request */ + u_char echoid; /* id of last keepalive echo request */ + u_char confid; /* id of last configuration request */ }; struct sipcp { u_short state; /* state machine */ + u_char confid; /* id of last configuration request */ }; struct sppp { @@ -43,6 +44,7 @@ struct sppp { #define PP_KEEPALIVE 0x01 /* use keepalive protocol */ #define PP_CISCO 0x02 /* use Cisco protocol instead of PPP */ +#define PP_TIMO 0x04 /* cp_timeout routine active */ #define PP_MTU 1500 /* max. transmit unit */ @@ -62,8 +64,9 @@ void sppp_detach (struct ifnet *ifp); void sppp_input (struct ifnet *ifp, struct mbuf *m); int sppp_output (struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, struct rtentry *rt); -int sppp_ioctl (struct ifnet *ifp, int cmd, caddr_t data); +int sppp_ioctl (struct ifnet *ifp, int cmd, void *data); struct mbuf *sppp_dequeue (struct ifnet *ifp); +int sppp_isempty (struct ifnet *ifp); void sppp_flush (struct ifnet *ifp); #endif |