new_create_dissector_handle -> create_dissector_handle for plugins.
authorMichael Mann <mmann78@netscape.net>
Fri, 11 Dec 2015 01:57:44 +0000 (20:57 -0500)
committerMichael Mann <mmann78@netscape.net>
Fri, 11 Dec 2015 03:42:52 +0000 (03:42 +0000)
Change-Id: I0d485b1337c669291ad58b6c096657ce2db353c8
Reviewed-on: https://code.wireshark.org/review/12516
Reviewed-by: Michael Mann <mmann78@netscape.net>
38 files changed:
plugins/ethercat/packet-ams.c
plugins/ethercat/packet-ethercat-datagram.c
plugins/ethercat/packet-ioraw.c
plugins/ethercat/packet-nv.c
plugins/gryphon/packet-gryphon.c
plugins/m2m/packet-m2m.c
plugins/opcua/opcua.c
plugins/profinet/packet-pn-mrp.c
plugins/profinet/packet-pn-rt.c
plugins/tpg/packet-http.c
plugins/unistim/packet-unistim.c
plugins/wimax/msg_aas_beam.c
plugins/wimax/msg_aas_fbck.c
plugins/wimax/msg_arq.c
plugins/wimax/msg_clk_cmp.c
plugins/wimax/msg_dcd.c
plugins/wimax/msg_dlmap.c
plugins/wimax/msg_dreg.c
plugins/wimax/msg_dsa.c
plugins/wimax/msg_dsc.c
plugins/wimax/msg_dsd.c
plugins/wimax/msg_dsx_rvd.c
plugins/wimax/msg_fpc.c
plugins/wimax/msg_pkm.c
plugins/wimax/msg_pmc.c
plugins/wimax/msg_prc_lt_ctrl.c
plugins/wimax/msg_reg_req.c
plugins/wimax/msg_reg_rsp.c
plugins/wimax/msg_rep.c
plugins/wimax/msg_res_cmd.c
plugins/wimax/msg_rng_req.c
plugins/wimax/msg_rng_rsp.c
plugins/wimax/msg_sbc.c
plugins/wimax/msg_ucd.c
plugins/wimax/msg_ulmap.c
plugins/wimaxasncp/packet-wimaxasncp.c
plugins/wimaxmacphy/packet-wimaxmacphy.c
tools/npl/npl.c

index 73a77117e862e05e28f8b2d7598f7990779c0abe..f142d6df8d280732cf1c8794fba7085d1ce0167e 100644 (file)
@@ -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);
 }
index e6e8ed38986e1489cb99d574a8e9f30b708651d1..f9c9e1bb116e9e615c0e1eff27f4f3a52bdc785a 100644 (file)
@@ -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");
index 5171f802b24366968659321de1ca785910b4a179..125de9ebbe8ca8c2c749c26f10e0d3586987f716 100644 (file)
@@ -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);
 }
index 73080405d36ef9280256c72d5ddff10cd9791a2f..10e2750fe98e5b4d1a8fa9ac27e0766464204a69 100644 (file)
@@ -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);
 }
 
index ace9a2cd7b3b8d9e33470ba88ff5e9150a920e92..005c93bc88feff084bd7bf32ee092fa73da0706c 100644 (file)
@@ -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);
 }
 
index 8eea8550eaa286380d3372d37f1f2c0e2f322ba5..022b4f537a801d71c3739961c24777dc96c63b0d 100644 (file)
@@ -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 */
index daae271a0d60dc14f455e0a765b05cc5d2c75f36..e3f2bf0376ab0d046502a86aab945d1206a86a76 100644 (file)
@@ -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
index 90d97202fc87fd24745ae0abb26b0cce9699a670..114b8f53e5dcc7a1398fe1fc4a575155a00a8ce4 100644 (file)
@@ -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);
 
 }
index 229594e81c288ab412d44ad8741bb22a431671b1..78007d9138a087b388cf44b22b2984259c72cd1b 100644 (file)
@@ -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);
index 24b0df9f0dfcd07ab204c573c1ed88c52e9b5d39..6fe48fe5f2e2e8bf6e010356791c8a7300b175fb 100644 (file)
@@ -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);
index a93fff9657d12c92bfffb6f44ade88f7bb981b8f..9bc39aa84f05849f7b0b501eb1d346739f471e5d 100644 (file)
@@ -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 {
index 62086037a039dcd7d342673e682a3ac0711adc5b..a3bfa467bfd8afda69699b0291f2964b5a4f96e7 100644 (file)
@@ -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);
 }
 
index a5ab74eac89b97678fc1518fd7d1151d6a8af4e6..311e608b483da494caf1c3e778cabf34cb20554d 100644 (file)
@@ -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);
 }
 
index 6dc23c334fcafa8dc0ad3c4b6279922e5dc471b3..87e5bf8a8daefc018fecfe2e3fac672e59a378b6 100644 (file)
@@ -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);
 }
 
index e1ef72b562dca5491bddebe4185768f1f0ec82e5..5958bafbafeb7c8ee8a57dba3a68b56fee250e50 100644 (file)
@@ -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);
 }
 
index 496c2d755b61e293b99b12eca8911547963800dc..75742f70329fd016223f5e4f78cd2fbe1f4dd268 100644 (file)
@@ -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);
 }
 
index 3d4f99cbda2c3b15eb7dc97c7c7906b051700ec1..8a3ae023712d5f772fc2cd76e90ea79d2bed9225 100644 (file)
@@ -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);
 }
 
index d561581f25e4ab32fff76444a8041682b3f274f8..ec612cbbed04ac1436a945423868e10f769b6db0 100644 (file)
@@ -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);
 }
 
index 0ac50d8065a616cb4216d415f1e4f8ce1f214e42..6fb2b67ac11e6ce33b641eb2bb882f7ef53ba095 100644 (file)
@@ -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);
 }
 
index 33c3a5bb062f5d4874e6041b2bf7e52dce8e7aa2..192e9f4a2a73fe5d7b07ee27fdd57164381fed45 100644 (file)
@@ -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);
 }
 
index 682b6330a31f296d6c3b360164b8ca028247db5f..ce558df2f106db6fd65c960d93f7783ddee7eb34 100644 (file)
@@ -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);
 }
 
index 40bf31fd5a91604c8704d3e1f095686dd157529d..a6ea77eb2f7f38d07cea5b5e2adb7a66fe4a3f2a 100644 (file)
@@ -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);
 }
 
index 8b7c717fed0a00390cae416e55f0e47096be7e07..9658ab28c4a5732865cc605d6fc12d5b58d1b628 100644 (file)
@@ -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);
 }
 
index eebf8584ea5d4c098534ceb1ad1c49eb8561e475..d375f3d350edb5c5ce66ce59167a817cf56e53a2 100644 (file)
@@ -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 );
 }
 
index c0241120d959df3135582df5c8aac22853504a84..5ec213576edd3c55d706af0f2792a76620e48490 100644 (file)
@@ -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);
 }
 
index 66ce5697dd47f61dd1187ebc35ae830abb3270b8..38733a7ace8b7a2854e70172db33d6a875cb9e75 100644 (file)
@@ -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);
 }
 
index 648c8a6545f0ae515c9554e33fa52a1e1b9b7b31..61d2ad80f5462fb8fd69b66b8239a21dba653bc2 100644 (file)
@@ -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);
 }
 
index 2fad34875a17dec7ec958c7a13737d83eb06743f..6ffbfbdd5849130ac2618d2c419f8f7f73cc1dfb 100644 (file)
@@ -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);
 }
 
index ba1fc9406f458293c1e13ce452b874fc300a9f4a..4b1f60ccffc17fd49870391fae11701932b50d31 100644 (file)
@@ -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);
 }
 
index a2b0e813b6da81c54c38b5d80a033b6aa8b19768..d02164f316b055b9f585b65a95a3ac3075b921fe 100644 (file)
@@ -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);
 }
 
index 834270830c8db7b3bd0481b32a4dceb2d3632307..cad39d71db032577cf2924cb96af0b27667b7af1 100644 (file)
@@ -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);
 }
 
index c1e3e755aeb616da91daf583243c0dcc21b5e70e..8b44a8ad71cbb3354cf90787e0f81f7c870160aa 100644 (file)
@@ -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");
index 0a4d439ee1d8f1a77167e0c79271f38a168cfa73..783aebe81ade80fd7aafea6d7dff55617b312c74 100644 (file)
@@ -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);
 }
 
index 9216f6269c224d8276aa43820248e774192c438b..27e86e37ce59b0cc1db58af995b79d7b8c1fe976 100644 (file)
@@ -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);
 }
 
index 4a2a519ecafa8cf1469ab57deb4a0a3fa2f616cb..afce3548980a86c85ec25854da89ad1836791f4e 100644 (file)
@@ -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);
 }
 
index f22dfa9f78408341abc27935c592aa906b1212c5..be4cd986b125910ef42c2897afefd86af8295e8d 100644 (file)
@@ -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);
 
index 8e75abd5b22a46ff87c7519b952ba43fed74007e..cc7e80c24b737a71e9f3423bc73e7d8e48769b93 100644 (file)
@@ -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;
     }
index d93b5f367b32593ab9d2709fca77bb1856814a89..096b4681eafc810a0ed8a1167cd9ebaefc1037fb 100644 (file)
@@ -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);