当前位置: 首页>>代码示例>>C++>>正文


C++ create_dissector_handle函数代码示例

本文整理汇总了C++中create_dissector_handle函数的典型用法代码示例。如果您正苦于以下问题:C++ create_dissector_handle函数的具体用法?C++ create_dissector_handle怎么用?C++ create_dissector_handle使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了create_dissector_handle函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: proto_reg_handoff_flexnet

void
proto_reg_handoff_flexnet(void)
{
	dissector_add_uint( "ax25.pid", AX25_P_FLEXNET, create_dissector_handle( dissect_flexnet, proto_flexnet ) );

	/*
	 */
	default_handle  = find_dissector( "data" );

}
开发者ID:pvons,项目名称:wireshark,代码行数:10,代码来源:packet-flexnet.c

示例2: proto_reg_handoff_udld

void
proto_reg_handoff_udld(void)
{
    dissector_handle_t udld_handle;

    data_handle = find_dissector("data");
    udld_handle = create_dissector_handle(dissect_udld, proto_udld);
    dissector_add_uint("llc.cisco_pid", 0x0111, udld_handle);
    dissector_add_uint("chdlc.protocol", 0x0111, udld_handle);
}
开发者ID:danielwhite84,项目名称:wireshark,代码行数:10,代码来源:packet-udld.c

示例3: proto_reg_handoff_pn_mrp

void
proto_reg_handoff_pn_mrp (void)
{
	dissector_handle_t mrp_handle;


	mrp_handle = create_dissector_handle(dissect_PNMRP,proto_pn_mrp);
	dissector_add("ethertype", ETHERTYPE_MRP, mrp_handle);

}
开发者ID:flaub,项目名称:HotFuzz,代码行数:10,代码来源:packet-pn-mrp.c

示例4: proto_reg_handoff_ieee80211_prism

void proto_reg_handoff_ieee80211_prism(void)
{
  dissector_handle_t prism_handle;

  prism_handle = create_dissector_handle(dissect_prism, proto_prism);
  dissector_add_uint("wtap_encap", WTAP_ENCAP_IEEE_802_11_PRISM, prism_handle);
  ieee80211_handle = find_dissector("wlan");
  ieee80211_radio_handle = find_dissector("wlan_radio");
  wlancap_handle = find_dissector("wlancap");
}
开发者ID:Nicholas1126,项目名称:wireshark-ex,代码行数:10,代码来源:packet-ieee80211-prism.c

示例5: proto_reg_handoff_vxlan

void
proto_reg_handoff_vxlan(void)
{
    dissector_handle_t vxlan_handle;

    eth_handle = find_dissector("eth");

    vxlan_handle = create_dissector_handle(dissect_vxlan, proto_vxlan);
    dissector_add_handle("udp.port", vxlan_handle);  /* For 'Decode As' */
}
开发者ID:AndresVelasco,项目名称:wireshark,代码行数:10,代码来源:packet-vxlan.c

示例6: proto_reg_handoff_dvb_eit

void proto_reg_handoff_dvb_eit(void)
{
	int tid;
	dissector_handle_t dvb_eit_handle;

	dvb_eit_handle = create_dissector_handle(dissect_dvb_eit, proto_dvb_eit);

	for (tid = DVB_EIT_TID_MIN; tid <= DVB_EIT_TID_MAX; tid++)
		dissector_add_uint("mpeg_sect.tid", tid, dvb_eit_handle);
}
开发者ID:AnkitKejriwal,项目名称:wireshark,代码行数:10,代码来源:packet-dvb-eit.c

示例7: proto_reg_handoff_airopeek

void
proto_reg_handoff_airopeek(void)
{
  dissector_handle_t airopeek_handle;

  ieee80211_handle = find_dissector("wlan_datapad");

  airopeek_handle = create_dissector_handle(dissect_airopeek, proto_airopeek);
  dissector_add("udp.port", 5000, airopeek_handle);
}
开发者ID:RazZziel,项目名称:wireshark-dplay,代码行数:10,代码来源:packet-airopeek.c

示例8: proto_reg_handoff_wtls

