From: [email protected]
[mailto:[email protected]] On Behalf Of Rahul Rohit
Sent: den 17 februari 2014 08:29
To: [email protected]
Subject: [Wireshark-dev] query regarding handoff function
>Hi,
>If the handoff function includes all those protocols to which the packets can
>be forwarded for dissection from the current protocol, why the handoff
>function for sctp does not contain the handle of >NBAP protocol( As depending
>on the port value the packets from sctp can be forwarded to NBAP protocols ,
>why NBAP handle is not in sctp handoff function ) ??
Because that's not the way it works :)
proto_reg_handoff_sctp()
Is called so the SCTP dissector can do its own registrations.
In void proto_register_sctp(void)
The SCTP dissector registers two dissector tables.
sctp_port_dissector_table = register_dissector_table("sctp.port", "SCTP port",
FT_UINT16, BASE_DEC);
sctp_ppi_dissector_table = register_dissector_table("sctp.ppi", "SCTP payload
protocol identifier", FT_UINT32, BASE_HEX);
Any dissector wanting to be called from the SCTP dissector needs to register in
those tables in its own handoff routine. In the menu bar there is an "internal"
menu
In that menu you can get a list of the dissector tables and what's been
registered in them.
Best regards
Anders
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe