aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorgianluca <gianluca>2006-07-19 20:51:50 +0000
committergianluca <gianluca>2006-07-19 20:51:50 +0000
commit303bc7bd43942f5ac2eb974b2dfad718e6c9b32f (patch)
treea8781dcabf3056fadaa6732bff641296f977d779 /pcap-bpf.h
parentd91be5b8afc2d423e1cf2fc71f8c8271a6f8954d (diff)
Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the
right value for CAN). Added the definition of DLT_A429 and LINKTYPE_A429 as #184. Added these two link layers in the global array dlt_choices.
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 3bb4455..e2e4717 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.43 2006-05-20 00:23:45 gianluca Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.44 2006-07-19 20:51:50 gianluca Exp $ (LBL)
*/
/*
@@ -619,13 +619,22 @@ struct bpf_version {
#define DLT_JUNIPER_VP 183
/*
+ * Arinc 429 frames.
+ * DLT_ requested by Gianluca Varenni <gianluca.varenni@cacetech.com>.
+ * Every frame contains a 32bit A429 label.
+ * More documentation on Arinc 429 can be found at
+ * http://www.condoreng.com/support/downloads/tutorials/ARINCTutorial.pdf
+ */
+#define LINKTYPE_A429 184
+
+/*
* 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
+#define DLT_CAN20B 190
/*