Add extra argument to VOP_BMAP.
[unix-history] / usr / src / sys / net / if_slvar.h
index c8723e3..45f3adb 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)if_slvar.h  7.7 (Berkeley) %G%
+ *     @(#)if_slvar.h  7.9 (Berkeley) %G%
  *
  * $Header: if_slvar.h,v 1.3 89/05/31 02:25:18 van Exp $
  */
  *
  * $Header: if_slvar.h,v 1.3 89/05/31 02:25:18 van Exp $
  */
@@ -24,24 +24,18 @@ struct sl_softc {
        u_char  *sc_buf;                /* input buffer */
        u_int   sc_flags;               /* see below */
        u_int   sc_escape;      /* =1 if last char input was FRAME_ESCAPE */
        u_char  *sc_buf;                /* input buffer */
        u_int   sc_flags;               /* see below */
        u_int   sc_escape;      /* =1 if last char input was FRAME_ESCAPE */
-       u_int   sc_bytessent;
-       u_int   sc_bytesrcvd;
        long    sc_lasttime;            /* last time a char arrived */
        long    sc_lasttime;            /* last time a char arrived */
-       long    sc_starttime;           /* last time a char arrived */
        long    sc_abortcount;          /* number of abort esacpe chars */
        long    sc_abortcount;          /* number of abort esacpe chars */
+       long    sc_starttime;           /* time of first abort in window */
 #ifdef INET                            /* XXX */
        struct  slcompress sc_comp;     /* tcp compression data */
 #endif
 };
 
 /* visible flags */
 #ifdef INET                            /* XXX */
        struct  slcompress sc_comp;     /* tcp compression data */
 #endif
 };
 
 /* visible flags */
-#define        SC_COMPRESS     0x0002          /* compress TCP traffic */
-#define        SC_NOICMP       0x0004          /* supress ICMP traffic */
-#define        SC_AUTOCOMP     0x0008          /* auto-enable TCP compression */
-/* internal flags (should be separate) */
-#define        SC_ABORT        0x10000         /* have been sent an abort request */
+#define        SC_COMPRESS     IFF_LINK0       /* compress TCP traffic */
+#define        SC_NOICMP       IFF_LINK1       /* supress ICMP traffic */
+#define        SC_AUTOCOMP     IFF_LINK2       /* auto-enable TCP compression */
 
 /* this stuff doesn't belong here... */
 
 /* this stuff doesn't belong here... */
-#define        SLIOCGFLAGS     _IOR('t', 90, int)      /* get configuration flags */
-#define        SLIOCSFLAGS     _IOW('t', 89, int)      /* set configuration flags */
 #define        SLIOCGUNIT      _IOR('t', 88, int)      /* get slip unit number */
 #define        SLIOCGUNIT      _IOR('t', 88, int)      /* get slip unit number */