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:
parent
9232205821
commit
5f14cec8e2
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue