aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248_annex_e.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-10-15 16:06:02 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-10-15 16:06:02 +0000
commit4e9771d4bcaaa18790f11b6ce784698ae82c37dd (patch)
tree47cee222d7c463015d178a50467499a3bacb5e66 /epan/dissectors/packet-h248_annex_e.c
parentd20179c6b685b39bc9002fbd4c2e50b3fec2108d (diff)
Upadte to H.248 V3 and add some annex E parameters.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19543 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-h248_annex_e.c')
-rw-r--r--epan/dissectors/packet-h248_annex_e.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/epan/dissectors/packet-h248_annex_e.c b/epan/dissectors/packet-h248_annex_e.c
index 591df336b6..1437c6be7d 100644
--- a/epan/dissectors/packet-h248_annex_e.c
+++ b/epan/dissectors/packet-h248_annex_e.c
@@ -206,6 +206,16 @@ static int hf_h248_pkg_rtp_stat_ps = -1;
static int ett_h248_pkg_rtp = -1;
+static const value_string h248_pkg_rtp_parameters[] = {
+ { 0x0001, "pltrans (Payload Transition)" },
+ { 0x0004, "ps (Packets Sent)" },
+ { 0x0005, "pr (Packets Received)" },
+ { 0x0006, "pl (Packet Loss)" },
+ { 0x0007, "jit (Jitter)" },
+ { 0x0008, "delay (Delay)" },
+ {0, NULL},
+};
+
static h248_pkg_stat_t h248_pkg_rtp_stat[] = {
{ 0x0004, &hf_h248_pkg_rtp_stat_ps, &ett_h248_pkg_rtp, NULL },
{ 0, NULL, NULL, NULL}
@@ -272,6 +282,10 @@ void proto_register_h248_annex_e(void) {
{ &hf_h248_pkg_al_evt_flashhook_par_mindur, { "Minimum duration in ms", "h248.pkg.al.ev.flashhook.mindur", FT_UINT32, BASE_DEC, NULL, 0, "", HFILL }},
/* H.248.1 E.12 RTP package */
{ &hf_h248_pkg_rtp, { "RTP package", "h248.pkg.rtp", FT_BYTES, BASE_HEX, NULL, 0, "", HFILL }},
+ { &hf_h248_pkg_rtp_param,
+ { "Parameter", "h248.pkg.rtp.parameter",
+ FT_UINT16, BASE_HEX, VALS(h248_pkg_rtp_parameters), 0, "Parameter", HFILL }
+ },
{ &hf_h248_pkg_rtp_stat_ps, { "Packets Sent", "h248.pkg.rtp.stat.ps", FT_UINT64, BASE_DEC, NULL, 0, "Packets Sent", HFILL }},
/* H.248.1 E.13 TDM Circuit Package */
{ &hf_h248_pkg_tdmc, { "TDM Circuit Package", "h248.pkg.tdmc", FT_BYTES, BASE_HEX, NULL, 0, "", HFILL }},