diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-12-31 00:24:50 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-12-31 00:24:50 +0000 |
commit | 86fcc4e5b4f8ba7bb2d1d760aae632d67f803199 (patch) | |
tree | adfec0c0ac0998dbaea6ec6186df133a1db09a2b /epan/dissectors/packet-pdcp-lte.c | |
parent | 503ad04870009736f6c3235a7f04364eb1a1d46d (diff) |
Add current list of ROHC profile names, taken from:
http://www.iana.org/assignments/rohc-pro-ids/rohc-pro-ids.txt
As raised by bug 5536, we now at least show which profile is present.
Supporting all of the specific message types is another matter...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35314 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-pdcp-lte.c')
-rw-r--r-- | epan/dissectors/packet-pdcp-lte.c | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c index 2837826075..55fc09ac4f 100644 --- a/epan/dissectors/packet-pdcp-lte.c +++ b/epan/dissectors/packet-pdcp-lte.c @@ -46,9 +46,8 @@ /* TODO: - - Update to latest version of 36.323 - Complete ROHC support for RTP and extend to other profiles (including ROHCv2) - - Support for decryption + - Support for deciphering - Verify MAC authentication bytes */ @@ -228,13 +227,26 @@ static const value_string rohc_mode_vals[] = { }; -/* TODO: add more */ +/* Values taken from: + http://www.iana.org/assignments/rohc-pro-ids/rohc-pro-ids.txt */ static const value_string rohc_profile_vals[] = { - { 0, "Uncompressed" }, - { 1, "RTP" }, - { 2, "UDP" }, - { 3, "ESP/IP" }, - { 0, NULL } + { 0x0000, "ROHC uncompressed" }, /* [RFC5795] */ + { 0x0001, "ROHC RTP" }, /* [RFC3095] */ + { 0x0101, "ROHCv2 RTP" }, /* [RFC5225] */ + { 0x0002, "ROHC UDP" }, /* [RFC3095] */ + { 0x0102, "ROHCv2 UDP" }, /* [RFC5225] */ + { 0x0003, "ROHC ESP" }, /* [RFC3095] */ + { 0x0103, "ROHCv2 ESP" }, /* [RFC5225] */ + { 0x0004, "ROHC IP" }, /* [RFC3843] */ + { 0x0104, "ROHCv2 IP" }, /* [RFC5225] */ + { 0x0005, "ROHC LLA" }, /* [RFC4362] */ + { 0x0105, "ROHC LLA with R-mode" }, /* [RFC3408] */ + { 0x0006, "ROHC TCP" }, /* [RFC4996] */ + { 0x0007, "ROHC RTP/UDP-Lite" }, /* [RFC4019] */ + { 0x0107, "ROHCv2 RTP/UDP-Lite" }, /* [RFC5225] */ + { 0x0008, "ROHC UDP-Lite" }, /* [RFC4019] */ + { 0x0108, "ROHCv2 UDP-Lite" }, /* [RFC5225] */ + { 0, NULL } }; static const value_string pdu_type_vals[] = { |