aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2007-05-24 20:42:55 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2007-05-24 20:42:55 +0000
commite0c74d79a4da020263d8ac2b2c7e5c1bb4435cf3 (patch)
tree8d7f1479d419464cec4a572ed8081eaa3bf72acf /epan/dissectors
parent1abbf0711e8e6b887db86fb2dc3faa551d70e621 (diff)
Make it possible to "decode as" NBAP over SCTP, update IANA registered PPID's
for SCTP. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21927 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-nbap.c2
-rw-r--r--epan/dissectors/packet-sctp.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-nbap.c b/epan/dissectors/packet-nbap.c
index bffc69d633..baa4e2cd90 100644
--- a/epan/dissectors/packet-nbap.c
+++ b/epan/dissectors/packet-nbap.c
@@ -45807,6 +45807,8 @@ proto_reg_handoff_nbap(void)
{
nbap_handle = find_dissector("nbap");
+ /*dissector_add("sctp.ppi", Add ppid here, nbap_handle); */
+ dissector_add("sctp.port", 0, nbap_handle);
}
diff --git a/epan/dissectors/packet-sctp.c b/epan/dissectors/packet-sctp.c
index d95143c519..39afeb5240 100644
--- a/epan/dissectors/packet-sctp.c
+++ b/epan/dissectors/packet-sctp.c
@@ -303,6 +303,8 @@ static const value_string sctp_payload_proto_id_values[] = {
{ H323_PAYLOAD_PROTOCOL_ID, "H.323" },
{ QIPC_PAYLOAD_PROTOCOL_ID, "Q.IPC/Q.2150.3" },
{ SIMCO_PAYLOAD_PROTOCOL_ID, "SIMCO" },
+ { DDP_SEG_CHUNK_PROTOCOL_ID, "DDP Segment Chunk" }, /* [RFC-ietf-rddp-sctp-07.txt] */
+ { DDP_STREAM_SES_CTRL_PROTOCOL_ID, "DDP Stream Session Control" }, /* [RFC-ietf-rddp-sctp-07.txt] */
{ 0, NULL } };