void
proto_reg_handoff_wtls(void)
{
	dissector_handle_t wtls_handle;

	wtls_handle = create_dissector_handle(dissect_wtls, proto_wtls);
	dissector_add_uint("udp.port", UDP_PORT_WTLS_WSP,     wtls_handle);
	dissector_add_uint("udp.port", UDP_PORT_WTLS_WTP_WSP, wtls_handle);
	dissector_add_uint("udp.port", UDP_PORT_WTLS_WSP_PUSH,wtls_handle);
}
开发者ID:P1sec,项目名称:LTE_monitor_c2xx,代码行数:10,代码来源:packet-wtls.c

示例9: proto_reg_handoff_sccpmg

void
proto_reg_handoff_sccpmg(void)
{
	dissector_handle_t sccpmg_handle;

	sccpmg_handle = create_dissector_handle(dissect_sccpmg, proto_sccpmg);

	/* Register for SCCP SSN=1 messages */
	dissector_add_uint("sccp.ssn", SCCPMG_SSN, sccpmg_handle);
}
开发者ID:LucaBongiorni,项目名称:LTE_monitor_c2xx,代码行数:10,代码来源:packet-sccpmg.c

示例10: proto_reg_handoff_tfp

/* handoff function */
void
proto_reg_handoff_tfp(void) {

    dissector_handle_t tfp_handle_tcp;

    tfp_handle_tcp = create_dissector_handle(dissect_tfp_tcp, proto_tfp);

    dissector_add_uint("tcp.port", tfp_PORT, tfp_handle_tcp);
    heur_dissector_add("usb.bulk", dissect_tfp_bulk_heur, proto_tfp);
}
开发者ID:nehaahir,项目名称:wireshark,代码行数:11,代码来源:packet-tfp.c

示例11: proto_reg_handoff_wsmp

void
proto_reg_handoff_wsmp(void)
{
    dissector_handle_t wsmp_handle;

    wsmp_handle = create_dissector_handle(dissect_wsmp, proto_wsmp);
    dissector_add_uint("ethertype", ETHERTYPE_WSMP, wsmp_handle);
    data_handle = find_dissector("data");
    return;
}
开发者ID:lubing521,项目名称:wireshark,代码行数:10,代码来源:packet-wsmp.c

示例12: proto_reg_handoff_g723

/* If this dissector uses sub-dissector registration add a registration routine.
   This format is required because a script is used to find these routines and
   create the code that calls these routines.
*/
void
proto_reg_handoff_g723(void)
{
	dissector_handle_t g723_handle;

	g723_handle = create_dissector_handle(dissect_g723, proto_g723);

	dissector_add_uint("rtp.pt", PT_G723, g723_handle);

}
开发者ID:kailiu-bupt2005,项目名称:wireshark,代码行数:14,代码来源:packet-g723.c

示例13: proto_reg_handoff_ipsictl

void proto_reg_handoff_ipsictl(void)
{

  dissector_handle_t ipsictl_handle = NULL;

  ipsictl_handle = create_dissector_handle(dissect_ipsictl, proto_ipsictl);

  dissector_add_uint("tcp.port", IPSICTL_PORT, ipsictl_handle);

}
开发者ID:dot-Sean,项目名称:wireshark-http2,代码行数:10,代码来源:packet-ipsi-ctl.c

示例14: proto_reg_handoff_msdp

void
proto_reg_handoff_msdp(void)
{
        dissector_handle_t msdp_handle;

        msdp_handle = create_dissector_handle(dissect_msdp, proto_msdp);
        dissector_add_uint("tcp.port", 639, msdp_handle);

        ip_handle = find_dissector("ip");
}
开发者ID:hashbrowncipher,项目名称:wireshark,代码行数:10,代码来源:packet-msdp.c

示例15: proto_reg_handoff_dvb_ipdc

void
proto_reg_handoff_dvb_ipdc(void)
{
    dissector_handle_t ipdc_handle;

    sub_handles[DVB_IPDC_SUB_FLUTE] = find_dissector("alc");

    ipdc_handle = create_dissector_handle(dissect_ipdc, proto_ipdc);
    dissector_add_uint("udp.port", UDP_PORT_IPDC_ESG_BOOTSTRAP, ipdc_handle);
}
开发者ID:ARK1988,项目名称:wireshark,代码行数:10,代码来源:packet-dvb-ipdc.c


注:本文中的create_dissector_handle函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。