summaryrefslogtreecommitdiff
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>1999-05-26 19:26:12 +0000
committerBrad Smith <brad@cvs.openbsd.org>1999-05-26 19:26:12 +0000
commitfaf86db5d86ff6f8ef3259c5546db80c09d914dc (patch)
treea75989a130770afc5cfebbbecf35f13dae22fe68 /sys/net/bpf.h
parentde10dac352a86e6b9574c74e453c9ed33226d6c7 (diff)
Implement DLT_RAW, DLT_{SLIP,PPP}_BSDOS from libpcap 0.4
Diffstat (limited to 'sys/net/bpf.h')
-rw-r--r--sys/net/bpf.h5
1 files changed, 4 insertions, 1 deletions
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.