new_create_dissector_handle -> create_dissector_handle for dissector directory.

Some of the ASN.1 dissectors still generate a new_create_dissector_handle from the tool itself, so leave those for now.

Change-Id: Ic6e5803b1444d7ac24070949f5fd557909a5641f
Reviewed-on: https://code.wireshark.org/review/12484
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Michael Mann 2015-12-08 22:49:44 -05:00
parent 724aeeb2b8
commit 443a7ed259
596 changed files with 1001 additions and 1001 deletions

View File

@ -806,7 +806,7 @@ proto_register_mp4(void)
void
proto_reg_handoff_mp4(void)
{
dissector_handle_t mp4_handle = new_create_dissector_handle(dissect_mp4, proto_mp4);
dissector_handle_t mp4_handle = create_dissector_handle(dissect_mp4, proto_mp4);
dissector_add_string("media_type", "video/mp4", mp4_handle);
dissector_add_string("media_type", "audio/mp4", mp4_handle);
}

View File

@ -340,7 +340,7 @@ void proto_register_2dparityfec(void)
"as FEC data corresponding to Pro-MPEG Code of Practice #3 release 2",
&dissect_fec);
handle_2dparityfec = new_create_dissector_handle(dissect_2dparityfec,
handle_2dparityfec = create_dissector_handle(dissect_2dparityfec,
proto_2dparityfec);
}

View File

@ -783,7 +783,7 @@ proto_reg_handoff_njack(void)
{
dissector_handle_t njack_handle;
njack_handle = new_create_dissector_handle(dissect_njack_static, proto_njack);
njack_handle = create_dissector_handle(dissect_njack_static, proto_njack);
dissector_add_uint("udp.port", PORT_NJACK_PC, njack_handle);
/* dissector_add_uint("tcp.port", PORT_NJACK_PC, njack_handle); */
dissector_add_uint("udp.port", PORT_NJACK_SWITCH, njack_handle);

View File

@ -124,7 +124,7 @@ proto_reg_handoff_3com_xns(void)
ethertype_subdissector_table = find_dissector_table("ethertype");
our_xns_handle = new_create_dissector_handle(dissect_3com_xns, proto_3com_xns);
our_xns_handle = create_dissector_handle(dissect_3com_xns, proto_3com_xns);
dissector_add_uint("llc.dsap", 0x80, our_xns_handle);
}

View File

@ -2762,7 +2762,7 @@ void proto_reg_handoff_9P(void)
data_handle = find_dissector("data");
ninep_handle = new_create_dissector_handle(dissect_9P, proto_9P);
ninep_handle = create_dissector_handle(dissect_9P, proto_9P);
dissector_add_uint("tcp.port", NINEPORT, ninep_handle);
}

View File

@ -963,7 +963,7 @@ void proto_reg_handoff_a21(void)
if (!a21_prefs_initialized) {
a21_handle = new_create_dissector_handle(dissect_a21, proto_a21);
a21_handle = create_dissector_handle(dissect_a21, proto_a21);
gcsna_handle = find_dissector("gcsna");
dissector_add_uint("udp.port", a21_udp_port, a21_handle);
a21_prefs_initialized = TRUE;

View File

@ -341,7 +341,7 @@ proto_reg_handoff_aarp(void)
{
dissector_handle_t aarp_handle;
aarp_handle = new_create_dissector_handle(dissect_aarp, proto_aarp);
aarp_handle = create_dissector_handle(dissect_aarp, proto_aarp);
dissector_add_uint("ethertype", ETHERTYPE_AARP, aarp_handle);
dissector_add_uint("chdlc.protocol", ETHERTYPE_AARP, aarp_handle);
}

View File

@ -521,7 +521,7 @@ void
proto_reg_handoff_aasp(void)
{
dissector_handle_t aasp_handle;
aasp_handle = new_create_dissector_handle(dissect_aasp, proto_aasp);
aasp_handle = create_dissector_handle(dissect_aasp, proto_aasp);
dissector_add_string("media_type", "message/x-aasp-signalling", aasp_handle);
}

View File

@ -210,7 +210,7 @@ proto_register_acap(void)
proto_register_fields(proto_acap, hfi, array_length(hfi));
proto_register_subtree_array(ett, array_length(ett));
acap_handle = new_create_dissector_handle(dissect_acap, proto_acap);
acap_handle = create_dissector_handle(dissect_acap, proto_acap);
}
void

View File

@ -3257,7 +3257,7 @@ void
proto_reg_handoff_acn(void)
{
/* dissector_handle_t acn_handle; */
/* acn_handle = new_create_dissector_handle(dissect_acn, proto_acn); */
/* acn_handle = create_dissector_handle(dissect_acn, proto_acn); */
/* dissector_add_for_decode_as("udp.port", acn_handle); */
heur_dissector_add("udp", dissect_acn_heur, "ACN over UDP", "acn_udp", proto_acn, HEURISTIC_DISABLE);
}

View File

@ -816,7 +816,7 @@ void proto_reg_handoff_actrace(void)
if (!actrace_prefs_initialized)
{
actrace_handle = new_create_dissector_handle(dissect_actrace, proto_actrace);
actrace_handle = create_dissector_handle(dissect_actrace, proto_actrace);
/* Get a handle for the lapd dissector. */
lapd_handle = find_dissector("lapd");
actrace_prefs_initialized = TRUE;

View File

@ -1169,7 +1169,7 @@ proto_reg_handoff_adwin(void)
static unsigned int udp_port;
if (! adwin_prefs_initialized) {
adwin_handle = new_create_dissector_handle(dissect_adwin, proto_adwin);
adwin_handle = create_dissector_handle(dissect_adwin, proto_adwin);
data_handle = find_dissector("data");
adwin_prefs_initialized = TRUE;
} else {

View File

@ -3136,7 +3136,7 @@ void proto_register_aeron(void)
/* The registration hand-off routine */
void proto_reg_handoff_aeron(void)
{
aeron_dissector_handle = new_create_dissector_handle(dissect_aeron, proto_aeron);
aeron_dissector_handle = create_dissector_handle(dissect_aeron, proto_aeron);
dissector_add_for_decode_as("udp.port", aeron_dissector_handle);
heur_dissector_add("udp", test_aeron_packet, "Aeron over UDP", "aeron_udp", proto_aeron, HEURISTIC_DISABLE);
aeron_data_dissector_handle = find_dissector("data");

View File

@ -1138,7 +1138,7 @@ proto_reg_handoff_agentx(void)
static guint agentx_tcp_port;
if(!agentx_prefs_initialized) {
agentx_handle = new_create_dissector_handle(dissect_agentx, proto_agentx);
agentx_handle = create_dissector_handle(dissect_agentx, proto_agentx);
agentx_prefs_initialized = TRUE;
}
else {

View File

@ -97,7 +97,7 @@ proto_reg_handoff_aim_oft(void)
/* dissector_handle_t aim_handle;*/
/* FIXME
aim_handle = new_create_dissector_handle(dissect_aim, proto_aim);
aim_handle = create_dissector_handle(dissect_aim, proto_aim);
dissector_add_uint("tcp.port", TCP_PORT_AIM, aim_handle);*/
}

View File

@ -1717,7 +1717,7 @@ proto_reg_handoff_aim(void)
{
dissector_handle_t aim_handle;
aim_handle = new_create_dissector_handle(dissect_aim, proto_aim);
aim_handle = create_dissector_handle(dissect_aim, proto_aim);
dissector_add_uint("tcp.port", TCP_PORT_AIM, aim_handle);
}

View File

@ -1116,7 +1116,7 @@ void
proto_reg_handoff_ajp13(void)
{
dissector_handle_t ajp13_handle;
ajp13_handle = new_create_dissector_handle(dissect_ajp13, proto_ajp13);
ajp13_handle = create_dissector_handle(dissect_ajp13, proto_ajp13);
dissector_add_uint("tcp.port", 8009, ajp13_handle);
}

View File

@ -3035,8 +3035,8 @@ proto_reg_handoff_AllJoyn(void)
static dissector_handle_t alljoyn_handle_ardp;
if(!initialized) {
alljoyn_handle_ns = new_create_dissector_handle(dissect_AllJoyn_name_server, proto_AllJoyn_ns);
alljoyn_handle_ardp = new_create_dissector_handle(dissect_AllJoyn_ardp, proto_AllJoyn_ardp);
alljoyn_handle_ns = create_dissector_handle(dissect_AllJoyn_name_server, proto_AllJoyn_ns);
alljoyn_handle_ardp = create_dissector_handle(dissect_AllJoyn_ardp, proto_AllJoyn_ardp);
} else {
dissector_delete_uint("udp.port", name_server_port, alljoyn_handle_ns);
dissector_delete_uint("tcp.port", name_server_port, alljoyn_handle_ns);

View File

@ -841,13 +841,13 @@ proto_reg_handoff_amr(void)
/*
* Register H.245 Generic parameter name(s)
*/
amr_name_handle = new_create_dissector_handle(dissect_amr_name, proto_amr);
amr_name_handle = create_dissector_handle(dissect_amr_name, proto_amr);
for (ftr=amr_capability_tab; ftr->id; ftr++) {
if (ftr->name)
dissector_add_string("h245.gef.name", ftr->id, amr_name_handle);
if (ftr->content_pdu)
dissector_add_string("h245.gef.content", ftr->id,
new_create_dissector_handle(ftr->content_pdu, proto_amr));
create_dissector_handle(ftr->content_pdu, proto_amr));
}
/* Activate the next line for testing with the randpkt tool
dissector_add_uint("udp.port", 55555, amr_handle);

View File

@ -928,7 +928,7 @@ proto_reg_handoff_ancp(void)
{
dissector_handle_t ancp_handle;
ancp_handle = new_create_dissector_handle(dissect_ancp, proto_ancp);
ancp_handle = create_dissector_handle(dissect_ancp, proto_ancp);
dissector_add_uint("tcp.port", ANCP_PORT, ancp_handle);
stats_tree_register("ancp", "ancp", "ANCP", 0,
ancp_stats_tree_packet, ancp_stats_tree_init, NULL);

View File

@ -139,7 +139,7 @@ proto_reg_handoff_ans(void)
{
dissector_handle_t ans_handle;
ans_handle = new_create_dissector_handle(dissect_ans, proto_ans);
ans_handle = create_dissector_handle(dissect_ans, proto_ans);
dissector_add_uint("ethertype", ETHERTYPE_INTEL_ANS, ans_handle);
}

View File

@ -3356,7 +3356,7 @@ proto_reg_handoff_ansi_637(void)
dissector_handle_t ansi_637_trans_app_handle;
guint i;
ansi_637_trans_app_handle = new_create_dissector_handle(dissect_ansi_637_trans_app, proto_ansi_637_trans);
ansi_637_trans_app_handle = create_dissector_handle(dissect_ansi_637_trans_app, proto_ansi_637_trans);
/* Dissect messages embedded in SIP */
dissector_add_string("media_type", "application/vnd.3gpp2.sms", ansi_637_trans_app_handle);

View File

@ -3574,7 +3574,7 @@ proto_reg_handoff_ansi_683(void)
{
dissector_handle_t ansi_683_handle;
ansi_683_handle = new_create_dissector_handle(dissect_ansi_683, proto_ansi_683);
ansi_683_handle = create_dissector_handle(dissect_ansi_683, proto_ansi_683);
dissector_add_uint("ansi_map.ota", ANSI_683_FORWARD, ansi_683_handle);
dissector_add_uint("ansi_map.ota", ANSI_683_REVERSE, ansi_683_handle);

View File

@ -12917,9 +12917,9 @@ proto_reg_handoff_ansi_a(void)
{
dissector_handle_t bsmap_handle, sip_dtap_bsmap_handle;
bsmap_handle = new_create_dissector_handle(dissect_bsmap, proto_a_bsmap);
dtap_handle = new_create_dissector_handle(dissect_dtap, proto_a_dtap);
sip_dtap_bsmap_handle = new_create_dissector_handle(dissect_sip_dtap_bsmap, proto_a_dtap);
bsmap_handle = create_dissector_handle(dissect_bsmap, proto_a_bsmap);
dtap_handle = create_dissector_handle(dissect_dtap, proto_a_dtap);
sip_dtap_bsmap_handle = create_dissector_handle(dissect_sip_dtap_bsmap, proto_a_dtap);
data_handle = find_dissector("data");
dissector_add_uint("bsap.pdu_type", BSSAP_PDU_TYPE_BSMAP, bsmap_handle);

View File

@ -929,7 +929,7 @@ proto_reg_handoff_aodv(void)
{
dissector_handle_t aodv_handle;
aodv_handle = new_create_dissector_handle(dissect_aodv,
aodv_handle = create_dissector_handle(dissect_aodv,
proto_aodv);
dissector_add_uint("udp.port", UDP_PORT_AODV, aodv_handle);
}

View File

@ -398,7 +398,7 @@ void proto_register_aol(void) {
void proto_reg_handoff_aol(void) {
static dissector_handle_t aol_handle;
aol_handle = new_create_dissector_handle(dissect_aol,proto_aol);
aol_handle = create_dissector_handle(dissect_aol,proto_aol);
dissector_add_uint("tcp.port",AOL_PORT,aol_handle);
}

View File

@ -129,7 +129,7 @@ proto_reg_handoff_ap1394(void)
ethertype_subdissector_table = find_dissector_table("ethertype");
ap1394_handle = new_create_dissector_handle(dissect_ap1394, proto_ap1394);
ap1394_handle = create_dissector_handle(dissect_ap1394, proto_ap1394);
dissector_add_uint("wtap_encap", WTAP_ENCAP_APPLE_IP_OVER_IEEE1394, ap1394_handle);
}

View File

@ -108,7 +108,7 @@ proto_reg_handoff_cert(void)
{
dissector_handle_t cert_handle;
cert_handle = new_create_dissector_handle(dissect_cert, proto_cert);
cert_handle = create_dissector_handle(dissect_cert, proto_cert);
/* Register the PKIX-CERT media type */
dissector_add_string("media_type", "application/pkix-cert", cert_handle);

View File

@ -518,7 +518,7 @@ void
proto_reg_handoff_applemidi( void ) {
applemidi_handle = new_create_dissector_handle( dissect_applemidi, proto_applemidi );
applemidi_handle = create_dissector_handle( dissect_applemidi, proto_applemidi );
/* If we cannot decode the data it will be RTP-MIDI since the Apple session protocol uses
* two ports: the control-port and the MIDI-port. On both ports an invitation is being sent.

View File

@ -794,7 +794,7 @@ proto_reg_handoff_ar_drone(void)
if (initialized == FALSE)
{
ar_drone_handle = new_create_dissector_handle(dissect_ar_drone, proto_ar_drone);
ar_drone_handle = create_dissector_handle(dissect_ar_drone, proto_ar_drone);
heur_dissector_add("udp", dissect_ar_drone, "AR Drone over UDP", "ar_drone_udp", proto_ar_drone, HEURISTIC_ENABLE);

View File

@ -396,10 +396,10 @@ proto_reg_handoff_arcnet (void)
{
dissector_handle_t arcnet_handle, arcnet_linux_handle;
arcnet_handle = new_create_dissector_handle (dissect_arcnet, proto_arcnet);
arcnet_handle = create_dissector_handle (dissect_arcnet, proto_arcnet);
dissector_add_uint ("wtap_encap", WTAP_ENCAP_ARCNET, arcnet_handle);
arcnet_linux_handle = new_create_dissector_handle (dissect_arcnet_linux,
arcnet_linux_handle = create_dissector_handle (dissect_arcnet_linux,
proto_arcnet);
dissector_add_uint ("wtap_encap", WTAP_ENCAP_ARCNET_LINUX, arcnet_linux_handle);
data_handle = find_dissector ("data");

View File

@ -1970,8 +1970,8 @@ proto_register_arp(void)
expert_arp = expert_register_protocol(proto_arp);
expert_register_field_array(expert_arp, ei, array_length(ei));
atmarp_handle = new_create_dissector_handle(dissect_atmarp, proto_atmarp);
ax25arp_handle = new_create_dissector_handle(dissect_ax25arp, proto_arp);
atmarp_handle = create_dissector_handle(dissect_atmarp, proto_atmarp);
ax25arp_handle = create_dissector_handle(dissect_ax25arp, proto_arp);
arp_handle = new_register_dissector( "arp" , dissect_arp, proto_arp );

View File

@ -5419,7 +5419,7 @@ void
proto_reg_handoff_artnet(void) {
dissector_handle_t artnet_handle;
artnet_handle = new_create_dissector_handle(dissect_artnet, proto_artnet);
artnet_handle = create_dissector_handle(dissect_artnet, proto_artnet);
dissector_add_for_decode_as("udp.port", artnet_handle);
rdm_handle = find_dissector("rdm");
dmx_chan_handle = find_dissector("dmx-chan");

View File

@ -147,7 +147,7 @@ proto_reg_handoff_aruba_adp(void)
{
dissector_handle_t adp_handle;
adp_handle = new_create_dissector_handle(dissect_aruba_adp, proto_aruba_adp);
adp_handle = create_dissector_handle(dissect_aruba_adp, proto_aruba_adp);
dissector_add_uint("udp.port", UDP_PORT_ADP, adp_handle);
}

View File

@ -480,13 +480,13 @@ proto_reg_handoff_aruba_erm(void)
ppi_handle = find_dissector("ppi");
peek_handle = find_dissector("peekremote");
data_handle = find_dissector("data");
aruba_erm_handle = new_create_dissector_handle(dissect_aruba_erm, proto_aruba_erm);
aruba_erm_handle_type0 = new_create_dissector_handle(dissect_aruba_erm_type0, proto_aruba_erm_type0);
aruba_erm_handle_type1 = new_create_dissector_handle(dissect_aruba_erm_type1, proto_aruba_erm_type1);
aruba_erm_handle_type2 = new_create_dissector_handle(dissect_aruba_erm_type2, proto_aruba_erm_type2);
aruba_erm_handle_type3 = new_create_dissector_handle(dissect_aruba_erm_type3, proto_aruba_erm_type3);
aruba_erm_handle_type4 = new_create_dissector_handle(dissect_aruba_erm_type4, proto_aruba_erm_type4);
aruba_erm_handle_type5 = new_create_dissector_handle(dissect_aruba_erm_type5, proto_aruba_erm_type5);
aruba_erm_handle = create_dissector_handle(dissect_aruba_erm, proto_aruba_erm);
aruba_erm_handle_type0 = create_dissector_handle(dissect_aruba_erm_type0, proto_aruba_erm_type0);
aruba_erm_handle_type1 = create_dissector_handle(dissect_aruba_erm_type1, proto_aruba_erm_type1);
aruba_erm_handle_type2 = create_dissector_handle(dissect_aruba_erm_type2, proto_aruba_erm_type2);
aruba_erm_handle_type3 = create_dissector_handle(dissect_aruba_erm_type3, proto_aruba_erm_type3);
aruba_erm_handle_type4 = create_dissector_handle(dissect_aruba_erm_type4, proto_aruba_erm_type4);
aruba_erm_handle_type5 = create_dissector_handle(dissect_aruba_erm_type5, proto_aruba_erm_type5);
initialized = TRUE;
} else {
dissector_delete_uint_range("udp.port", aruba_erm_port_range, aruba_erm_handle);

View File

@ -200,7 +200,7 @@ proto_reg_handoff_aruba_iap(void)
{
dissector_handle_t iap_handle;
iap_handle = new_create_dissector_handle(dissect_aruba_iap, proto_aruba_iap);
iap_handle = create_dissector_handle(dissect_aruba_iap, proto_aruba_iap);
dissector_add_uint("ethertype", ETHERTYPE_IAP, iap_handle);
}

View File

@ -340,7 +340,7 @@ proto_reg_handoff_papi(void)
{
dissector_handle_t papi_handle;
papi_handle = new_create_dissector_handle(dissect_papi, proto_papi);
papi_handle = create_dissector_handle(dissect_papi, proto_papi);
dissector_add_uint("udp.port", UDP_PORT_PAPI, papi_handle);
data_handle = find_dissector("data");
}

View File

@ -922,7 +922,7 @@ proto_reg_handoff_asap(void)
{
dissector_handle_t asap_handle;
asap_handle = new_create_dissector_handle(dissect_asap, proto_asap);
asap_handle = create_dissector_handle(dissect_asap, proto_asap);
dissector_add_uint("sctp.ppi", ASAP_PAYLOAD_PROTOCOL_ID, asap_handle);
dissector_add_uint("udp.port", ASAP_UDP_PORT, asap_handle);
dissector_add_uint("tcp.port", ASAP_TCP_PORT, asap_handle);

View File

@ -161,7 +161,7 @@ proto_reg_handoff_ascend(void)
eth_withoutfcs_handle = find_dissector("eth_withoutfcs");
ppp_hdlc_handle = find_dissector("ppp_hdlc");
ascend_handle = new_create_dissector_handle(dissect_ascend, proto_ascend);
ascend_handle = create_dissector_handle(dissect_ascend, proto_ascend);
dissector_add_uint("wtap_encap", WTAP_ENCAP_ASCEND, ascend_handle);
}

View File

@ -390,7 +390,7 @@ proto_reg_handoff_asf(void)
data_handle = find_dissector("data");
asf_handle = new_create_dissector_handle(dissect_asf, proto_asf);
asf_handle = create_dissector_handle(dissect_asf, proto_asf);
dissector_add_uint("rmcp.class", RMCP_CLASS_ASF, asf_handle);
}

View File

@ -2092,35 +2092,35 @@ proto_reg_handoff_atalk(void)
dissector_handle_t zip_ddp_handle;
dissector_handle_t rtmp_data_handle, llap_handle;
ddp_short_handle = new_create_dissector_handle(dissect_ddp_short, proto_ddp);
ddp_handle = new_create_dissector_handle(dissect_ddp, proto_ddp);
ddp_short_handle = create_dissector_handle(dissect_ddp_short, proto_ddp);
ddp_handle = create_dissector_handle(dissect_ddp, proto_ddp);
dissector_add_uint("ethertype", ETHERTYPE_ATALK, ddp_handle);
dissector_add_uint("chdlc.protocol", ETHERTYPE_ATALK, ddp_handle);
dissector_add_uint("ppp.protocol", PPP_AT, ddp_handle);
dissector_add_uint("null.type", BSD_AF_APPLETALK, ddp_handle);
dissector_add_uint("arcnet.protocol_id", ARCNET_PROTO_APPLETALK, ddp_handle);
nbp_handle = new_create_dissector_handle(dissect_nbp, proto_nbp);
nbp_handle = create_dissector_handle(dissect_nbp, proto_nbp);
dissector_add_uint("ddp.type", DDP_NBP, nbp_handle);
dissector_add_for_decode_as("udp.port", nbp_handle);
atp_handle = new_create_dissector_handle(dissect_atp, proto_atp);
atp_handle = create_dissector_handle(dissect_atp, proto_atp);
dissector_add_uint("ddp.type", DDP_ATP, atp_handle);
asp_handle = new_create_dissector_handle(dissect_asp, proto_asp);
pap_handle = new_create_dissector_handle(dissect_pap, proto_pap);
asp_handle = create_dissector_handle(dissect_asp, proto_asp);
pap_handle = create_dissector_handle(dissect_pap, proto_pap);
rtmp_request_handle = new_create_dissector_handle(dissect_rtmp_request, proto_rtmp);
rtmp_data_handle = new_create_dissector_handle(dissect_rtmp_data, proto_rtmp);
rtmp_request_handle = create_dissector_handle(dissect_rtmp_request, proto_rtmp);
rtmp_data_handle = create_dissector_handle(dissect_rtmp_data, proto_rtmp);
dissector_add_uint("ddp.type", DDP_RTMPREQ, rtmp_request_handle);
dissector_add_uint("ddp.type", DDP_RTMPDATA, rtmp_data_handle);
zip_ddp_handle = new_create_dissector_handle(dissect_ddp_zip, proto_zip);
zip_ddp_handle = create_dissector_handle(dissect_ddp_zip, proto_zip);
dissector_add_uint("ddp.type", DDP_ZIP, zip_ddp_handle);
zip_atp_handle = new_create_dissector_handle(dissect_atp_zip, proto_zip);
zip_atp_handle = create_dissector_handle(dissect_atp_zip, proto_zip);
llap_handle = new_create_dissector_handle(dissect_llap, proto_llap);
llap_handle = create_dissector_handle(dissect_llap, proto_llap);
dissector_add_uint("wtap_encap", WTAP_ENCAP_LOCALTALK, llap_handle);
register_init_routine( atp_init);

View File

@ -440,7 +440,7 @@ proto_reg_handoff_ath(void)
{
static dissector_handle_t ath_handle;
ath_handle = new_create_dissector_handle(dissect_ath, proto_ath);
ath_handle = create_dissector_handle(dissect_ath, proto_ath);
dissector_add_uint("udp.port", ATH_PORT, ath_handle);
}

View File

@ -2036,8 +2036,8 @@ proto_reg_handoff_atm(void)
gprs_ns_handle = find_dissector("gprs_ns");
dissector_add_uint("wtap_encap", WTAP_ENCAP_ATM_PDUS, atm_handle);
dissector_add_uint("atm.aal5.type", TRAF_LANE, new_create_dissector_handle(dissect_lane, proto_atm_lane));
dissector_add_uint("atm.aal5.type", TRAF_ILMI, new_create_dissector_handle(dissect_ilmi, proto_ilmi));
dissector_add_uint("atm.aal5.type", TRAF_LANE, create_dissector_handle(dissect_lane, proto_atm_lane));
dissector_add_uint("atm.aal5.type", TRAF_ILMI, create_dissector_handle(dissect_ilmi, proto_ilmi));
dissector_add_uint("wtap_encap", WTAP_ENCAP_ATM_PDUS_UNTRUNCATED,
atm_untruncated_handle);

View File

@ -152,7 +152,7 @@ proto_reg_handoff_atmtcp(void)
static int current_port;
if (!initialized) {
atmtcp_handle = new_create_dissector_handle(dissect_atmtcp, proto_atmtcp);
atmtcp_handle = create_dissector_handle(dissect_atmtcp, proto_atmtcp);
data_handle = find_dissector("data");
initialized = TRUE;
} else {

View File

@ -297,7 +297,7 @@ proto_reg_handoff_auto_rp(void)
{
dissector_handle_t auto_rp_handle;
auto_rp_handle = new_create_dissector_handle(dissect_auto_rp,
auto_rp_handle = create_dissector_handle(dissect_auto_rp,
proto_auto_rp);
dissector_add_uint("udp.port", UDP_PORT_PIM_RP_DISC, auto_rp_handle);
}

View File

@ -284,7 +284,7 @@ proto_register_ax25_nol3(void)
void
proto_reg_handoff_ax25_nol3(void)
{
dissector_add_uint( "ax25.pid", AX25_P_NO_L3, new_create_dissector_handle( dissect_ax25_nol3, proto_ax25_nol3 ) );
dissector_add_uint( "ax25.pid", AX25_P_NO_L3, create_dissector_handle( dissect_ax25_nol3, proto_ax25_nol3 ) );
/*
*/

View File

@ -163,7 +163,7 @@ proto_reg_handoff_ax4000(void)
{
dissector_handle_t ax4000_handle;
ax4000_handle = new_create_dissector_handle(dissect_ax4000,
ax4000_handle = create_dissector_handle(dissect_ax4000,
proto_ax4000);
dissector_add_uint("ip.proto", IP_PROTO_AX4000, ax4000_handle);
dissector_add_uint("tcp.port", AX4000_TCP_PORT, ax4000_handle);

View File

@ -514,7 +514,7 @@ proto_reg_handoff_babel(void)
{
dissector_handle_t babel_handle;
babel_handle = new_create_dissector_handle(dissect_babel, proto_babel);
babel_handle = create_dissector_handle(dissect_babel, proto_babel);
dissector_add_uint("udp.port", UDP_PORT_BABEL, babel_handle);
dissector_add_uint("udp.port", UDP_PORT_BABEL_OLD, babel_handle);
}

View File

@ -347,7 +347,7 @@ proto_register_banana(void)
void
proto_reg_handoff_banana(void)
{
banana_handle = new_create_dissector_handle(dissect_banana, proto_banana);
banana_handle = create_dissector_handle(dissect_banana, proto_banana);
}
/*

View File

@ -885,9 +885,9 @@ void proto_reg_handoff_bat(void)
bat_tap = register_tap("batman");
bat_follow_tap = register_tap("batman_follow");
batman_handle = new_create_dissector_handle(dissect_bat_batman, proto_bat_plugin);
gw_handle = new_create_dissector_handle(dissect_bat_gw, proto_bat_gw);
vis_handle = new_create_dissector_handle(dissect_bat_vis, proto_bat_vis);
batman_handle = create_dissector_handle(dissect_bat_batman, proto_bat_plugin);
gw_handle = create_dissector_handle(dissect_bat_gw, proto_bat_gw);
vis_handle = create_dissector_handle(dissect_bat_vis, proto_bat_vis);
ip_handle = find_dissector("ip");
data_handle = find_dissector("data");

View File

@ -5047,7 +5047,7 @@ void proto_reg_handoff_batadv(void)
static unsigned int old_batadv_ethertype;
if (!inited) {
batman_handle = new_create_dissector_handle(dissect_batadv_plugin, proto_batadv_plugin);
batman_handle = create_dissector_handle(dissect_batadv_plugin, proto_batadv_plugin);
data_handle = find_dissector("data");
eth_handle = find_dissector("eth");

View File

@ -1017,7 +1017,7 @@ proto_reg_handoff_beep(void)
if (!beep_prefs_initialized) {
beep_handle = new_create_dissector_handle(dissect_beep, proto_beep);
beep_handle = create_dissector_handle(dissect_beep, proto_beep);
beep_prefs_initialized = TRUE;

View File

@ -436,7 +436,7 @@ new_register_ber_oid_dissector(const char *oid, new_dissector_t dissector, int p
{
dissector_handle_t dissector_handle;
dissector_handle = new_create_dissector_handle(dissector, proto);
dissector_handle = create_dissector_handle(dissector, proto);
dissector_add_string("ber.oid", oid, dissector_handle);
oid_add_from_string(name, oid);
}
@ -446,7 +446,7 @@ new_register_ber_syntax_dissector(const char *syntax, int proto, new_dissector_t
{
dissector_handle_t dissector_handle;
dissector_handle = new_create_dissector_handle(dissector, proto);
dissector_handle = create_dissector_handle(dissector, proto);
dissector_add_string("ber.syntax", syntax, dissector_handle);
}

View File

@ -8405,7 +8405,7 @@ proto_reg_handoff_bgp(void)
{
dissector_handle_t bgp_handle;
bgp_handle = new_create_dissector_handle(dissect_bgp, proto_bgp);
bgp_handle = create_dissector_handle(dissect_bgp, proto_bgp);
dissector_add_uint("tcp.port", BGP_TCP_PORT, bgp_handle);
}
/*

View File

@ -1884,48 +1884,48 @@ proto_reg_handoff_bitcoin(void)
heur_dissector_add( "tcp", dissect_bitcoin_heur, "Bitcoin over TCP", "bitcoin_tcp", hfi_bitcoin->id, HEURISTIC_ENABLE);
/* Register all of the commands */
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_version, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_version, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "version", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_addr, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_addr, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "addr", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_inv, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_inv, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "inv", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_getdata, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_getdata, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "getdata", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_getblocks, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_getblocks, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "getblocks", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_getheaders, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_getheaders, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "getheaders", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_tx, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_tx, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "tx", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_block, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_block, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "block", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_ping, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_ping, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "ping", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_pong, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_pong, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "pong", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_notfound, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_notfound, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "notfound", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_reject, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_reject, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "reject", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_headers, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_headers, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "headers", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_filterload, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_filterload, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "filterload", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_filteradd, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_filteradd, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "filteradd", command_handle);
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_merkleblock, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_merkleblock, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "merkleblock", command_handle);
/* messages with no payload */
command_handle = new_create_dissector_handle( dissect_bitcoin_msg_empty, hfi_bitcoin->id );
command_handle = create_dissector_handle( dissect_bitcoin_msg_empty, hfi_bitcoin->id );
dissector_add_string("bitcoin.command", "verack", command_handle);
dissector_add_string("bitcoin.command", "getaddr", command_handle);
dissector_add_string("bitcoin.command", "mempool", command_handle);
dissector_add_string("bitcoin.command", "filterclear", command_handle);
/* messages not implemented */
/* command_handle = new_create_dissector_handle( dissect_bitcoin_msg_empty, hfi_bitcoin->id ); */
/* command_handle = create_dissector_handle( dissect_bitcoin_msg_empty, hfi_bitcoin->id ); */
dissector_add_string("bitcoin.command", "checkorder", command_handle);
dissector_add_string("bitcoin.command", "submitorder", command_handle);
dissector_add_string("bitcoin.command", "reply", command_handle);

View File

@ -1927,10 +1927,10 @@ proto_register_bluetooth(void)
void
proto_reg_handoff_bluetooth(void)
{
dissector_handle_t bluetooth_handle = new_create_dissector_handle(dissect_bluetooth, proto_bluetooth);
dissector_handle_t bluetooth_bthci_handle = new_create_dissector_handle(dissect_bluetooth_bthci, proto_bluetooth);
dissector_handle_t bluetooth_btmon_handle = new_create_dissector_handle(dissect_bluetooth_btmon, proto_bluetooth);
dissector_handle_t bluetooth_usb_handle = new_create_dissector_handle(dissect_bluetooth_usb, proto_bluetooth);
dissector_handle_t bluetooth_handle = create_dissector_handle(dissect_bluetooth, proto_bluetooth);
dissector_handle_t bluetooth_bthci_handle = create_dissector_handle(dissect_bluetooth_bthci, proto_bluetooth);
dissector_handle_t bluetooth_btmon_handle = create_dissector_handle(dissect_bluetooth_btmon, proto_bluetooth);
dissector_handle_t bluetooth_usb_handle = create_dissector_handle(dissect_bluetooth_usb, proto_bluetooth);
btle_handle = find_dissector("btle");
data_handle = find_dissector("data");

View File

@ -809,7 +809,7 @@ proto_reg_handoff_bmp(void)
{
static dissector_handle_t bmp_handle;
bmp_handle = new_create_dissector_handle(dissect_bmp, proto_bmp);
bmp_handle = create_dissector_handle(dissect_bmp, proto_bmp);
dissector_add_for_decode_as("tcp.port", bmp_handle);
dissector_bgp = find_dissector("bgp");
}

View File

@ -130,7 +130,7 @@ proto_reg_handoff_bofl(void)
{
dissector_handle_t bofl_handle;
bofl_handle = new_create_dissector_handle(dissect_bofl, proto_bofl);
bofl_handle = create_dissector_handle(dissect_bofl, proto_bofl);
dissector_add_uint("ethertype", ETHER_TYPE_BOFL, bofl_handle);
}

View File

@ -150,7 +150,7 @@ proto_reg_handoff_bpq(void)
{
dissector_handle_t bpq_handle;
bpq_handle = new_create_dissector_handle( dissect_bpq, proto_bpq );
bpq_handle = create_dissector_handle( dissect_bpq, proto_bpq );
dissector_add_uint("ethertype", ETHERTYPE_BPQ, bpq_handle);
/* BPQ is only implemented for AX.25 */

View File

@ -405,7 +405,7 @@ proto_reg_handoff_brdwlk(void)
{
dissector_handle_t brdwlk_handle;
brdwlk_handle = new_create_dissector_handle(dissect_brdwlk, proto_brdwlk);
brdwlk_handle = create_dissector_handle(dissect_brdwlk, proto_brdwlk);
dissector_add_uint("ethertype", ETHERTYPE_BRDWALK, brdwlk_handle);
dissector_add_uint("ethertype", 0xABCD, brdwlk_handle);
fc_dissector_handle = find_dissector("fc");

View File

@ -2561,7 +2561,7 @@ proto_reg_handoff_bssap(void)
heur_dissector_add("sccp", dissect_bssap_heur, "BSSAP over SCCP", "bssap_sccp", proto_bssap, HEURISTIC_ENABLE);
heur_dissector_add("sua", dissect_bssap_heur, "BSSAP over SUA", "bssap_sua", proto_bssap, HEURISTIC_ENABLE);
/* BSSAP+ */
bssap_plus_handle = new_create_dissector_handle(dissect_bssap_plus, proto_bssap);
bssap_plus_handle = create_dissector_handle(dissect_bssap_plus, proto_bssap);
data_handle = find_dissector("data");
rrlp_handle = find_dissector("rrlp");

View File

@ -592,7 +592,7 @@ proto_reg_handoff_bt_dht(void)
if (!prefs_initialized) {
heur_dissector_add("udp", dissect_bt_dht_heur, "BitTorrent DHT over UDP", "bittorrent_dht_udp", proto_bt_dht, HEURISTIC_DISABLE);
bt_dht_handle = new_create_dissector_handle(dissect_bt_dht, proto_bt_dht);
bt_dht_handle = create_dissector_handle(dissect_bt_dht, proto_bt_dht);
dissector_add_for_decode_as("udp.port", bt_dht_handle);
prefs_initialized = TRUE;

View File

@ -488,7 +488,7 @@ proto_reg_handoff_bt_utp(void)
/* disabled by default since heuristic is weak */
heur_dissector_add("udp", dissect_bt_utp, "BitTorrent UTP over UDP", "bt_utp_udp", proto_bt_utp, HEURISTIC_DISABLE);
bt_utp_handle = new_create_dissector_handle(dissect_bt_utp, proto_bt_utp);
bt_utp_handle = create_dissector_handle(dissect_bt_utp, proto_bt_utp);
dissector_add_for_decode_as("udp.port", bt_utp_handle);
prefs_initialized = TRUE;

View File

@ -12022,7 +12022,7 @@ void proto_register_c15ch(void)
void proto_reg_handoff_c15ch_hbeat(void)
{
static dissector_handle_t c15ch_hbeat_handle;
c15ch_hbeat_handle = new_create_dissector_handle(dissect_c15ch_hbeat, proto_c15ch_hbeat);
c15ch_hbeat_handle = create_dissector_handle(dissect_c15ch_hbeat, proto_c15ch_hbeat);
dissector_add_uint("ethertype", ETHERTYPE_C15_HBEAT, c15ch_hbeat_handle);
}
@ -12033,261 +12033,261 @@ void proto_reg_handoff_c15ch(void)
dissector_handle_t c15ch_second_level_handle;
dissector_handle_t c15ch_third_level_handle;
/* first level */
c15ch_handle = new_create_dissector_handle(dissect_c15ch, proto_c15ch);
c15ch_handle = create_dissector_handle(dissect_c15ch, proto_c15ch);
dissector_add_uint("ethertype", ETHERTYPE_C15_CH, c15ch_handle);
/* second_level */
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_cp_state_ch, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_cp_state_ch, proto_c15ch_second_level);
dissector_add_uint("c15", C15_CP_STATE_CH, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_cp_event, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_cp_event, proto_c15ch_second_level);
dissector_add_uint("c15", C15_CP_EVENT, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_isup, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_isup, proto_c15ch_second_level);
dissector_add_uint("c15", C15_ISUP, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_nitnxlate, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_nitnxlate, proto_c15ch_second_level);
dissector_add_uint("c15", C15_NITN_XLATE, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_route, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_route, proto_c15ch_second_level);
dissector_add_uint("c15", C15_ROUTE, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_sccp, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_sccp, proto_c15ch_second_level);
dissector_add_uint("c15", C15_SCCP, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_orig, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_orig, proto_c15ch_second_level);
dissector_add_uint("c15", C15_CP_ORIG, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_conn, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_conn, proto_c15ch_second_level);
dissector_add_uint("c15", C15_CONN, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_ntwk_conn, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_ntwk_conn, proto_c15ch_second_level);
dissector_add_uint("c15", C15_NTWK_CONN, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_mkbrk, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_mkbrk, proto_c15ch_second_level);
dissector_add_uint("c15", C15_MK_BRK, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_pathfind, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_pathfind, proto_c15ch_second_level);
dissector_add_uint("c15", C15_PATH_FIND, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_pathidle, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_pathidle, proto_c15ch_second_level);
dissector_add_uint("c15", C15_PATH_IDLE, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_dest_digits, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_dest_digits, proto_c15ch_second_level);
dissector_add_uint("c15", C15_DEST_DIGITS, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_twc_rswch, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_twc_rswch, proto_c15ch_second_level);
dissector_add_uint("c15", C15_TWC_RSWCH, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_srcedest, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_srcedest, proto_c15ch_second_level);
dissector_add_uint("c15", C15_SRCE_DEST, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe, proto_c15ch_second_level);
dissector_add_uint("c15", C15_INC_GWE, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_out_gwe, proto_c15ch_second_level);
dissector_add_uint("c15", C15_OUT_GWE, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_outgwebc, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_outgwebc, proto_c15ch_second_level);
dissector_add_uint("c15", C15_OUT_GWE_BC, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_q931, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_q931, proto_c15ch_second_level);
dissector_add_uint("c15", C15_Q931, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_ama, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_ama, proto_c15ch_second_level);
dissector_add_uint("c15", C15_AMA, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_qos, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_qos, proto_c15ch_second_level);
dissector_add_uint("c15", C15_QOS, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_echo_cancel, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_echo_cancel, proto_c15ch_second_level);
dissector_add_uint("c15", C15_ECHO_CANCEL, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_tone, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_tone, proto_c15ch_second_level);
dissector_add_uint("c15", C15_TONE, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_encap_isup, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_encap_isup, proto_c15ch_second_level);
dissector_add_uint("c15", C15_ENCAP_ISUP, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_tcap, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_tcap, proto_c15ch_second_level);
dissector_add_uint("c15", C15_TCAP, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_clli, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_clli, proto_c15ch_second_level);
dissector_add_uint("c15", C15_CLLI, c15ch_second_level_handle);
c15ch_second_level_handle = new_create_dissector_handle(dissect_c15ch_c15_info, proto_c15ch_second_level);
c15ch_second_level_handle = create_dissector_handle(dissect_c15ch_c15_info, proto_c15ch_second_level);
dissector_add_uint("c15", C15_INFO, c15ch_second_level_handle);
/* third level */
/* tone */
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_tone_cot_control, proto_c15ch_third_level_tone);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_tone_cot_control, proto_c15ch_third_level_tone);
dissector_add_uint("c15.tone", C15_TONE_COT, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_tone_cpm, proto_c15ch_third_level_tone);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_tone_cpm, proto_c15ch_third_level_tone);
dissector_add_uint("c15.tone", C15_TONE_CPM, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_tone_give_tone, proto_c15ch_third_level_tone);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_tone_give_tone, proto_c15ch_third_level_tone);
dissector_add_uint("c15.tone", C15_TONE_GIVE_TONE, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_tone_madn_ring, proto_c15ch_third_level_tone);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_tone_madn_ring, proto_c15ch_third_level_tone);
dissector_add_uint("c15.tone", C15_TONE_MADN_RING, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_tone_opls, proto_c15ch_third_level_tone);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_tone_opls, proto_c15ch_third_level_tone);
dissector_add_uint("c15.tone", C15_TONE_OPLS, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_tone_rcvr, proto_c15ch_third_level_tone);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_tone_rcvr, proto_c15ch_third_level_tone);
dissector_add_uint("c15.tone", C15_TONE_RCVR, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_tone_timeout, proto_c15ch_third_level_tone);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_tone_timeout, proto_c15ch_third_level_tone);
dissector_add_uint("c15.tone", C15_TONE_TIMEOUT, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_tone_tone_control, proto_c15ch_third_level_tone);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_tone_tone_control, proto_c15ch_third_level_tone);
dissector_add_uint("c15.tone", C15_TONE_TONE_CONTROL, c15ch_third_level_handle);
/* inc gwe */
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_reply, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_reply, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_REPLY, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_bc_pgi, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_bc_pgi, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_BC_PGI, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_mgcp_dlcx, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_mgcp_dlcx, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_MGCP_DLCX, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_h248_digit, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_h248_digit, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_H248_DIGIT, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_voip_cot, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_voip_cot, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_VOIP_COT, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_notify, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_notify, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_NOTIFY, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_admn_updt, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_admn_updt, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_ADMN_UPDT_REC, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_cl_setup, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_cl_setup, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_CL_SETUP, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_ptrk_setup, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_ptrk_setup, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_PTRK_SETUP, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_cl_prog, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_cl_prog, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_CL_PROG, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_cl_ans, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_cl_ans, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_CL_ANS, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_cl_rel, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_cl_rel, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_CL_REL, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_ntwk_mod, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_ntwk_mod, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_NTWK_MOD, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_rv_avail, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_rv_avail, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_RV_AVAIL, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_cl_redir, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_cl_redir, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_CL_REDIR, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_cl_refer, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_cl_refer, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_CL_REFER, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_chg_hndl, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_chg_hndl, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_CHG_HDL, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_subs_chg_hndl, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_subs_chg_hndl, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_SUBS_CHG_HDL, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_info, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_info, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_INFO, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_inv_repl, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_inv_repl, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_INV_REPL, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_admn_dn, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_admn_dn, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_ADMN_DN, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_sua_reply, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_sua_reply, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_SUA_REPLY, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_sua_hndl, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_sua_hndl, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_SUA_HNDL, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_inc_gwe_tgh_stat, proto_c15ch_third_level_inc_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_inc_gwe_tgh_stat, proto_c15ch_third_level_inc_gwe);
dissector_add_uint("c15.inc_gwe", C15_INC_GWE_SUA_TGH_STAT, c15ch_third_level_handle);
/* out gwe */
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_digit_scan, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_digit_scan, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_DIGIT_SCAN, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_conn_num, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_conn_num, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_CONN_NUM, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_mk_conn, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_mk_conn, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_MK_CONN, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_md_conn, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_md_conn, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_MD_CONN, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_call_ans, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_call_ans, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_CALL_ANS, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_call_setup, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_call_setup, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_CALL_SETUP, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_call_prog, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_call_prog, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_CALL_PROG, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_call_notify, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_call_notify, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_CALL_NOTIFY, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_call_rel, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_call_rel, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_CALL_REL, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_update_ni_tn, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_update_ni_tn, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_UPDT_NI_TN, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_pcm_data, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_pcm_data, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_PCM_DATA, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_blf_data, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_blf_data, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_BLF_DATA, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_out_cot, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_out_cot, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_COT, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_ring_line, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_ring_line, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_RING_LINE, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_audit_conn, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_audit_conn, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_AUDIT_CONN, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_sac_sub_valid, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_sac_sub_valid, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_SAC_SUB_VALID, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_sac_notify, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_sac_notify, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_SAC_NOTIFY, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_sac_list_entry, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_sac_list_entry, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_SAC_LIST_ENTRY, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_rv_subs_data, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_rv_subs_data, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_RV_SUBS_DATA, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_update_rec_addr, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_update_rec_addr, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_UPDT_REC_ADDR, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_del_subs_ua, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_del_subs_ua, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_DEL_SUBS_UA, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_line_sprvsn, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_line_sprvsn, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_LINE_SPRVSN, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_sip_info, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_sip_info, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_SIP_INFO, c15ch_third_level_handle);
c15ch_third_level_handle = new_create_dissector_handle(dissect_c15ch_out_gwe_sip_refer, proto_c15ch_third_level_out_gwe);
c15ch_third_level_handle = create_dissector_handle(dissect_c15ch_out_gwe_sip_refer, proto_c15ch_third_level_out_gwe);
dissector_add_uint("c15.out_gwe", C15_OUT_GWE_SIP_REFER, c15ch_third_level_handle);
/* find external dissectors */

View File

@ -159,7 +159,7 @@ proto_reg_handoff_calcappprotocol(void)
{
dissector_handle_t calcappprotocol_handle;
calcappprotocol_handle = new_create_dissector_handle(dissect_calcappprotocol, proto_calcappprotocol);
calcappprotocol_handle = create_dissector_handle(dissect_calcappprotocol, proto_calcappprotocol);
dissector_add_uint("sctp.ppi", CALCAPPPROTOCOL_PAYLOAD_PROTOCOL_ID_LEGACY, calcappprotocol_handle);
dissector_add_uint("sctp.ppi", CALCAPP_PAYLOAD_PROTOCOL_ID, calcappprotocol_handle);
}

View File

@ -1385,7 +1385,7 @@ proto_reg_handoff_canopen(void)
{
dissector_handle_t canopen_handle;
canopen_handle = new_create_dissector_handle( dissect_canopen, proto_canopen );
canopen_handle = create_dissector_handle( dissect_canopen, proto_canopen );
dissector_add_for_decode_as("can.subdissector", canopen_handle );
}

View File

@ -5799,8 +5799,8 @@ proto_reg_handoff_capwap(void)
static guint capwap_control_udp_port, capwap_data_udp_port;
if (!inited) {
capwap_control_handle = new_create_dissector_handle(dissect_capwap_control, proto_capwap_control);
capwap_data_handle = new_create_dissector_handle(dissect_capwap_data, proto_capwap_data);
capwap_control_handle = create_dissector_handle(dissect_capwap_control, proto_capwap_control);
capwap_data_handle = create_dissector_handle(dissect_capwap_data, proto_capwap_data);
dtls_handle = find_dissector("dtls");
ieee8023_handle = find_dissector("eth_withoutfcs");
ieee80211_handle = find_dissector("wlan_withoutfcs");

View File

@ -246,7 +246,7 @@ proto_reg_handoff_carp(void)
{
dissector_handle_t carp_handle;
carp_handle = new_create_dissector_handle(dissect_carp, proto_carp);
carp_handle = create_dissector_handle(dissect_carp, proto_carp);
dissector_add_uint("ip.proto", IP_PROTO_VRRP, carp_handle);
heur_dissector_add( "ip", dissect_carp_heur, "CARP over IP", "carp_ip", proto_carp, HEURISTIC_ENABLE);
}

View File

@ -1711,7 +1711,7 @@ proto_reg_handoff_cast(void)
dissector_handle_t cast_handle;
data_handle = find_dissector("data");
cast_handle = new_create_dissector_handle(dissect_cast, proto_cast);
cast_handle = create_dissector_handle(dissect_cast, proto_cast);
dissector_add_uint("tcp.port", TCP_PORT_CAST, cast_handle);
}

View File

@ -575,7 +575,7 @@ proto_reg_handoff_cattp(void)
dissector_handle_t cattp_handle;
/* Create dissector handle */
cattp_handle = new_create_dissector_handle(dissect_cattp, proto_cattp);
cattp_handle = create_dissector_handle(dissect_cattp, proto_cattp);
/* find data handle */
data_handle = find_dissector("data");

View File

@ -861,7 +861,7 @@ proto_reg_handoff_cbor(void)
{
static dissector_handle_t cbor_handle;
cbor_handle = new_create_dissector_handle(dissect_cbor, proto_cbor);
cbor_handle = create_dissector_handle(dissect_cbor, proto_cbor);
dissector_add_string("media_type", "application/cbor", cbor_handle); /* RFC 7049 */
}

View File

@ -1475,7 +1475,7 @@ proto_reg_handoff_cdp(void)
dissector_handle_t cdp_handle;
data_handle = find_dissector("data");
cdp_handle = new_create_dissector_handle(dissect_cdp, proto_cdp);
cdp_handle = create_dissector_handle(dissect_cdp, proto_cdp);
dissector_add_uint("llc.cisco_pid", 0x2000, cdp_handle);
dissector_add_uint("chdlc.protocol", 0x2000, cdp_handle);
dissector_add_uint("ppp.protocol", 0x0207, cdp_handle);

View File

@ -10508,7 +10508,7 @@ proto_register_ceph(void)
void
proto_reg_handoff_ceph(void)
{
ceph_handle = new_create_dissector_handle(dissect_ceph_old, proto_ceph);
ceph_handle = create_dissector_handle(dissect_ceph_old, proto_ceph);
heur_dissector_add("tcp", dissect_ceph_heur, "Ceph over TCP", "ceph_tcp", proto_ceph, HEURISTIC_ENABLE);
}

View File

@ -1633,7 +1633,7 @@ proto_reg_handoff_cfdp(void)
{
static dissector_handle_t cfdp_handle;
cfdp_handle = new_create_dissector_handle(dissect_cfdp, proto_cfdp);
cfdp_handle = create_dissector_handle(dissect_cfdp, proto_cfdp);
dissector_add_uint("ccsds.apid", CFDP_APID, cfdp_handle);
dissector_add_for_decode_as ( "udp.port", cfdp_handle );
data_handle = find_dissector("data");

View File

@ -139,7 +139,7 @@ proto_reg_handoff_cgmp(void)
{
dissector_handle_t cgmp_handle;
cgmp_handle = new_create_dissector_handle(dissect_cgmp, proto_cgmp);
cgmp_handle = create_dissector_handle(dissect_cgmp, proto_cgmp);
dissector_add_uint("llc.cisco_pid", 0x2001, cgmp_handle);
dissector_add_uint("ethertype", 0x2001, cgmp_handle);
}

View File

@ -92,7 +92,7 @@ proto_reg_handoff_chargen(void)
{
dissector_handle_t chargen_handle;
chargen_handle = new_create_dissector_handle(dissect_chargen, proto_chargen);
chargen_handle = create_dissector_handle(dissect_chargen, proto_chargen);
dissector_add_uint("udp.port", CHARGEN_PORT_UDP, chargen_handle);
dissector_add_uint("tcp.port", CHARGEN_PORT_TCP, chargen_handle);
}

View File

@ -392,7 +392,7 @@ proto_reg_handoff_slarp(void)
{
dissector_handle_t slarp_handle;
slarp_handle = new_create_dissector_handle(dissect_slarp, proto_slarp);
slarp_handle = create_dissector_handle(dissect_slarp, proto_slarp);
dissector_add_uint("chdlc.protocol", CISCO_SLARP, slarp_handle);
}

View File

@ -12050,7 +12050,7 @@ proto_reg_handoff_cigi(void)
if( !inited ) {
cigi_handle = new_create_dissector_handle(dissect_cigi, proto_cigi);
cigi_handle = create_dissector_handle(dissect_cigi, proto_cigi);
dissector_add_for_decode_as("udp.port", cigi_handle);
dissector_add_for_decode_as("tcp.port", cigi_handle);
heur_dissector_add("udp", dissect_cigi_heur, "CIGI over UDP", "cigi_udp", proto_cigi, HEURISTIC_ENABLE);

View File

@ -1167,7 +1167,7 @@ proto_reg_handoff_cimd(void)
/**
* Also register as one that can be selected by a TCP port number.
*/
cimd_handle = new_create_dissector_handle(dissect_cimd, proto_cimd);
cimd_handle = create_dissector_handle(dissect_cimd, proto_cimd);
dissector_add_for_decode_as("tcp.port", cimd_handle);
}

View File

@ -7010,25 +7010,25 @@ proto_reg_handoff_cip(void)
/* Create dissector handles */
/* Register for UCMM CIP data, using EtherNet/IP SendRRData service*/
/* Register for Connected CIP data, using EtherNet/IP SendUnitData service*/
cip_handle = new_create_dissector_handle( dissect_cip, proto_cip );
cip_handle = create_dissector_handle( dissect_cip, proto_cip );
dissector_add_uint( "enip.srrd.iface", ENIP_CIP_INTERFACE, cip_handle );
dissector_add_uint( "enip.sud.iface", ENIP_CIP_INTERFACE, cip_handle );
/* Create and register dissector handle for generic class */
cip_class_generic_handle = new_create_dissector_handle( dissect_cip_class_generic, proto_cip_class_generic );
cip_class_generic_handle = create_dissector_handle( dissect_cip_class_generic, proto_cip_class_generic );
dissector_add_uint( "cip.class.iface", 0, cip_class_generic_handle );
/* Create and register dissector handle for Connection Manager */
cip_class_cm_handle = new_create_dissector_handle( dissect_cip_class_cm, proto_cip_class_cm );
cip_class_cm_handle = create_dissector_handle( dissect_cip_class_cm, proto_cip_class_cm );
dissector_add_uint( "cip.class.iface", CI_CLS_CM, cip_class_cm_handle );
/* Create and register dissector handle for Modbus Object */
cip_class_mb_handle = new_create_dissector_handle( dissect_cip_class_mb, proto_cip_class_mb );
cip_class_mb_handle = create_dissector_handle( dissect_cip_class_mb, proto_cip_class_mb );
dissector_add_uint( "cip.class.iface", CI_CLS_MB, cip_class_mb_handle );
modbus_handle = find_dissector("modbus");
/* Create and register dissector handle for Connection Configuration Object */
cip_class_cco_handle = new_create_dissector_handle( dissect_cip_class_cco, proto_cip_class_cco );
cip_class_cco_handle = create_dissector_handle( dissect_cip_class_cco, proto_cip_class_cco );
dissector_add_uint( "cip.class.iface", CI_CLS_CCO, cip_class_cco_handle );
heur_dissector_add("cip.sc", dissect_class_cco_heur, "CIP Connection Configuration Object", "cco_cip", proto_cip_class_cco, HEURISTIC_ENABLE);

View File

@ -2929,7 +2929,7 @@ void proto_reg_handoff_cipmotion(void)
dissector_handle_t cipmotion_handle;
/* Create and register dissector for I/O data handling */
cipmotion_handle = new_create_dissector_handle( dissect_cipmotion, proto_cipmotion );
cipmotion_handle = create_dissector_handle( dissect_cipmotion, proto_cipmotion );
dissector_add_for_decode_as("enip.io", cipmotion_handle );
}

View File

@ -2614,16 +2614,16 @@ proto_reg_handoff_cipsafety(void)
dissector_handle_t cip_class_s_supervisor_handle, cipsafety_handle;
/* Create and register dissector handle for Safety Supervisor */
cip_class_s_supervisor_handle = new_create_dissector_handle( dissect_cip_class_s_supervisor, proto_cip_class_s_supervisor );
cip_class_s_supervisor_handle = create_dissector_handle( dissect_cip_class_s_supervisor, proto_cip_class_s_supervisor );
dissector_add_uint( "cip.class.iface", CI_CLS_SAFETY_SUPERVISOR, cip_class_s_supervisor_handle );
/* Create and register dissector handle for Safety Validator */
cip_class_s_validator_handle = new_create_dissector_handle( dissect_cip_class_s_validator, proto_cip_class_s_validator );
cip_class_s_validator_handle = create_dissector_handle( dissect_cip_class_s_validator, proto_cip_class_s_validator );
dissector_add_uint( "cip.class.iface", CI_CLS_SAFETY_VALIDATOR, cip_class_s_validator_handle );
heur_dissector_add("cip.sc", dissect_class_svalidator_heur, "CIP Safety Validator", "s_validator_cip", proto_cip_class_s_validator, HEURISTIC_ENABLE);
/* Create and register dissector for I/O data handling */
cipsafety_handle = new_create_dissector_handle( dissect_cipsafety, proto_cipsafety );
cipsafety_handle = create_dissector_handle( dissect_cipsafety, proto_cipsafety );
dissector_add_for_decode_as("enip.io", cipsafety_handle );
proto_cip = proto_get_id_by_filter_name( "cip" );

