From Guy Martin:

Add new linktype 243 for MPEG2-TS.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6796

svn path=/trunk/; revision=40884
This commit is contained in:
Anders Broman 2012-02-06 19:15:07 +00:00
parent 9232205821
commit 5f14cec8e2
3 changed files with 7 additions and 1 deletions

View File

@ -378,6 +378,8 @@ static const struct {
{ 241, WTAP_ENCAP_NETANALYZER_TRANSPARENT },
/* IP-over-Infiniband, as specified by RFC 4391 section 6 */
{ 242, WTAP_ENCAP_IP_OVER_IB },
/* ISO/IEC 13818-1 MPEG2-TS packets */
{ 243, WTAP_ENCAP_MPEG_2_TS },
/*
* To repeat:

View File

@ -515,7 +515,10 @@ static struct encap_type_info encap_table_base[] = {
{ "netANALYZER-Transparent", "netanalyzer-transparent" },
/* WTAP_ENCAP_IP_OVER_IB */
{ "IP over Infiniband", "ip-over-ib" }
{ "IP over Infiniband", "ip-over-ib" },
/* WTAP_ENCAP_MPEG_2_TS */
{ "ISO/IEC 13818-1 MPEG2-TS", "mp2ts" }
};
gint wtap_num_encap_types = sizeof(encap_table_base) / sizeof(struct encap_type_info);

View File

@ -227,6 +227,7 @@ extern "C" {
#define WTAP_ENCAP_NETANALYZER 135
#define WTAP_ENCAP_NETANALYZER_TRANSPARENT 136
#define WTAP_ENCAP_IP_OVER_IB 137
#define WTAP_ENCAP_MPEG_2_TS 138
#define WTAP_NUM_ENCAP_TYPES wtap_get_num_encap_types()