From 303bc7bd43942f5ac2eb974b2dfad718e6c9b32f Mon Sep 17 00:00:00 2001 From: gianluca Date: Wed, 19 Jul 2006 20:51:50 +0000 Subject: 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. --- pcap-bpf.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'pcap-bpf.h') 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) */ /* @@ -618,6 +618,15 @@ struct bpf_version { */ #define DLT_JUNIPER_VP 183 +/* + * Arinc 429 frames. + * DLT_ requested by Gianluca Varenni . + * 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 . @@ -625,7 +634,7 @@ struct bpf_version { * 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 /* -- cgit v1.2.3