patch-1.3.61 linux/drivers/net/slip.h

Next file: linux/drivers/scsi/NCR5380.c
Previous file: linux/drivers/net/slip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.60/linux/drivers/net/slip.h linux/drivers/net/slip.h
@@ -12,6 +12,8 @@
  *		Alan Cox	:	Added SL_SLIP_LOTS
  *	Dmitry Gorodchanin	:	A lot of changes in the 'struct slip'
  *	Dmitry Gorodchanin	:	Added CSLIP statistics.
+ *	Stanislav Voronyi	:	Make line checking as created by
+ *					Igor Chechik, RELCOM Corp.
  *
  * Author:	Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
  */
@@ -87,6 +89,8 @@
 #define SLF_INUSE	0		/* Channel in use               */
 #define SLF_ESCAPE	1               /* ESC received                 */
 #define SLF_ERROR	2               /* Parity, etc. error           */
+#define SLF_KEEPTEST	4		/* Keepalive test flag		*/
+#define SLF_OUTWAIT	8		/* is outpacket was flag	*/
 
   unsigned char		mode;		/* SLIP mode			*/
 #define SL_MODE_SLIP	0
@@ -95,6 +99,12 @@
 #define SL_MODE_CSLIP6	(SL_MODE_SLIP6|SL_MODE_CSLIP)
 #define SL_MODE_AX25	4
 #define SL_MODE_ADAPTIVE 8
+#ifdef CONFIG_SLIP_SMART  
+  unsigned char		outfill;	/* # of sec betwen outfill packet */
+  unsigned char		keepalive;	/* keepalive seconds		*/
+  struct timer_list	outfill_timer;
+  struct timer_list	keepalive_timer;
+#endif  
 };
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this