From: Guy Harris Date: Tue, 8 Mar 2011 16:42:45 +0000 (-0800) Subject: Add a link-layer type for a variant of 3GPP TS 27.010. X-Git-Tag: libpcap-1.2.1~81 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/3574c038e7bd77251f041ebe432e60ba74d9ad04 Add a link-layer type for a variant of 3GPP TS 27.010. --- diff --git a/pcap-common.c b/pcap-common.c index 8aa6c4ab..49d4ecd4 100644 --- a/pcap-common.c +++ b/pcap-common.c @@ -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 . + */ +#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 } }; diff --git a/pcap/bpf.h b/pcap/bpf.h index ebd4483c..a60094bd 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -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