* 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 $
*/
#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 */
-/* this stuff doesn't belong here... */
-#define SLIOCGUNIT _IOR('t', 88, int) /* get slip unit number */
-
#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 *));
-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 */