• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ create_dissector_handle函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: proto_reg_handoff_vntag

void
proto_reg_handoff_vntag(void)
{
	dissector_handle_t vntag_handle;

	/* XXX, add 0x8926 define to epan/etypes.h && etype_vals */

	vntag_handle = create_dissector_handle(dissect_vntag, proto_vntag);
	dissector_add_uint("ethertype", 0x8926, vntag_handle);
}
开发者ID:dogphilly,项目名称:wireshark,代码行数:10,代码来源:packet-vntag.c


示例17: proto_reg_handoff_cnip

void proto_reg_handoff_cnip(void)
{
   dissector_handle_t cnip_handle;

   cnip_handle = create_dissector_handle(dissect_cnip, proto_cnip);
   data_handle = find_dissector("data");

   dissector_add_uint ("udp.port", 1628, cnip_handle);
   dissector_add_uint ("udp.port", 1629, cnip_handle);
}
开发者ID:Biamp-Systems,项目名称:wireshark,代码行数:10,代码来源:packet-cnip.c


示例18: proto_reg_handoff_pkcs10

/*--- proto_reg_handoff_pkcs10 -------------------------------------------*/
void proto_reg_handoff_pkcs10(void) {
  dissector_handle_t csr_handle;

#include "packet-pkcs10-dis-tab.c"

  csr_handle = create_dissector_handle(dissect_CertificationRequest_PDU, proto_pkcs10);
  dissector_add_string("media_type", "application/pkcs10", csr_handle); /* RFC 5967 */
  dissector_add_string("rfc7468.preeb_label", "CERTIFICATE REQUEST", csr_handle); /* RFC 7468 */
  dissector_add_string("rfc7468.preeb_label", "NEW CERTIFICATE REQUEST", csr_handle); /* RFC 7468 Appendix A. Non-conforming expample*/
}
开发者ID:ljakab,项目名称:wireshark,代码行数:11,代码来源:packet-pkcs10-template.c


示例19: proto_reg_handoff_spp

void
proto_reg_handoff_spp(void)
{
	dissector_handle_t spp_handle;

	spp_handle = create_dissector_handle(dissect_spp, proto_spp);
	dissector_add_uint("idp.packet_type", IDP_PACKET_TYPE_SPP, spp_handle);

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


示例20: proto_reg_handoff_slow_protocols

void
proto_reg_handoff_slow_protocols(void)
{
    dissector_handle_t slow_protocols_handle;

    slow_protocols_handle = create_dissector_handle(dissect_slow_protocols, proto_slow);
    dissector_add_uint("ethertype", ETHERTYPE_SLOW_PROTOCOLS, slow_protocols_handle);

    dh_data = find_dissector("data");
}
开发者ID:ARK1988,项目名称:wireshark,代码行数:10,代码来源:packet-slowprotocols.c



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ create_door函数代码示例发布时间:2022-05-30
下一篇:
C++ create_directories函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap