aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorgianluca <gianluca>2006-05-20 00:23:45 +0000
committergianluca <gianluca>2006-05-20 00:23:45 +0000
commit520a3ea5594674e2b68664a1366aabb25f3c94fe (patch)
treeb898657a1c864d996c9f3b4fddfc9e9eea906038 /pcap-bpf.h
parentb7d2f597d1ab4223c9700808c96de1342cd33c8d (diff)
Added a new DLT and LINKTYPE value for CAN v2.0B frames.
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 8b57de9..3bb4455 100644
--- a/pcap-bpf.h
+++ b/pcap-bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
- * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.42 2006-05-18 08:40:52 hannes Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.43 2006-05-20 00:23:45 gianluca Exp $ (LBL)
*/
/*
@@ -618,6 +618,15 @@ struct bpf_version {
*/
#define DLT_JUNIPER_VP 183
+/*
+ * Controller Area Network (CAN) v. 2.0B packets.
+ * DLT_ requested by Gianluca Varenni <gianluca.varenni@cacetech.com>.
+ * Used to dump CAN packets coming from a CAN Vector board.
+ * More documentation on the CAN v2.0B frames can be found at
+ * http://www.can-cia.org/downloads/?269
+ */
+#define DLT_CAN20B 184
+
/*
* The instruction encodings.