aboutsummaryrefslogtreecommitdiffstats
path: root/diameter
diff options
context:
space:
mode:
authorAnders <anders.broman@ericsson.com>2018-06-05 12:41:13 +0200
committerAnders Broman <a.broman58@gmail.com>2018-06-05 10:42:34 +0000
commit7745c093cf56b97cfc0484152d1b9d77b9142ef3 (patch)
tree470ba5bebcac79d3feaf6e4528e0d3b42db85a16 /diameter
parent896049f68f917759383fea498a94276296522e5b (diff)
Diameter: Add some protocol values to AVP Protocol enum.
Change-Id: Ib2543377c5d41bf135cdd2e9a8574a6c71cdb32f Reviewed-on: https://code.wireshark.org/review/28037 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'diameter')
-rw-r--r--diameter/dictionary.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/diameter/dictionary.xml b/diameter/dictionary.xml
index 3626e20741..1186142944 100644
--- a/diameter/dictionary.xml
+++ b/diameter/dictionary.xml
@@ -2270,8 +2270,14 @@
<type type-name="OctetString"/>
</avp>
<avp name="Protocol" code="513" mandatory="may">
- <type type-name="Unsigned32"/>
- </avp>
+ <!-- The values for this AVP are managed by IANA under the Protocol Numbers registry as defined in [RFC2780]
+ For now only add the most common ones to avoid a long value_string (see epan/ipproto.c).
+ -->
+ <type type-name="Enumerated"/>
+ <enum name="TCP Transmission Control" code="6"/>
+ <enum name="UDP User Datagram" code="17"/>
+ <enum name="SCTP Stream Control Transmission Protocol" code="132"/>
+ </avp>
<avp name="Direction" code="514" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
<type type-name="Enumerated"/>
<enum name="IN" code="0"/>