dect
/
libpcap
Archived
13
0
Fork 0

Various link-layer types, with a pseudo-header, for SITA

(http://www.sita.aero/); requested by Fulko Hew (fulko.hew@gmail.com).
This commit is contained in:
guy 2007-07-19 06:20:53 +00:00
parent 245aeeded0
commit 9c78ee4ef1
2 changed files with 17 additions and 2 deletions

View File

@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
* @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.34.2.19 2007-06-05 18:07:03 guy Exp $ (LBL)
* @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.34.2.20 2007-07-19 06:20:53 guy Exp $ (LBL)
*/
/*
@ -701,6 +701,12 @@ struct bpf_version {
*/
#define DLT_IEEE802_15_4 195
/*
* Various link-layer types, with a pseudo-header, for SITA
* (http://www.sita.aero/); requested by Fulko Hew (fulko.hew@gmail.com).
*/
#define DLT_SITA 196
/*
* The instruction encodings.

View File

@ -30,7 +30,7 @@
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.126.2.26 2007-06-11 09:52:05 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.126.2.27 2007-07-19 06:20:53 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@ -524,6 +524,12 @@ static const char rcsid[] _U_ =
*/
#define LINKTYPE_IEEE802_15_4 195
/*
* Various link-layer types, with a pseudo-header, for SITA
* (http://www.sita.aero/); requested by Fulko Hew (fulko.hew@gmail.com).
*/
#define LINKTYPE_SITA 196
static struct linktype_map {
int dlt;
@ -772,6 +778,9 @@ static struct linktype_map {
/* IEEE 802.15.4 exactly as it appears in the spec */
{ DLT_IEEE802_15_4, LINKTYPE_IEEE802_15_4 },
/* Various link-layer types for SITA */
{ DLT_SITA, LINKTYPE_SITA },
{ -1, -1 }
};