summaryrefslogtreecommitdiffstats
path: root/sys/net/if_slvar.h
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1997-09-21 22:02:25 +0000
committergibbs <gibbs@FreeBSD.org>1997-09-21 22:02:25 +0000
commita415512fd4b3c95c87808401c97e649c8ac7f41e (patch)
tree8463ee0d001498dfdefc34fc8911c491b2f0ecf0 /sys/net/if_slvar.h
parent52ace446d29ab170f74f1db02832f24b01e04f20 (diff)
downloadFreeBSD-src-a415512fd4b3c95c87808401c97e649c8ac7f41e.zip
FreeBSD-src-a415512fd4b3c95c87808401c97e649c8ac7f41e.tar.gz
Update for new callout interface.
Diffstat (limited to 'sys/net/if_slvar.h')
-rw-r--r--sys/net/if_slvar.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/net/if_slvar.h b/sys/net/if_slvar.h
index 1621c97..b19bd26 100644
--- a/sys/net/if_slvar.h
+++ b/sys/net/if_slvar.h
@@ -32,12 +32,14 @@
*
* @(#)if_slvar.h 8.3 (Berkeley) 2/1/94
*
- * $Id$
+ * $Id: if_slvar.h,v 1.13 1997/02/22 09:41:06 peter Exp $
*/
#ifndef _NET_IF_SLVAR_H_
#define _NET_IF_SLVAR_H_
+#include <sys/callout.h>
+
/*
* Definitions for SLIP interface data structures
*
@@ -57,7 +59,13 @@ struct sl_softc {
long sc_abortcount; /* number of abort escape chars */
long sc_starttime; /* time of first abort in window */
u_int sc_keepalive; /* time to decide link hang */
- u_int sc_outfill; /* time to send FRAME_END when output idle */
+ u_int sc_outfill; /* time to send FRAME_END when output idle */
+ /*
+ * Handles for scheduling outfill and
+ * keepalive timeouts.
+ */
+ struct callout_handle sc_ofhandle;
+ struct callout_handle sc_kahandle;
#ifdef INET /* XXX */
struct slcompress sc_comp; /* tcp compression data */
#endif
OpenPOWER on IntegriCloud