forked from osmocom/wireshark
Update SCTP ppids, fix a faulty #define.
svn path=/trunk/; revision=30744
This commit is contained in:
parent
cb33ed4cd7
commit
cd8924f759
|
@ -180,7 +180,7 @@ proto_reg_handoff_nbap(void)
|
|||
dissector_handle_t nbap_handle;
|
||||
|
||||
nbap_handle = find_dissector("nbap");
|
||||
/*dissector_add("sctp.ppi", Add ppid here, nbap_handle); */
|
||||
dissector_add("sctp.ppi", NBAP_PAYLOAD_PROTOCOL_ID, nbap_handle);
|
||||
dissector_add_handle("sctp.port", nbap_handle); /* for "decode-as" */
|
||||
|
||||
#include "packet-nbap-dis-tab.c"
|
||||
|
|
|
@ -171,6 +171,7 @@ proto_reg_handoff_x2ap(void)
|
|||
dissector_handle_t x2ap_handle;
|
||||
|
||||
x2ap_handle = find_dissector("x2ap");
|
||||
dissector_add("sctp.ppi", X2AP_PAYLOAD_PROTOCOL_ID, x2ap_handle);
|
||||
dissector_add_handle("sctp.port", x2ap_handle); /* for "decode-as" */
|
||||
|
||||
#include "packet-x2ap-dis-tab.c"
|
||||
|
|
|
@ -61398,7 +61398,7 @@ proto_reg_handoff_nbap(void)
|
|||
dissector_handle_t nbap_handle;
|
||||
|
||||
nbap_handle = find_dissector("nbap");
|
||||
/*dissector_add("sctp.ppi", Add ppid here, nbap_handle); */
|
||||
dissector_add("sctp.ppi", NBAP_PAYLOAD_PROTOCOL_ID, nbap_handle);
|
||||
dissector_add_handle("sctp.port", nbap_handle); /* for "decode-as" */
|
||||
|
||||
|
||||
|
|
|
@ -351,6 +351,9 @@ static const value_string sctp_payload_proto_id_values[] = {
|
|||
{ FORCES_MP_PAYLOAD_PROTOCOL_ID, "ForCES-MP" },
|
||||
{ FORCES_LP_PAYLOAD_PROTOCOL_ID, "ForCES-LP" },
|
||||
{ SBC_AP_PAYLOAD_PROTOCOL_ID, "SBc-AP" },
|
||||
{ NBAP_PAYLOAD_PROTOCOL_ID, "NBAP" },
|
||||
/* Unassigned 26 */
|
||||
{ X2AP_PAYLOAD_PROTOCOL_ID, "X2AP" },
|
||||
{ 0, NULL } };
|
||||
|
||||
|
||||
|
|
|
@ -4831,6 +4831,7 @@ proto_reg_handoff_x2ap(void)
|
|||
dissector_handle_t x2ap_handle;
|
||||
|
||||
x2ap_handle = find_dissector("x2ap");
|
||||
dissector_add("sctp.ppi", X2AP_PAYLOAD_PROTOCOL_ID, x2ap_handle);
|
||||
dissector_add_handle("sctp.port", x2ap_handle); /* for "decode-as" */
|
||||
|
||||
|
||||
|
@ -4900,7 +4901,7 @@ proto_reg_handoff_x2ap(void)
|
|||
|
||||
|
||||
/*--- End of included file: packet-x2ap-dis-tab.c ---*/
|
||||
#line 177 "packet-x2ap-template.c"
|
||||
#line 178 "packet-x2ap-template.c"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
/*
|
||||
* SCTP payload protocol IDs.
|
||||
* Based on http://www.iana.org/assignments/sctp-parameters
|
||||
* as of August 23rd, 2009
|
||||
* as of October 28th, 2009
|
||||
*/
|
||||
#define NOT_SPECIFIED_PROTOCOL_ID 0
|
||||
#define IUA_PAYLOAD_PROTOCOL_ID 1
|
||||
|
@ -54,6 +54,9 @@
|
|||
#define FORCES_HP_PAYLOAD_PROTOCOL_ID 21
|
||||
#define FORCES_MP_PAYLOAD_PROTOCOL_ID 22
|
||||
#define FORCES_LP_PAYLOAD_PROTOCOL_ID 23
|
||||
#define SBC_AP_PAYLOAD_PROTOCOL_ID 23
|
||||
#define SBC_AP_PAYLOAD_PROTOCOL_ID 24
|
||||
#define NBAP_PAYLOAD_PROTOCOL_ID 25
|
||||
/* Unassigned 26 */
|
||||
#define X2AP_PAYLOAD_PROTOCOL_ID 27
|
||||
#define M2TP_PAYLOAD_PROTOCOL_ID 99 /* s-link */
|
||||
#endif /* sctpppids.h */
|
||||
|
|
Loading…
Reference in New Issue