diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-10 20:57:44 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-11 03:42:52 +0000 |
commit | 210dc9b3019246803f97880802c8faf9a70a4aa8 (patch) | |
tree | 9d10ce640e9effd1421fb03c103967bfc2534942 | |
parent | 1474f49f190e5cee4d049d91d360c3d7780ec3d8 (diff) |
new_create_dissector_handle -> create_dissector_handle for plugins.
Change-Id: I0d485b1337c669291ad58b6c096657ce2db353c8
Reviewed-on: https://code.wireshark.org/review/12516
Reviewed-by: Michael Mann <mmann78@netscape.net>
38 files changed, 52 insertions, 52 deletions
diff --git a/plugins/ethercat/packet-ams.c b/plugins/ethercat/packet-ams.c index 73a77117e8..f142d6df8d 100644 --- a/plugins/ethercat/packet-ams.c +++ b/plugins/ethercat/packet-ams.c @@ -1235,7 +1235,7 @@ void proto_reg_handoff_ams(void) dissector_handle_t ams_handle, amstcp_handle; ams_handle = find_dissector("ams"); - amstcp_handle = new_create_dissector_handle( dissect_amstcp, proto_ams ); + amstcp_handle = create_dissector_handle( dissect_amstcp, proto_ams ); dissector_add_uint("tcp.port", 0xbf02, amstcp_handle); dissector_add_uint("ecatf.type", 2, ams_handle); } diff --git a/plugins/ethercat/packet-ethercat-datagram.c b/plugins/ethercat/packet-ethercat-datagram.c index e6e8ed3898..f9c9e1bb11 100644 --- a/plugins/ethercat/packet-ethercat-datagram.c +++ b/plugins/ethercat/packet-ethercat-datagram.c @@ -1712,7 +1712,7 @@ void proto_reg_handoff_ecat(void) /* Register this dissector as a sub dissector to EtherCAT frame based on ether type. */ - ecat_handle = new_create_dissector_handle(dissect_ecat_datagram, proto_ecat_datagram); + ecat_handle = create_dissector_handle(dissect_ecat_datagram, proto_ecat_datagram); dissector_add_uint("ecatf.type", 1 /* EtherCAT type */, ecat_handle); ecat_mailbox_handle = find_dissector("ecat_mailbox"); diff --git a/plugins/ethercat/packet-ioraw.c b/plugins/ethercat/packet-ioraw.c index 5171f802b2..125de9ebbe 100644 --- a/plugins/ethercat/packet-ioraw.c +++ b/plugins/ethercat/packet-ioraw.c @@ -113,7 +113,7 @@ void proto_reg_handoff_ioraw(void) { dissector_handle_t ioraw_handle; - ioraw_handle = new_create_dissector_handle(dissect_ioraw, proto_ioraw); + ioraw_handle = create_dissector_handle(dissect_ioraw, proto_ioraw); dissector_add_uint("ecatf.type", 3, ioraw_handle); } diff --git a/plugins/ethercat/packet-nv.c b/plugins/ethercat/packet-nv.c index 73080405d3..10e2750fe9 100644 --- a/plugins/ethercat/packet-nv.c +++ b/plugins/ethercat/packet-nv.c @@ -235,7 +235,7 @@ void proto_reg_handoff_nv(void) { dissector_handle_t nv_handle; - nv_handle = new_create_dissector_handle(dissect_nv, proto_nv); + nv_handle = create_dissector_handle(dissect_nv, proto_nv); dissector_add_uint("ecatf.type", 4, nv_handle); } diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c index ace9a2cd7b..005c93bc88 100644 --- a/plugins/gryphon/packet-gryphon.c +++ b/plugins/gryphon/packet-gryphon.c @@ -2862,7 +2862,7 @@ proto_reg_handoff_gryphon(void) { dissector_handle_t gryphon_handle; - gryphon_handle = new_create_dissector_handle(dissect_gryphon, proto_gryphon); + gryphon_handle = create_dissector_handle(dissect_gryphon, proto_gryphon); dissector_add_uint("tcp.port", 7000, gryphon_handle); } diff --git a/plugins/m2m/packet-m2m.c b/plugins/m2m/packet-m2m.c index 8eea8550ea..022b4f537a 100644 --- a/plugins/m2m/packet-m2m.c +++ b/plugins/m2m/packet-m2m.c @@ -809,7 +809,7 @@ void proto_reg_handoff_m2m(void) { dissector_handle_t m2m_handle; - m2m_handle = new_create_dissector_handle(dissect_m2m, proto_m2m); + m2m_handle = create_dissector_handle(dissect_m2m, proto_m2m); dissector_add_uint("ethertype", ETHERTYPE_WMX_M2M, m2m_handle); /* find the wimax handlers */ diff --git a/plugins/opcua/opcua.c b/plugins/opcua/opcua.c index daae271a0d..e3f2bf0376 100644 --- a/plugins/opcua/opcua.c +++ b/plugins/opcua/opcua.c @@ -458,7 +458,7 @@ void proto_reg_handoff_opcua(void) if(!opcua_initialized) { - opcua_handle = new_create_dissector_handle(dissect_opcua, proto_opcua); + opcua_handle = create_dissector_handle(dissect_opcua, proto_opcua); opcua_initialized = TRUE; } else diff --git a/plugins/profinet/packet-pn-mrp.c b/plugins/profinet/packet-pn-mrp.c index 90d97202fc..114b8f53e5 100644 --- a/plugins/profinet/packet-pn-mrp.c +++ b/plugins/profinet/packet-pn-mrp.c @@ -526,7 +526,7 @@ proto_reg_handoff_pn_mrp (void) dissector_handle_t mrp_handle; - mrp_handle = new_create_dissector_handle(dissect_PNMRP,proto_pn_mrp); + mrp_handle = create_dissector_handle(dissect_PNMRP,proto_pn_mrp); dissector_add_uint("ethertype", ETHERTYPE_MRP, mrp_handle); } diff --git a/plugins/profinet/packet-pn-rt.c b/plugins/profinet/packet-pn-rt.c index 229594e81c..78007d9138 100644 --- a/plugins/profinet/packet-pn-rt.c +++ b/plugins/profinet/packet-pn-rt.c @@ -994,7 +994,7 @@ proto_reg_handoff_pn_rt(void) { dissector_handle_t pn_rt_handle; - pn_rt_handle = new_create_dissector_handle(dissect_pn_rt, proto_pn_rt); + pn_rt_handle = create_dissector_handle(dissect_pn_rt, proto_pn_rt); dissector_add_uint("ethertype", ETHERTYPE_PROFINET, pn_rt_handle); dissector_add_uint("udp.port", 0x8892, pn_rt_handle); diff --git a/plugins/tpg/packet-http.c b/plugins/tpg/packet-http.c index 24b0df9f0d..6fe48fe5f2 100644 --- a/plugins/tpg/packet-http.c +++ b/plugins/tpg/packet-http.c @@ -113,7 +113,7 @@ static void proto_register_http(void) { static void proto_reg_handoff_http(void) { - http_handle = new_create_dissector_handle(dissect_http, proto_http); + http_handle = create_dissector_handle(dissect_http, proto_http); dissector_delete_uint("tcp.port", 80, NULL); dissector_add_uint("tcp.port", 80, http_handle); diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c index a93fff9657..9bc39aa84f 100644 --- a/plugins/unistim/packet-unistim.c +++ b/plugins/unistim/packet-unistim.c @@ -4056,7 +4056,7 @@ proto_reg_handoff_unistim(void) { static guint unistim_port; if (!initialized) { - unistim_handle=new_create_dissector_handle(dissect_unistim,proto_unistim); + unistim_handle=create_dissector_handle(dissect_unistim,proto_unistim); dissector_add_for_decode_as("udp.port", unistim_handle); initialized=TRUE; } else { diff --git a/plugins/wimax/msg_aas_beam.c b/plugins/wimax/msg_aas_beam.c index 62086037a0..a3bfa467bf 100644 --- a/plugins/wimax/msg_aas_beam.c +++ b/plugins/wimax/msg_aas_beam.c @@ -335,7 +335,7 @@ proto_reg_handoff_mac_mgmt_msg_aas_beam(void) { dissector_handle_t aas_handle; - aas_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_aas_beam_select_decoder, proto_mac_mgmt_msg_aas_beam_decoder); + aas_handle = create_dissector_handle(dissect_mac_mgmt_msg_aas_beam_select_decoder, proto_mac_mgmt_msg_aas_beam_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_AAS_BEAM_SELECT, aas_handle); } diff --git a/plugins/wimax/msg_aas_fbck.c b/plugins/wimax/msg_aas_fbck.c index a5ab74eac8..311e608b48 100644 --- a/plugins/wimax/msg_aas_fbck.c +++ b/plugins/wimax/msg_aas_fbck.c @@ -340,10 +340,10 @@ proto_reg_handoff_mac_mgmt_msg_aas(void) { dissector_handle_t aas_handle; - aas_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_aas_fbck_req_decoder, proto_mac_mgmt_msg_aas_fbck_decoder); + aas_handle = create_dissector_handle(dissect_mac_mgmt_msg_aas_fbck_req_decoder, proto_mac_mgmt_msg_aas_fbck_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_AAS_FBCK_REQ, aas_handle); - aas_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_aas_fbck_rsp_decoder, proto_mac_mgmt_msg_aas_fbck_decoder); + aas_handle = create_dissector_handle(dissect_mac_mgmt_msg_aas_fbck_rsp_decoder, proto_mac_mgmt_msg_aas_fbck_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_AAS_FBCK_RSP, aas_handle); } diff --git a/plugins/wimax/msg_arq.c b/plugins/wimax/msg_arq.c index 6dc23c334f..87e5bf8a8d 100644 --- a/plugins/wimax/msg_arq.c +++ b/plugins/wimax/msg_arq.c @@ -431,13 +431,13 @@ proto_reg_handoff_mac_mgmt_msg_arq(void) { dissector_handle_t arq_handle; - arq_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_arq_feedback_decoder, proto_mac_mgmt_msg_arq_decoder); + arq_handle = create_dissector_handle(dissect_mac_mgmt_msg_arq_feedback_decoder, proto_mac_mgmt_msg_arq_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_ARQ_FEEDBACK, arq_handle); - arq_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_arq_discard_decoder, proto_mac_mgmt_msg_arq_decoder); + arq_handle = create_dissector_handle(dissect_mac_mgmt_msg_arq_discard_decoder, proto_mac_mgmt_msg_arq_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_ARQ_DISCARD, arq_handle); - arq_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_arq_reset_decoder, proto_mac_mgmt_msg_arq_decoder); + arq_handle = create_dissector_handle(dissect_mac_mgmt_msg_arq_reset_decoder, proto_mac_mgmt_msg_arq_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_ARQ_RESET, arq_handle); } diff --git a/plugins/wimax/msg_clk_cmp.c b/plugins/wimax/msg_clk_cmp.c index e1ef72b562..5958bafbaf 100644 --- a/plugins/wimax/msg_clk_cmp.c +++ b/plugins/wimax/msg_clk_cmp.c @@ -144,7 +144,7 @@ proto_reg_handoff_mac_mgmt_msg_clk_cmp(void) { dissector_handle_t handle; - handle = new_create_dissector_handle(dissect_mac_mgmt_msg_clk_cmp_decoder, proto_mac_mgmt_msg_clk_cmp_decoder); + handle = create_dissector_handle(dissect_mac_mgmt_msg_clk_cmp_decoder, proto_mac_mgmt_msg_clk_cmp_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_CLK_CMP, handle); } diff --git a/plugins/wimax/msg_dcd.c b/plugins/wimax/msg_dcd.c index 496c2d755b..75742f7032 100644 --- a/plugins/wimax/msg_dcd.c +++ b/plugins/wimax/msg_dcd.c @@ -1258,7 +1258,7 @@ void proto_reg_handoff_mac_mgmt_msg_dcd(void) { dissector_handle_t dcd_handle; - dcd_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dcd_decoder, proto_mac_mgmt_msg_dcd_decoder); + dcd_handle = create_dissector_handle(dissect_mac_mgmt_msg_dcd_decoder, proto_mac_mgmt_msg_dcd_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DCD, dcd_handle); } diff --git a/plugins/wimax/msg_dlmap.c b/plugins/wimax/msg_dlmap.c index 3d4f99cbda..8a3ae02371 100644 --- a/plugins/wimax/msg_dlmap.c +++ b/plugins/wimax/msg_dlmap.c @@ -3496,7 +3496,7 @@ void proto_reg_handoff_mac_mgmt_msg_dlmap(void) { dissector_handle_t dlmap_handle; - dlmap_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dlmap_decoder, proto_mac_mgmt_msg_dlmap_decoder); + dlmap_handle = create_dissector_handle(dissect_mac_mgmt_msg_dlmap_decoder, proto_mac_mgmt_msg_dlmap_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DL_MAP, dlmap_handle); } diff --git a/plugins/wimax/msg_dreg.c b/plugins/wimax/msg_dreg.c index d561581f25..ec612cbbed 100644 --- a/plugins/wimax/msg_dreg.c +++ b/plugins/wimax/msg_dreg.c @@ -518,10 +518,10 @@ proto_reg_handoff_mac_mgmt_msg_dreg(void) { dissector_handle_t dreg_handle; - dreg_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dreg_req_decoder, proto_mac_mgmt_msg_dreg_req_decoder); + dreg_handle = create_dissector_handle(dissect_mac_mgmt_msg_dreg_req_decoder, proto_mac_mgmt_msg_dreg_req_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DREG_REQ, dreg_handle); - dreg_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dreg_cmd_decoder, proto_mac_mgmt_msg_dreg_cmd_decoder); + dreg_handle = create_dissector_handle(dissect_mac_mgmt_msg_dreg_cmd_decoder, proto_mac_mgmt_msg_dreg_cmd_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DREG_CMD, dreg_handle); } diff --git a/plugins/wimax/msg_dsa.c b/plugins/wimax/msg_dsa.c index 0ac50d8065..6fb2b67ac1 100644 --- a/plugins/wimax/msg_dsa.c +++ b/plugins/wimax/msg_dsa.c @@ -171,13 +171,13 @@ proto_reg_handoff_mac_mgmt_msg_dsa (void) { dissector_handle_t dsa_handle; - dsa_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsa_req_decoder, proto_mac_mgmt_msg_dsa_decoder); + dsa_handle = create_dissector_handle(dissect_mac_mgmt_msg_dsa_req_decoder, proto_mac_mgmt_msg_dsa_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSA_REQ, dsa_handle); - dsa_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsa_rsp_decoder, proto_mac_mgmt_msg_dsa_decoder); + dsa_handle = create_dissector_handle(dissect_mac_mgmt_msg_dsa_rsp_decoder, proto_mac_mgmt_msg_dsa_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSA_RSP, dsa_handle); - dsa_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsa_ack_decoder, proto_mac_mgmt_msg_dsa_decoder); + dsa_handle = create_dissector_handle(dissect_mac_mgmt_msg_dsa_ack_decoder, proto_mac_mgmt_msg_dsa_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSA_ACK, dsa_handle); } diff --git a/plugins/wimax/msg_dsc.c b/plugins/wimax/msg_dsc.c index 33c3a5bb06..192e9f4a2a 100644 --- a/plugins/wimax/msg_dsc.c +++ b/plugins/wimax/msg_dsc.c @@ -174,13 +174,13 @@ proto_reg_handoff_mac_mgmt_msg_dsc(void) { dissector_handle_t dsc_handle; - dsc_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsc_req_decoder, proto_mac_mgmt_msg_dsc_decoder); + dsc_handle = create_dissector_handle(dissect_mac_mgmt_msg_dsc_req_decoder, proto_mac_mgmt_msg_dsc_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSC_REQ, dsc_handle); - dsc_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsc_rsp_decoder, proto_mac_mgmt_msg_dsc_decoder); + dsc_handle = create_dissector_handle(dissect_mac_mgmt_msg_dsc_rsp_decoder, proto_mac_mgmt_msg_dsc_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSC_RSP, dsc_handle); - dsc_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsc_ack_decoder, proto_mac_mgmt_msg_dsc_decoder); + dsc_handle = create_dissector_handle(dissect_mac_mgmt_msg_dsc_ack_decoder, proto_mac_mgmt_msg_dsc_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSC_ACK, dsc_handle); } diff --git a/plugins/wimax/msg_dsd.c b/plugins/wimax/msg_dsd.c index 682b6330a3..ce558df2f1 100644 --- a/plugins/wimax/msg_dsd.c +++ b/plugins/wimax/msg_dsd.c @@ -268,10 +268,10 @@ proto_reg_handoff_mac_mgmt_msg_dsd(void) { dissector_handle_t dsd_handle; - dsd_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsd_req_decoder, proto_mac_mgmt_msg_dsd_decoder); + dsd_handle = create_dissector_handle(dissect_mac_mgmt_msg_dsd_req_decoder, proto_mac_mgmt_msg_dsd_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSD_REQ, dsd_handle); - dsd_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsd_rsp_decoder, proto_mac_mgmt_msg_dsd_decoder); + dsd_handle = create_dissector_handle(dissect_mac_mgmt_msg_dsd_rsp_decoder, proto_mac_mgmt_msg_dsd_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSD_RSP, dsd_handle); } diff --git a/plugins/wimax/msg_dsx_rvd.c b/plugins/wimax/msg_dsx_rvd.c index 40bf31fd5a..a6ea77eb2f 100644 --- a/plugins/wimax/msg_dsx_rvd.c +++ b/plugins/wimax/msg_dsx_rvd.c @@ -101,7 +101,7 @@ proto_reg_handoff_mac_mgmt_msg_dsx_rvd(void) { dissector_handle_t handle; - handle = new_create_dissector_handle(dissect_mac_mgmt_msg_dsx_rvd_decoder, proto_mac_mgmt_msg_dsx_rvd_decoder); + handle = create_dissector_handle(dissect_mac_mgmt_msg_dsx_rvd_decoder, proto_mac_mgmt_msg_dsx_rvd_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DSX_RVD, handle); } diff --git a/plugins/wimax/msg_fpc.c b/plugins/wimax/msg_fpc.c index 8b7c717fed..9658ab28c4 100644 --- a/plugins/wimax/msg_fpc.c +++ b/plugins/wimax/msg_fpc.c @@ -160,7 +160,7 @@ proto_reg_handoff_mac_mgmt_msg_fpc(void) { dissector_handle_t fpc_handle; - fpc_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_fpc_decoder, proto_mac_mgmt_msg_fpc_decoder); + fpc_handle = create_dissector_handle(dissect_mac_mgmt_msg_fpc_decoder, proto_mac_mgmt_msg_fpc_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_FPC, fpc_handle); } diff --git a/plugins/wimax/msg_pkm.c b/plugins/wimax/msg_pkm.c index eebf8584ea..d375f3d350 100644 --- a/plugins/wimax/msg_pkm.c +++ b/plugins/wimax/msg_pkm.c @@ -169,9 +169,9 @@ void proto_reg_handoff_mac_mgmt_msg_pkm(void) dissector_handle_t mac_mgmt_msg_pkm_req_handle; dissector_handle_t mac_mgmt_msg_pkm_rsp_handle; - mac_mgmt_msg_pkm_req_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_pkm_req_decoder, proto_mac_mgmt_msg_pkm_decoder); + mac_mgmt_msg_pkm_req_handle = create_dissector_handle(dissect_mac_mgmt_msg_pkm_req_decoder, proto_mac_mgmt_msg_pkm_decoder); dissector_add_uint( "wmx.mgmtmsg", MAC_MGMT_MSG_PKM_REQ, mac_mgmt_msg_pkm_req_handle ); - mac_mgmt_msg_pkm_rsp_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_pkm_rsp_decoder, proto_mac_mgmt_msg_pkm_decoder); + mac_mgmt_msg_pkm_rsp_handle = create_dissector_handle(dissect_mac_mgmt_msg_pkm_rsp_decoder, proto_mac_mgmt_msg_pkm_decoder); dissector_add_uint( "wmx.mgmtmsg", MAC_MGMT_MSG_PKM_RSP, mac_mgmt_msg_pkm_rsp_handle ); } diff --git a/plugins/wimax/msg_pmc.c b/plugins/wimax/msg_pmc.c index c0241120d9..5ec213576e 100644 --- a/plugins/wimax/msg_pmc.c +++ b/plugins/wimax/msg_pmc.c @@ -237,10 +237,10 @@ proto_reg_handoff_mac_mgmt_msg_pmc(void) { dissector_handle_t pmc_handle; - pmc_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_pmc_req_decoder, proto_mac_mgmt_msg_pmc_req_decoder); + pmc_handle = create_dissector_handle(dissect_mac_mgmt_msg_pmc_req_decoder, proto_mac_mgmt_msg_pmc_req_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_PMC_REQ, pmc_handle); - pmc_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_pmc_rsp_decoder, proto_mac_mgmt_msg_pmc_rsp_decoder); + pmc_handle = create_dissector_handle(dissect_mac_mgmt_msg_pmc_rsp_decoder, proto_mac_mgmt_msg_pmc_rsp_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_PMC_RSP, pmc_handle); } diff --git a/plugins/wimax/msg_prc_lt_ctrl.c b/plugins/wimax/msg_prc_lt_ctrl.c index 66ce5697dd..38733a7ace 100644 --- a/plugins/wimax/msg_prc_lt_ctrl.c +++ b/plugins/wimax/msg_prc_lt_ctrl.c @@ -130,7 +130,7 @@ proto_reg_handoff_mac_mgmt_msg_prc_lt_ctrl(void) { dissector_handle_t handle; - handle = new_create_dissector_handle(dissect_mac_mgmt_msg_prc_lt_ctrl_decoder, proto_mac_mgmt_msg_prc_lt_ctrl_decoder); + handle = create_dissector_handle(dissect_mac_mgmt_msg_prc_lt_ctrl_decoder, proto_mac_mgmt_msg_prc_lt_ctrl_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_PRC_LT_CTRL, handle); } diff --git a/plugins/wimax/msg_reg_req.c b/plugins/wimax/msg_reg_req.c index 648c8a6545..61d2ad80f5 100644 --- a/plugins/wimax/msg_reg_req.c +++ b/plugins/wimax/msg_reg_req.c @@ -1435,7 +1435,7 @@ void proto_reg_handoff_mac_mgmt_msg_reg_req(void) { dissector_handle_t reg_req_handle; - reg_req_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_reg_req_decoder, proto_mac_mgmt_msg_reg_req_decoder); + reg_req_handle = create_dissector_handle(dissect_mac_mgmt_msg_reg_req_decoder, proto_mac_mgmt_msg_reg_req_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_REG_REQ, reg_req_handle); } diff --git a/plugins/wimax/msg_reg_rsp.c b/plugins/wimax/msg_reg_rsp.c index 2fad34875a..6ffbfbdd58 100644 --- a/plugins/wimax/msg_reg_rsp.c +++ b/plugins/wimax/msg_reg_rsp.c @@ -361,7 +361,7 @@ void proto_reg_handoff_mac_mgmt_msg_reg_rsp(void) dsc_rsp_handle = find_dissector("mac_mgmt_msg_dsc_rsp_handler"); - reg_rsp_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_reg_rsp_decoder, proto_mac_mgmt_msg_reg_rsp_decoder); + reg_rsp_handle = create_dissector_handle(dissect_mac_mgmt_msg_reg_rsp_decoder, proto_mac_mgmt_msg_reg_rsp_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_REG_RSP, reg_rsp_handle); } diff --git a/plugins/wimax/msg_rep.c b/plugins/wimax/msg_rep.c index ba1fc9406f..4b1f60ccff 100644 --- a/plugins/wimax/msg_rep.c +++ b/plugins/wimax/msg_rep.c @@ -1555,10 +1555,10 @@ proto_reg_handoff_mac_mgmt_msg_rep(void) { dissector_handle_t rep_handle; - rep_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_rep_req_decoder, proto_mac_mgmt_msg_rep_decoder); + rep_handle = create_dissector_handle(dissect_mac_mgmt_msg_rep_req_decoder, proto_mac_mgmt_msg_rep_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_REP_REQ, rep_handle); - rep_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_rep_rsp_decoder, proto_mac_mgmt_msg_rep_decoder); + rep_handle = create_dissector_handle(dissect_mac_mgmt_msg_rep_rsp_decoder, proto_mac_mgmt_msg_rep_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_REP_RSP, rep_handle); } diff --git a/plugins/wimax/msg_res_cmd.c b/plugins/wimax/msg_res_cmd.c index a2b0e813b6..d02164f316 100644 --- a/plugins/wimax/msg_res_cmd.c +++ b/plugins/wimax/msg_res_cmd.c @@ -148,7 +148,7 @@ proto_reg_handoff_mac_mgmt_msg_res_cmd(void) { dissector_handle_t handle; - handle = new_create_dissector_handle(dissect_mac_mgmt_msg_res_cmd_decoder, proto_mac_mgmt_msg_res_cmd_decoder); + handle = create_dissector_handle(dissect_mac_mgmt_msg_res_cmd_decoder, proto_mac_mgmt_msg_res_cmd_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_RES_CMD, handle); } diff --git a/plugins/wimax/msg_rng_req.c b/plugins/wimax/msg_rng_req.c index 834270830c..cad39d71db 100644 --- a/plugins/wimax/msg_rng_req.c +++ b/plugins/wimax/msg_rng_req.c @@ -624,7 +624,7 @@ void proto_reg_handoff_mac_mgmt_msg_rng_req(void) { dissector_handle_t rng_req_handle; - rng_req_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_rng_req_decoder, proto_mac_mgmt_msg_rng_req_decoder); + rng_req_handle = create_dissector_handle(dissect_mac_mgmt_msg_rng_req_decoder, proto_mac_mgmt_msg_rng_req_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_RNG_REQ, rng_req_handle); } diff --git a/plugins/wimax/msg_rng_rsp.c b/plugins/wimax/msg_rng_rsp.c index c1e3e755ae..8b44a8ad71 100644 --- a/plugins/wimax/msg_rng_rsp.c +++ b/plugins/wimax/msg_rng_rsp.c @@ -952,7 +952,7 @@ void proto_reg_handoff_mac_mgmt_msg_rng_rsp(void) { dissector_handle_t rng_rsp_handle; - rng_rsp_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_rng_rsp_decoder, proto_mac_mgmt_msg_rng_rsp_decoder); + rng_rsp_handle = create_dissector_handle(dissect_mac_mgmt_msg_rng_rsp_decoder, proto_mac_mgmt_msg_rng_rsp_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_RNG_RSP, rng_rsp_handle); sbc_rsp_handle = find_dissector("mac_mgmt_msg_sbc_rsp_handler"); diff --git a/plugins/wimax/msg_sbc.c b/plugins/wimax/msg_sbc.c index 0a4d439ee1..783aebe81a 100644 --- a/plugins/wimax/msg_sbc.c +++ b/plugins/wimax/msg_sbc.c @@ -2827,10 +2827,10 @@ proto_reg_handoff_mac_mgmt_msg_sbc(void) { dissector_handle_t sbc_handle; - sbc_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_sbc_req_decoder, proto_mac_mgmt_msg_sbc_decoder); + sbc_handle = create_dissector_handle(dissect_mac_mgmt_msg_sbc_req_decoder, proto_mac_mgmt_msg_sbc_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_SBC_REQ, sbc_handle); - sbc_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_sbc_rsp_decoder, proto_mac_mgmt_msg_sbc_decoder); + sbc_handle = create_dissector_handle(dissect_mac_mgmt_msg_sbc_rsp_decoder, proto_mac_mgmt_msg_sbc_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_SBC_RSP, sbc_handle); } diff --git a/plugins/wimax/msg_ucd.c b/plugins/wimax/msg_ucd.c index 9216f6269c..27e86e37ce 100644 --- a/plugins/wimax/msg_ucd.c +++ b/plugins/wimax/msg_ucd.c @@ -1254,7 +1254,7 @@ void proto_reg_handoff_mac_mgmt_msg_ucd(void) { dissector_handle_t ucd_handle; - ucd_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_ucd_decoder, proto_mac_mgmt_msg_ucd_decoder); + ucd_handle = create_dissector_handle(dissect_mac_mgmt_msg_ucd_decoder, proto_mac_mgmt_msg_ucd_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_UCD, ucd_handle); } diff --git a/plugins/wimax/msg_ulmap.c b/plugins/wimax/msg_ulmap.c index 4a2a519eca..afce354898 100644 --- a/plugins/wimax/msg_ulmap.c +++ b/plugins/wimax/msg_ulmap.c @@ -2959,7 +2959,7 @@ void proto_reg_handoff_mac_mgmt_msg_ulmap(void) { dissector_handle_t ulmap_handle; - ulmap_handle = new_create_dissector_handle(dissect_mac_mgmt_msg_ulmap_decoder, proto_mac_mgmt_msg_ulmap_decoder); + ulmap_handle = create_dissector_handle(dissect_mac_mgmt_msg_ulmap_decoder, proto_mac_mgmt_msg_ulmap_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_UL_MAP, ulmap_handle); } diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c index f22dfa9f78..be4cd986b1 100644 --- a/plugins/wimaxasncp/packet-wimaxasncp.c +++ b/plugins/wimaxasncp/packet-wimaxasncp.c @@ -3466,12 +3466,12 @@ proto_reg_handoff_wimaxasncp(void) if (!inited) { - /* Use new_create_dissector_handle() to indicate that + /* Use create_dissector_handle() to indicate that * dissect_wimaxasncp() returns the number of bytes it dissected (or * 0 if it thinks the packet does not belong to WiMAX ASN Control * Plane). */ - wimaxasncp_handle = new_create_dissector_handle( + wimaxasncp_handle = create_dissector_handle( dissect_wimaxasncp, proto_wimaxasncp); diff --git a/plugins/wimaxmacphy/packet-wimaxmacphy.c b/plugins/wimaxmacphy/packet-wimaxmacphy.c index 8e75abd5b2..cc7e80c24b 100644 --- a/plugins/wimaxmacphy/packet-wimaxmacphy.c +++ b/plugins/wimaxmacphy/packet-wimaxmacphy.c @@ -5465,7 +5465,7 @@ proto_reg_handoff_wimaxmacphy(void) static dissector_handle_t wimaxmacphy_handle; if (!inited) { - wimaxmacphy_handle = new_create_dissector_handle(dissect_wimaxmacphy, proto_wimaxmacphy); + wimaxmacphy_handle = create_dissector_handle(dissect_wimaxmacphy, proto_wimaxmacphy); dissector_add_for_decode_as("udp.port", wimaxmacphy_handle); inited = TRUE; } diff --git a/tools/npl/npl.c b/tools/npl/npl.c index d93b5f367b..096b4681ea 100644 --- a/tools/npl/npl.c +++ b/tools/npl/npl.c @@ -1843,7 +1843,7 @@ gen_proto_handoff(FILE *f, const char *proto_name) "proto_reg_handoff_%s(void)\n" "{\n", proto_name); - gen_fprintf(f, "\tdissector_handle_t %s_handle = new_create_dissector_handle(dissect_%s, proto_%s);\n", proto_name, proto_name, proto_name); + gen_fprintf(f, "\tdissector_handle_t %s_handle = create_dissector_handle(dissect_%s, proto_%s);\n", proto_name, proto_name, proto_name); #if 0 dissector_add_uint("REG", XXX, %s_handle); |