]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add a link-layer type for a variant of 3GPP TS 27.010.
authorGuy Harris <[email protected]>
Tue, 8 Mar 2011 16:42:45 +0000 (08:42 -0800)
committerGuy Harris <[email protected]>
Tue, 8 Mar 2011 16:42:45 +0000 (08:42 -0800)
pcap-common.c
pcap/bpf.h

index 8aa6c4ab7f130152494ad2933ef59405f9aef151..49d4ecd4c736a1023bdd59a61d51cc8e63e293c0 100644 (file)
@@ -773,6 +773,12 @@ static const char rcsid[] _U_ =
  */
 #define LINKTYPE_DVB_CI                                235
 
+/*
+ * Variant of 3GPP TS 27.010 multiplexing protocol.  Requested
+ * by Hans-Christoph Schemmel <[email protected]>.
+ */
+#define LINKTYPE_MUX27010                      236
+
 static struct linktype_map {
        int     dlt;
        int     linktype;
@@ -1136,6 +1142,9 @@ static struct linktype_map {
         /* DVB-CI */
        { DLT_DVB_CI,           LINKTYPE_DVB_CI },
 
+       /* Variant of 3GPP TS 27.010 */
+       { DLT_MUX27010,         LINKTYPE_MUX27010 },
+
        { -1,                   -1 }
 };
 
index ebd4483c067188714efd3fba910f3f2301728be6..a60094bd9e5e5126a5a455ad2360d3cedeaaf575 100644 (file)
@@ -1007,6 +1007,13 @@ struct bpf_program {
  */
 #define DLT_DVB_CI                     235
 
+/*
+ * Variant of 3GPP TS 27.010 multiplexing protocol (similar to, but
+ * *not* the same as, 27.010).  Requested by Hans-Christoph Schemmel
+ */
+#define DLT_MUX27010                   236
+
 /*
  * DLT and savefile link type values are split into a class and
  * a member of that class.  A class value of 0 indicates a regular