summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf.c3
-rw-r--r--sys/net/bpf.h5
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 47cbc11a0a0..65fd1e3a1ef 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.15 1999/04/22 20:02:42 art Exp $ */
+/* $OpenBSD: bpf.c,v 1.16 1999/05/26 19:26:11 brad Exp $ */
/* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */
/*
@@ -168,6 +168,7 @@ bpf_movein(uio, linktype, mp, sockp)
hlen = 24;
break;
+ case DLT_RAW:
case DLT_NULL:
sockp->sa_family = AF_UNSPEC;
hlen = 0;
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index a6bfd36a2c1..ecc10b0fe28 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.h,v 1.8 1998/06/26 09:13:11 deraadt Exp $ */
+/* $OpenBSD: bpf.h,v 1.9 1999/05/26 19:26:11 brad Exp $ */
/* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */
/*
@@ -181,6 +181,9 @@ struct bpf_hdr {
#define DLT_ATM_RFC1483 11 /* LLC/SNAP encapsulated atm */
#define DLT_LOOP 12 /* loopback type (af header) */
#define DLT_ENC 13 /* IPSEC enc type (af header, spi, flags) */
+#define DLT_RAW 12 /* raw IP */
+#define DLT_SLIP_BSDOS 13 /* BSD/OS Serial Line IP */
+#define DLT_PPP_BSDOS 14 /* BSD/OS Point-to-point Protocol */
/*
* The instruction encondings.