]> The Tcpdump Group git mirrors - libpcap/commitdiff
Various link-layer types, with a pseudo-header, for SITA
authorguy <guy>
Thu, 19 Jul 2007 06:19:54 +0000 (06:19 +0000)
committerguy <guy>
Thu, 19 Jul 2007 06:19:54 +0000 (06:19 +0000)
(http://www.sita.aero/); requested by Fulko Hew ([email protected]).

pcap/bpf.h
savefile.c

index 877058745f44c7a40edfd4023673638c373a99ef..78961ac7e3b4815603db99dbe9a8e4af059e8f6c 100644 (file)
@@ -37,7 +37,7 @@
  *
  *      @(#)bpf.h       7.1 (Berkeley) 5/7/91
  *
- * @(#) $Header: /tcpdump/master/libpcap/pcap/bpf.h,v 1.11 2007-06-05 18:02:29 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap/bpf.h,v 1.12 2007-07-19 06:19:54 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 ([email protected]).
+ */
+#define DLT_SITA               196
+
 
 /*
  * The instruction encodings.
index c7628c89f30cdc1f1629dffcad8e4200569d1268..1b40fd8d7ccc528d7c95a69058588b07d1531cbc 100644 (file)
@@ -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 ([email protected]).
+ */
+#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 }
 };