aboutsummaryrefslogtreecommitdiffstats
path: root/savefile.c
diff options
context:
space:
mode:
authorguy <guy>2007-07-19 06:19:54 +0000
committerguy <guy>2007-07-19 06:19:54 +0000
commit16a4196dcf4de4e2b27e8e67e7ae2c3b7fa7c99e (patch)
tree5a8fffaad3417ed7b01a618bbf4801bfc9eeae6e /savefile.c
parent1e678955adb872e9470c730862c1720b27f371cc (diff)
Various link-layer types, with a pseudo-header, for SITA
(http://www.sita.aero/); requested by Fulko Hew (fulko.hew@gmail.com).
Diffstat (limited to 'savefile.c')
-rw-r--r--savefile.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/savefile.c b/savefile.c
index c7628c8..1b40fd8 100644
--- a/savefile.c
+++ b/savefile.c
@@ -30,7 +30,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.158 2007-06-11 10:04:25 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.159 2007-07-19 06:19:54 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -525,6 +525,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;
@@ -773,6 +779,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 }
};