forked from osmocom/wireshark
Add native SCTP encapsulation.
svn path=/trunk/; revision=46244
This commit is contained in:
parent
bd3b559725
commit
99d406059f
|
@ -4277,6 +4277,7 @@ proto_reg_handoff_sctp(void)
|
|||
|
||||
data_handle = find_dissector("data");
|
||||
sctp_handle = find_dissector("sctp");
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_SCTP, sctp_handle);
|
||||
dissector_add_uint("ip.proto", IP_PROTO_SCTP, sctp_handle);
|
||||
dissector_add_uint("udp.port", UDP_TUNNELING_PORT, sctp_handle);
|
||||
}
|
||||
|
|
|
@ -392,6 +392,8 @@ static const struct {
|
|||
{ 243, WTAP_ENCAP_MPEG_2_TS },
|
||||
/* NFC LLCP */
|
||||
{ 245, WTAP_ENCAP_NFC_LLCP },
|
||||
/* SCTP */
|
||||
{ 248, WTAP_ENCAP_SCTP},
|
||||
|
||||
/*
|
||||
* To repeat:
|
||||
|
|
|
@ -596,6 +596,9 @@ static struct encap_type_info encap_table_base[] = {
|
|||
|
||||
/* WTAP_ENCAP_AX25 */
|
||||
{ "Amateur Radio AX.25", "ax25" },
|
||||
|
||||
/* WTAP_ENCAP_SCTP */
|
||||
{ "SCTP", "sctp" },
|
||||
};
|
||||
|
||||
gint wtap_num_encap_types = sizeof(encap_table_base) / sizeof(struct encap_type_info);
|
||||
|
|
|
@ -239,6 +239,7 @@ extern "C" {
|
|||
#define WTAP_ENCAP_DBUS 147
|
||||
#define WTAP_ENCAP_AX25_KISS 148
|
||||
#define WTAP_ENCAP_AX25 149
|
||||
#define WTAP_ENCAP_SCTP 150
|
||||
|
||||
#define WTAP_NUM_ENCAP_TYPES wtap_get_num_encap_types()
|
||||
|
||||
|
|
Loading…
Reference in New Issue