wireshark/plugins/wimax
João Valverde 5968fc1cae Rename UseMakeDissectorReg.cmake
Change-Id: I2723e7f0309dbe21f23b65818fbea3a7eadf13d4
Reviewed-on: https://code.wireshark.org/review/24514
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2017-11-20 21:31:38 +00:00
..
AUTHORS
CMakeLists.txt Rename UseMakeDissectorReg.cmake 2017-11-20 21:31:38 +00:00
Makefile.am autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
README.wimax Unsplit "m2m" plugin (wimax mac-to-mac encapsulation) 2017-10-01 16:05:05 +00:00
crc.c Fix shadow variable warnings. 2016-07-24 15:16:14 +00:00
crc.h
crc_data.c
mac_hd_generic_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
mac_hd_type1_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
mac_hd_type2_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
mac_mgmt_msg_decoder.c Don't do any Decode As stuff for dissector tables not used with Decode As. 2016-08-31 00:08:01 +00:00
moduleinfo.h Unsplit "m2m" plugin (wimax mac-to-mac encapsulation) 2017-10-01 16:05:05 +00:00
msg_aas_beam.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_aas_fbck.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_arq.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_clk_cmp.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_dcd.c Remove proto_item_append_text calls in favor of BASE_UNIT_STRING. 2016-12-16 03:04:11 +00:00
msg_dlmap.c Follow up for proto_tree_add_checksum. 2016-07-27 03:40:02 +00:00
msg_dreg.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_dsa.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_dsc.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_dsd.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_dsx_rvd.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_fpc.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_pkm.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_pmc.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_prc_lt_ctrl.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_reg_req.c Rename BASE_VALS_NO_UNKNOWN to BASE_SPECIAL_VALS. 2017-04-18 22:28:07 +00:00
msg_reg_rsp.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_rep.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_res_cmd.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_rng_req.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_rng_rsp.c Make sure we know that a RNG_RSP_DL_FREQ_OVERRIDE item is present. 2016-12-23 09:02:37 +00:00
msg_sbc.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
msg_ucd.c Remove proto_item_append_text calls in favor of BASE_UNIT_STRING. 2016-12-16 03:04:11 +00:00
msg_ulmap.c Follow up for proto_tree_add_checksum. 2016-07-27 03:40:02 +00:00
packet-m2m.c Unsplit "m2m" plugin (wimax mac-to-mac encapsulation) 2017-10-01 16:05:05 +00:00
packet-wmx.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
plugin.rc.in
wimax-int.h wimax(-int.h): no newline at end of file [-Wnewline-eof] 2017-10-03 11:44:58 +00:00
wimax_bits.h
wimax_cdma_code_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_compact_dlmap_ie_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_compact_dlmap_ie_decoder.h
wimax_compact_ulmap_ie_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_compact_ulmap_ie_decoder.h
wimax_fch_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_ffb_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_hack_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_harq_map_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_mac.h
wimax_pdu_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_phy_attributes_decoder.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_tlv.c Unsplit "m2m" plugin (wimax mac-to-mac encapsulation) 2017-10-01 16:05:05 +00:00
wimax_tlv.h
wimax_utils.c WiMAX: Fix possible crash during protocol registration 2017-09-30 11:59:31 +00:00
wimax_utils.h Remove proto_item_append_text calls in favor of BASE_UNIT_STRING. 2016-12-16 03:04:11 +00:00

README.wimax

This document is an attempt, to explain how to use the wimax plugin
in this directory.


Overview
--------
The wimax plugin is a standalone Wireshark plugin that contains a set
of WiMax Protocol dissectors.  The plugin registers the WiMax Protocol
dissectors without attached to any packet type.  So none of the
dissectors will be called by the Wireshark because there is no any
packet type hookup to the plugin.  However, it is very simple to add
the WiMax Protocol decoding capability into any of the packet decoder
by searching and calling the WiMax Protocol dissectors since they are
registered to Wireshark already (see WiMAX M2M Encapsulation Protocol
for an example).


WiMax Protocol dissector list
-------------
WiMax Burst Dissectors:
 1. wimax_cdma_code_burst_handler - WiMax CDMA Code Attribute Burst dissector.
 2. wimax_fch_burst_handler - WiMax FCH Burst dissector.
 3. wimax_ffb_burst_handler - WiMax Fast Feedback Burst dissector.
 4. wimax_pdu_burst_handler - WiMax PDU Burst dissector.
 5. wimax_hack_burst_handler - WiMax HACK Burst dissector.
 6. wimax_phy_attributes_burst_handler - WiMax PHY Attributes Burst dissector.

WiMax MAC dissectors:
 7. mac_header_type_1_handler - WiMax TYPE I MAC Header PDU dissector.
 8. mac_header_type_2_handler - WiMax TYPE II MAC Header PDU dissector.
 9. mac_header_generic_handler - WiMax Generic MAC Header PDU dissector.
 10. mac_mgmt_msg_handler - WiMax MAC Management Messages dissector.

WiMax Utility dissectors:
11. wimax_service_flow_encodings_decoder - WiMax Service Flow Encodings dissector.
12. wimax_error_parameter_set_decoder - WiMax Error Parameter Set dissector.
13. wimax_security_negotiation_parameters_decoder - WiMax Security Negotiation Parameter dissector.
14. wimax_pkm_tlv_encoded_attributes_decoder - WiMax PKM TLV Encoded Attributes dissector.
15. wimax_tek_parameters_decoder - WiMax TEK Parameters dissector.
16. wimax_pkm_configuration_settings_decoder - WiMax PKM Configuration Settings dissector.
17. wimax_sa_descriptor_decoder - WiMax SA Descriptor dissector.
18. wimax_cryptographic_suite_list_decoder - WiMax Cryptographic Suite List dissector.
19. wimax_security_capabilities_decoder - WiMax Security Capabilities dissector.
20. wimax_common_tlv_encoding_decoder - WiMax Common TLV Encoding dissector.
19. wimax_vendor_specific_information_decoder - WiMax Vendor-Specific Information dissector.


Usages
--------
To use any of the dissectors listed above:

1. Call Wireshark function: handle = find_dissector("dissector_name")
to get the dissector's handler.
Example: mgt_msg_handle = find_dissector("mac_mgmt_msg_handler");

2. If find_dissector() finds the dissector successfully a non-NULL
handle will be returned. Then call another Wireshark function:
call_dissector(handle, tvb, pinfo, tree) to call the dissector
corresponding to the handle.

Here, handle is the value returned by find_dissector() function.
    tvb is the pointer of the data buffer which contains the exact
	content defined by the IEEE 802.16 standards for the dissector.
    pinfo is the pointer to the packet information from Wireshark.
    tree is the pointer to the display tree or sub-tree.
Example: call_dissector(mgt_msg_handle, mgt_msg_tvb, pinfo, mgt_msg_tree);

3. The WiMax Utility dissectors should be called directly.


Notes
--------
1. All the burst data has to be defraged before passing it to the
WiMax burst dissectors.

2. The wimax_pdu_burst_handler will automatically call
mac_header_generic_handler, mac_header_type_1_handler and
mac_header_type_2_handler based on the PDU contents.

3. The mac_header_generic_handler will automatically call
mac_mgmt_msg_handler based on the PDU payload.

4. All the dissectors can be called independently but the data passed
to the dissectors has to contain exact content defined by the
IEEE 802.16 standards.