Make it possible to "decode as" NBAP over SCTP, update IANA registered PPID's

for SCTP.

svn path=/trunk/; revision=21927
This commit is contained in:
Anders Broman 2007-05-24 20:42:55 +00:00
parent 05973d7fc9
commit cbb9271a0a
4 changed files with 8 additions and 1 deletions

View File

@ -2955,6 +2955,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);
}

View File

@ -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);
}

View File

@ -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 } };

View File

@ -44,6 +44,7 @@
#define H323_PAYLOAD_PROTOCOL_ID 13
#define QIPC_PAYLOAD_PROTOCOL_ID 14
#define SIMCO_PAYLOAD_PROTOCOL_ID 15
#define DDP_SEG_CHUNK_PROTOCOL_ID 16
#define DDP_STREAM_SES_CTRL_PROTOCOL_ID 17
#define M2TP_PAYLOAD_PROTOCOL_ID 99 /* s-link */
#endif /* sctpppids.h */