View File

@ -333,7 +333,7 @@ proto_reg_handoff_erspan(void)
ethnofcs_handle = find_dissector("eth_withoutfcs");
erspan_handle = new_create_dissector_handle(dissect_erspan, proto_erspan);
erspan_handle = create_dissector_handle(dissect_erspan, proto_erspan);
dissector_add_uint("gre.proto", GRE_ERSPAN_88BE, erspan_handle);
dissector_add_uint("gre.proto", GRE_ERSPAN_22EB, erspan_handle);

View File

@ -367,7 +367,7 @@ proto_reg_handoff_fabricpath(void)
{
/*
dissector_handle_t fp_handle;
fp_handle = new_create_dissector_handle(dissect_fp, proto_fp);
fp_handle = create_dissector_handle(dissect_fp, proto_fp);
dissector_add_uint("ethertype", ETHERTYPE_DCE, fp_handle);
*/
static gboolean prefs_initialized = FALSE;

View File

@ -203,7 +203,7 @@ proto_register_erpsan_marker(void)
proto_register_fields(proto_marker, hfi, array_length(hfi));
proto_register_subtree_array(ett, array_length(ett));
marker_handle = new_create_dissector_handle(dissect_marker, proto_marker);
marker_handle = create_dissector_handle(dissect_marker, proto_marker);
}
void

