aboutsummaryrefslogtreecommitdiffstats
path: root/bpf
diff options
context:
space:
mode:
authorguy <guy>2001-04-17 08:10:00 +0000
committerguy <guy>2001-04-17 08:10:00 +0000
commit80788ad3805046c4f398d3355bcf28fa9e4eb658 (patch)
tree1a502aa6807dbcdbf3f0fef818f78d76e3b94612 /bpf
parent5522fb3b20b8c5169f34c90e0897d72401b3aa31 (diff)
Add support for NetBSD DLT_PPP_ETHER, as per the NetBSD libpcap.
Diffstat (limited to 'bpf')
-rw-r--r--bpf/net/bpf.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/bpf/net/bpf.h b/bpf/net/bpf.h
index 57f4297..9244fd3 100644
--- a/bpf/net/bpf.h
+++ b/bpf/net/bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
- * @(#) $Header: /tcpdump/master/libpcap/bpf/net/Attic/bpf.h,v 1.44 2000-12-21 10:29:24 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/bpf/net/Attic/bpf.h,v 1.45 2001-04-17 08:10:02 guy Exp $ (LBL)
*/
#ifndef BPF_MAJOR_VERSION
@@ -212,11 +212,12 @@ struct bpf_hdr {
#define DLT_ATM_CLIP 19 /* Linux Classical-IP over ATM */
/*
- * This value is defined by NetBSD; other platforms should refrain from
- * using it for other purposes, so that NetBSD savefiles with a link
- * type of 50 can be read as this type on all platforms.
+ * These values are defined by NetBSD; other platforms should refrain from
+ * using them for other purposes, so that NetBSD savefiles with link
+ * types of 50 or 51 can be read as this type on all platforms.
*/
#define DLT_PPP_SERIAL 50 /* PPP over serial with HDLC encapsulation */
+#define DLT_PPP_ETHER 51 /* PPP over Ethernet */
/*
* This value was defined by libpcap 0.5; platforms that have defined