BSD 4_4_Lite1 release
[unix-history] / usr / src / sys / net / if_slvar.h
index 0bce6db..e7b2764 100644 (file)
@@ -30,7 +30,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     @(#)if_slvar.h  8.1 (Berkeley) 6/10/93
+ *     @(#)if_slvar.h  8.3 (Berkeley) 2/1/94
  *
  * $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 $
  */
@@ -56,24 +56,25 @@ struct sl_softc {
 #ifdef INET                            /* XXX */
        struct  slcompress sc_comp;     /* tcp compression data */
 #endif
 #ifdef INET                            /* XXX */
        struct  slcompress sc_comp;     /* tcp compression data */
 #endif
+       caddr_t sc_bpf;                 /* BPF data */
 };
 
 };
 
+/* internal flags */
+#define        SC_ERROR        0x0001          /* had an input error */
+
 /* visible flags */
 #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 */
 
 /* visible flags */
 #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... */
-#define        SLIOCGUNIT      _IOR('t', 88, int)      /* get slip unit number */
-
 #ifdef KERNEL
 #ifdef KERNEL
-void    slattach __P((void));
-void    slclose __P((struct tty *));
-void    slinput __P((int, struct tty *));
-int     slioctl __P((struct ifnet *, int, caddr_t));
-int     slopen __P((dev_t, struct tty *));
-int     sloutput __P((struct ifnet *,
+void   slattach __P((void));
+void   slclose __P((struct tty *));
+void   slinput __P((int, struct tty *));
+int    slioctl __P((struct ifnet *, int, caddr_t));
+int    slopen __P((dev_t, struct tty *));
+int    sloutput __P((struct ifnet *,
            struct mbuf *, struct sockaddr *, struct rtentry *));
            struct mbuf *, struct sockaddr *, struct rtentry *));
-void    slstart __P((struct tty *));
-int     sltioctl __P((struct tty *, int, caddr_t, int));
-#endif
+void   slstart __P((struct tty *));
+int    sltioctl __P((struct tty *, int, caddr_t, int));
+#endif /* KERNEL */