View File

@ -143,7 +143,7 @@ proto_reg_handoff_cmd(void)
ethertype_handle = find_dissector("ethertype");
cmd_handle = new_create_dissector_handle(dissect_cmd, proto_cmd);
cmd_handle = create_dissector_handle(dissect_cmd, proto_cmd);
dissector_add_uint("ethertype", ETHERTYPE_CMD, cmd_handle);
}

View File

@ -196,7 +196,7 @@ proto_reg_handoff_cwids(void)
static gboolean initialized = FALSE;
if (!initialized) {
cwids_handle = new_create_dissector_handle(dissect_cwids, proto_cwids);
cwids_handle = create_dissector_handle(dissect_cwids, proto_cwids);
dissector_add_for_decode_as("udp.port", cwids_handle);
ieee80211_radio_handle = find_dissector("wlan_radio");
initialized = TRUE;

View File

@ -121,7 +121,7 @@ proto_reg_handoff_clip(void)
*/
ip_handle = find_dissector("ip");
clip_handle = new_create_dissector_handle(dissect_clip, proto_clip);
clip_handle = create_dissector_handle(dissect_clip, proto_clip);
/* XXX - no protocol, can't be disabled */
dissector_add_uint("wtap_encap", WTAP_ENCAP_LINUX_ATM_CLIP, clip_handle);
}

View File

@ -772,7 +772,7 @@ proto_reg_handoff_clnp(void)
idrp_handle = find_dissector("idrp");
data_handle = find_dissector("data");
clnp_handle = new_create_dissector_handle(dissect_clnp, proto_clnp);
clnp_handle = create_dissector_handle(dissect_clnp, proto_clnp);
dissector_add_uint("osinl.incl", NLPID_ISO8473_CLNP, clnp_handle);
dissector_add_uint("osinl.incl", NLPID_NULL, clnp_handle); /* Inactive subset */
dissector_add_uint("x.25.spi", NLPID_ISO8473_CLNP, clnp_handle);

View File

@ -977,7 +977,7 @@ proto_reg_handoff_cmpp(void)
{
dissector_handle_t cmpp_handle;
cmpp_handle = new_create_dissector_handle(dissect_cmpp, proto_cmpp);
cmpp_handle = create_dissector_handle(dissect_cmpp, proto_cmpp);
dissector_add_uint("tcp.port", CMPP_SP_LONG_PORT, cmpp_handle);
dissector_add_uint("tcp.port", CMPP_SP_SHORT_PORT, cmpp_handle);
dissector_add_uint("tcp.port", CMPP_ISMG_LONG_PORT, cmpp_handle);

View File

@ -242,7 +242,7 @@ void proto_reg_handoff_cnip(void)
{
dissector_handle_t cnip_handle;
cnip_handle = new_create_dissector_handle(dissect_cnip, proto_cnip);
cnip_handle = create_dissector_handle(dissect_cnip, proto_cnip);
data_handle = find_dissector("data");
dissector_add_uint ("udp.port", 1628, cnip_handle);

View File

@ -1506,7 +1506,7 @@ void proto_reg_handoff_collectd (void)
static dissector_handle_t collectd_handle;
if (first_run)
collectd_handle = new_create_dissector_handle (dissect_collectd,
collectd_handle = create_dissector_handle (dissect_collectd,
proto_collectd);
/* Change the dissector registration if the preferences have been

View File

@ -291,7 +291,7 @@ proto_reg_handoff_componentstatusprotocol(void)
{
dissector_handle_t componentstatusprotocol_handle;
componentstatusprotocol_handle = new_create_dissector_handle(dissect_componentstatusprotocol, proto_componentstatusprotocol);
componentstatusprotocol_handle = create_dissector_handle(dissect_componentstatusprotocol, proto_componentstatusprotocol);
dissector_add_uint("udp.port", COMPONENTSTATUSPROTOCOL_PORT, componentstatusprotocol_handle);
}

View File

@ -482,7 +482,7 @@ proto_reg_handoff_corosync_totemnet(void)
}
else
{
corosync_totemnet_handle = new_create_dissector_handle(dissect_corosynec_totemnet,
corosync_totemnet_handle = create_dissector_handle(dissect_corosynec_totemnet,
proto_corosync_totemnet);
corosync_totemsrp_handle = find_dissector("corosync_totemsrp");

View File

@ -187,7 +187,7 @@ proto_reg_handoff_cosine(void)
fr_handle = find_dissector("fr");
data_handle = find_dissector("data");
cosine_handle = new_create_dissector_handle(dissect_cosine, proto_cosine);
cosine_handle = create_dissector_handle(dissect_cosine, proto_cosine);
dissector_add_uint("wtap_encap", WTAP_ENCAP_COSINE, cosine_handle);
}

View File

@ -1788,7 +1788,7 @@ proto_reg_handoff_couchbase(void)
static gboolean initialized = FALSE;
if (initialized == FALSE) {
couchbase_tcp_handle = new_create_dissector_handle(dissect_couchbase_tcp, proto_couchbase);
couchbase_tcp_handle = create_dissector_handle(dissect_couchbase_tcp, proto_couchbase);
initialized = TRUE;
}
else {

View File

@ -1386,7 +1386,7 @@ proto_reg_handoff_cp2179(void)
static unsigned int cp2179_port;
if (!cp2179_prefs_initialized){
cp2179_handle = new_create_dissector_handle(dissect_cp2179, proto_cp2179);
cp2179_handle = create_dissector_handle(dissect_cp2179, proto_cp2179);
cp2179_prefs_initialized = TRUE;
}
else {

View File

@ -536,7 +536,7 @@ proto_reg_handoff_cpfi(void)
if ( !cpfi_init_complete )
{
fc_handle = find_dissector("fc");
cpfi_handle = new_create_dissector_handle(dissect_cpfi, proto_cpfi);
cpfi_handle = create_dissector_handle(dissect_cpfi, proto_cpfi);
cpfi_init_complete = TRUE;
}
else

View File

@ -533,7 +533,7 @@ proto_reg_handoff_cpha(void)
{
dissector_handle_t cpha_handle;
cpha_handle = new_create_dissector_handle(dissect_cpha, proto_cphap);
cpha_handle = create_dissector_handle(dissect_cpha, proto_cphap);
dissector_add_uint("udp.port", UDP_PORT_CPHA, cpha_handle);
}
/*

View File

@ -639,7 +639,7 @@ proto_reg_handoff_csm_encaps(void)
{
dissector_handle_t csm_encaps_handle;
csm_encaps_handle = new_create_dissector_handle(dissect_csm_encaps, proto_csm_encaps);
csm_encaps_handle = create_dissector_handle(dissect_csm_encaps, proto_csm_encaps);
dissector_add_uint("ethertype", ETHERTYPE_CSM_ENCAPS, csm_encaps_handle);
}

Some files were not shown because too many files have changed in this diff Show More