diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-10 20:56:03 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-11 03:42:37 +0000 |
commit | 1474f49f190e5cee4d049d91d360c3d7780ec3d8 (patch) | |
tree | 54f2d16e3184f70ce00d90cce79f0f0ed0635f8b /plugins/wimax | |
parent | ad328d97a6cd9253c6fbd74b6ccca6c10be58201 (diff) |
new_register_dissector -> register_dissector for remaining uses.
Mostly plugins, but also LUA and generated skinny dissector.
Change-Id: Ifeb4205442f9a60875266b4e82841ff38b4fdb63
Reviewed-on: https://code.wireshark.org/review/12515
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins/wimax')
-rw-r--r-- | plugins/wimax/mac_hd_generic_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/mac_hd_type1_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/mac_hd_type2_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/mac_mgmt_msg_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/msg_aas_beam.c | 6 | ||||
-rw-r--r-- | plugins/wimax/msg_dsc.c | 2 | ||||
-rw-r--r-- | plugins/wimax/msg_reg_rsp.c | 2 | ||||
-rw-r--r-- | plugins/wimax/msg_sbc.c | 2 | ||||
-rw-r--r-- | plugins/wimax/packet-wmx.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_cdma_code_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_fch_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_ffb_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_hack_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_harq_map_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_pdu_decoder.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_phy_attributes_decoder.c | 2 |
16 files changed, 18 insertions, 18 deletions
diff --git a/plugins/wimax/mac_hd_generic_decoder.c b/plugins/wimax/mac_hd_generic_decoder.c index 102c6481af..8d70c6718d 100644 --- a/plugins/wimax/mac_hd_generic_decoder.c +++ b/plugins/wimax/mac_hd_generic_decoder.c @@ -2267,7 +2267,7 @@ void proto_register_mac_header_generic(void) expert_register_field_array(expert_mac_header_generic, ei, array_length(ei)); /* register the generic mac header dissector */ - new_register_dissector("mac_header_generic_handler", dissect_mac_header_generic_decoder, proto_mac_header_generic_decoder); + register_dissector("mac_header_generic_handler", dissect_mac_header_generic_decoder, proto_mac_header_generic_decoder); /* Register the payload fragment table init routine */ register_init_routine(wimax_defragment_init); diff --git a/plugins/wimax/mac_hd_type1_decoder.c b/plugins/wimax/mac_hd_type1_decoder.c index 540363cd72..fdc3e630ee 100644 --- a/plugins/wimax/mac_hd_type1_decoder.c +++ b/plugins/wimax/mac_hd_type1_decoder.c @@ -556,7 +556,7 @@ void proto_register_mac_header_type_1(void) proto_register_field_array(proto_mac_header_type_1_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("mac_header_type_1_handler", dissect_mac_header_type_1_decoder, proto_mac_header_type_1_decoder); + register_dissector("mac_header_type_1_handler", dissect_mac_header_type_1_decoder, proto_mac_header_type_1_decoder); } /* diff --git a/plugins/wimax/mac_hd_type2_decoder.c b/plugins/wimax/mac_hd_type2_decoder.c index 6e53c172c1..c45a88b09a 100644 --- a/plugins/wimax/mac_hd_type2_decoder.c +++ b/plugins/wimax/mac_hd_type2_decoder.c @@ -1366,7 +1366,7 @@ void proto_register_mac_header_type_2(void) proto_register_field_array(proto_mac_header_type_2_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("mac_header_type_2_handler", dissect_mac_header_type_2_decoder, proto_mac_header_type_2_decoder); + register_dissector("mac_header_type_2_handler", dissect_mac_header_type_2_decoder, proto_mac_header_type_2_decoder); } /* diff --git a/plugins/wimax/mac_mgmt_msg_decoder.c b/plugins/wimax/mac_mgmt_msg_decoder.c index 0a7386dd8a..4900386fa3 100644 --- a/plugins/wimax/mac_mgmt_msg_decoder.c +++ b/plugins/wimax/mac_mgmt_msg_decoder.c @@ -217,7 +217,7 @@ void proto_register_mac_mgmt_msg(void) "WiMax MAC Management Message", FT_UINT8, BASE_DEC, DISSECTOR_TABLE_ALLOW_DUPLICATE); /* Register dissector by name */ - new_register_dissector("wmx_mac_mgmt_msg_decoder", dissect_mac_mgmt_msg_decoder, + register_dissector("wmx_mac_mgmt_msg_decoder", dissect_mac_mgmt_msg_decoder, proto_mac_mgmt_msg_decoder); } diff --git a/plugins/wimax/msg_aas_beam.c b/plugins/wimax/msg_aas_beam.c index 1d3e60675a..62086037a0 100644 --- a/plugins/wimax/msg_aas_beam.c +++ b/plugins/wimax/msg_aas_beam.c @@ -323,10 +323,10 @@ void proto_register_mac_mgmt_msg_aas_beam(void) proto_register_field_array(proto_mac_mgmt_msg_aas_beam_decoder, hf_aas_beam, array_length(hf_aas_beam)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("mac_mgmt_msg_aas_beam_select_handler", dissect_mac_mgmt_msg_aas_beam_select_decoder, -1); + register_dissector("mac_mgmt_msg_aas_beam_select_handler", dissect_mac_mgmt_msg_aas_beam_select_decoder, -1); #ifdef OFDM - new_register_dissector("mac_mgmt_msg_aas_beam_req_handler", dissect_mac_mgmt_msg_aas_beam_req_decoder, -1); - new_register_dissector("mac_mgmt_msg_aas_beam_rsp_handler", dissect_mac_mgmt_msg_aas_beam_rsp_decoder, -1); + register_dissector("mac_mgmt_msg_aas_beam_req_handler", dissect_mac_mgmt_msg_aas_beam_req_decoder, -1); + register_dissector("mac_mgmt_msg_aas_beam_rsp_handler", dissect_mac_mgmt_msg_aas_beam_rsp_decoder, -1); #endif } diff --git a/plugins/wimax/msg_dsc.c b/plugins/wimax/msg_dsc.c index 6c45ebf58f..33c3a5bb06 100644 --- a/plugins/wimax/msg_dsc.c +++ b/plugins/wimax/msg_dsc.c @@ -166,7 +166,7 @@ void proto_register_mac_mgmt_msg_dsc(void) proto_register_field_array(proto_mac_mgmt_msg_dsc_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("mac_mgmt_msg_dsc_rsp_handler", dissect_mac_mgmt_msg_dsc_rsp_decoder, -1); + register_dissector("mac_mgmt_msg_dsc_rsp_handler", dissect_mac_mgmt_msg_dsc_rsp_decoder, -1); } void diff --git a/plugins/wimax/msg_reg_rsp.c b/plugins/wimax/msg_reg_rsp.c index bdb4430113..2fad34875a 100644 --- a/plugins/wimax/msg_reg_rsp.c +++ b/plugins/wimax/msg_reg_rsp.c @@ -352,7 +352,7 @@ void proto_register_mac_mgmt_msg_reg_rsp(void) proto_register_field_array(proto_mac_mgmt_msg_reg_rsp_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("mac_mgmt_msg_reg_rsp_handler", dissect_mac_mgmt_msg_reg_rsp_decoder, -1); + register_dissector("mac_mgmt_msg_reg_rsp_handler", dissect_mac_mgmt_msg_reg_rsp_decoder, -1); } void proto_reg_handoff_mac_mgmt_msg_reg_rsp(void) diff --git a/plugins/wimax/msg_sbc.c b/plugins/wimax/msg_sbc.c index a6b1786b8d..0a4d439ee1 100644 --- a/plugins/wimax/msg_sbc.c +++ b/plugins/wimax/msg_sbc.c @@ -2819,7 +2819,7 @@ void proto_register_mac_mgmt_msg_sbc(void) proto_register_field_array(proto_mac_mgmt_msg_sbc_decoder, hf_sbc, array_length(hf_sbc)); proto_register_subtree_array(ett_sbc, array_length(ett_sbc)); - new_register_dissector("mac_mgmt_msg_sbc_rsp_handler", dissect_mac_mgmt_msg_sbc_rsp_decoder, -1); + register_dissector("mac_mgmt_msg_sbc_rsp_handler", dissect_mac_mgmt_msg_sbc_rsp_decoder, -1); } void diff --git a/plugins/wimax/packet-wmx.c b/plugins/wimax/packet-wmx.c index 82dec1b993..533257caa1 100644 --- a/plugins/wimax/packet-wmx.c +++ b/plugins/wimax/packet-wmx.c @@ -308,7 +308,7 @@ void proto_register_wimax(void) proto_register_subtree_array(ett_reg, array_length(ett_reg)); /* Register the WiMax dissector */ - new_register_dissector("wmx", dissect_wimax, proto_wimax); + register_dissector("wmx", dissect_wimax, proto_wimax); wimax_module = prefs_register_protocol(proto_wimax, NULL); diff --git a/plugins/wimax/wimax_cdma_code_decoder.c b/plugins/wimax/wimax_cdma_code_decoder.c index 157e7ba8cd..1f85a973c9 100644 --- a/plugins/wimax/wimax_cdma_code_decoder.c +++ b/plugins/wimax/wimax_cdma_code_decoder.c @@ -111,7 +111,7 @@ void proto_register_wimax_cdma(void) proto_register_field_array(proto_wimax_cdma_code_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("wimax_cdma_code_burst_handler", dissect_wimax_cdma_code_decoder, -1); + register_dissector("wimax_cdma_code_burst_handler", dissect_wimax_cdma_code_decoder, -1); } diff --git a/plugins/wimax/wimax_fch_decoder.c b/plugins/wimax/wimax_fch_decoder.c index 3a59499c27..2ba8077600 100644 --- a/plugins/wimax/wimax_fch_decoder.c +++ b/plugins/wimax/wimax_fch_decoder.c @@ -242,7 +242,7 @@ void proto_register_wimax_fch(void) proto_register_field_array(proto_wimax_fch_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("wimax_fch_burst_handler", dissect_wimax_fch_decoder, -1); + register_dissector("wimax_fch_burst_handler", dissect_wimax_fch_decoder, -1); } /* diff --git a/plugins/wimax/wimax_ffb_decoder.c b/plugins/wimax/wimax_ffb_decoder.c index e682dc5d6e..1723179f53 100644 --- a/plugins/wimax/wimax_ffb_decoder.c +++ b/plugins/wimax/wimax_ffb_decoder.c @@ -125,7 +125,7 @@ void proto_register_wimax_ffb(void) proto_register_field_array(proto_wimax_ffb_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("wimax_ffb_burst_handler", dissect_wimax_ffb_decoder, -1); + register_dissector("wimax_ffb_burst_handler", dissect_wimax_ffb_decoder, -1); } /* diff --git a/plugins/wimax/wimax_hack_decoder.c b/plugins/wimax/wimax_hack_decoder.c index 4a0bd0ba44..f2b83d8e49 100644 --- a/plugins/wimax/wimax_hack_decoder.c +++ b/plugins/wimax/wimax_hack_decoder.c @@ -134,7 +134,7 @@ void proto_register_wimax_hack(void) proto_wimax_hack_decoder = proto_wimax; - new_register_dissector("wimax_hack_burst_handler", dissect_wimax_hack_decoder, -1); + register_dissector("wimax_hack_burst_handler", dissect_wimax_hack_decoder, -1); proto_register_field_array(proto_wimax_hack_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); diff --git a/plugins/wimax/wimax_harq_map_decoder.c b/plugins/wimax/wimax_harq_map_decoder.c index b154be548a..dd643ff37d 100644 --- a/plugins/wimax/wimax_harq_map_decoder.c +++ b/plugins/wimax/wimax_harq_map_decoder.c @@ -208,7 +208,7 @@ void proto_register_wimax_harq_map(void) proto_register_subtree_array(ett, array_length(ett)); proto_register_field_array(proto_wimax_harq_map_decoder, hf_harq_map, array_length(hf_harq_map)); - new_register_dissector("wimax_harq_map_handler", dissector_wimax_harq_map_decoder, proto_wimax_harq_map_decoder); + register_dissector("wimax_harq_map_handler", dissector_wimax_harq_map_decoder, proto_wimax_harq_map_decoder); } /* diff --git a/plugins/wimax/wimax_pdu_decoder.c b/plugins/wimax/wimax_pdu_decoder.c index 672a99218e..4d7a9cc3f5 100644 --- a/plugins/wimax/wimax_pdu_decoder.c +++ b/plugins/wimax/wimax_pdu_decoder.c @@ -239,7 +239,7 @@ void proto_register_wimax_pdu(void) proto_wimax_pdu_decoder = proto_wimax; - new_register_dissector("wimax_pdu_burst_handler", dissect_wimax_pdu_decoder, -1); + register_dissector("wimax_pdu_burst_handler", dissect_wimax_pdu_decoder, -1); proto_register_field_array(proto_wimax_pdu_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } diff --git a/plugins/wimax/wimax_phy_attributes_decoder.c b/plugins/wimax/wimax_phy_attributes_decoder.c index da168a8285..24914fd047 100644 --- a/plugins/wimax/wimax_phy_attributes_decoder.c +++ b/plugins/wimax/wimax_phy_attributes_decoder.c @@ -171,7 +171,7 @@ void proto_register_wimax_phy_attributes(void) proto_wimax_phy_attributes_decoder = proto_wimax; - new_register_dissector("wimax_phy_attributes_burst_handler", dissect_wimax_phy_attributes_decoder, -1); + register_dissector("wimax_phy_attributes_burst_handler", dissect_wimax_phy_attributes_decoder, -1); proto_register_field_array(proto_wimax_phy_attributes_decoder, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); |