Ejemplo n.º 1
0
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" );

}
Ejemplo n.º 2
0
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);
}
Ejemplo n.º 3
0
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);

}
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");
}
Ejemplo n.º 5
0
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' */
}
Ejemplo n.º 6
0
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);
}
Ejemplo n.º 7
0
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);
}
Ejemplo n.º 8
0
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);
}
Ejemplo n.º 9
0
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);
}
Ejemplo n.º 10
0
/* 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);
}
Ejemplo n.º 11
0
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;
}
Ejemplo n.º 12
0
/* 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);

}
Ejemplo n.º 13
0
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);

}
Ejemplo n.º 14
0
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");
}
Ejemplo n.º 15
0
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);
}
Ejemplo n.º 16
0
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);
}
Ejemplo n.º 17
0
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);
}
Ejemplo n.º 18
0
/*--- 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*/
}
Ejemplo n.º 19
0
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");
}
Ejemplo n.º 20
0
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");
}
Ejemplo n.º 21
0
void proto_reg_handoff_9P(void)
{
	dissector_handle_t ninep_handle;

	data_handle = find_dissector("data");

	ninep_handle = create_dissector_handle(dissect_9P, proto_9P);

	dissector_add("tcp.port", NINEPORT, ninep_handle);
}
Ejemplo n.º 22
0
void proto_reg_handoff_mac_mgmt_msg_rng_rsp(void)
{
	dissector_handle_t rng_rsp_handle;

	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");
	reg_rsp_handle = find_dissector("mac_mgmt_msg_reg_rsp_handler");
}
Ejemplo n.º 23
0
void
proto_reg_handoff_asf(void)
{
    dissector_handle_t asf_handle;

    data_handle = find_dissector("data");

    asf_handle = create_dissector_handle(dissect_asf, proto_asf);
    dissector_add("rmcp.class", RMCP_CLASS_ASF, asf_handle);
}
Ejemplo n.º 24
0
void proto_reg_handoff_minecraft(void)
{
    static int Initialized=FALSE;

    /* register with wireshark to dissect udp packets on port 3001 */
    if (!Initialized) {
        minecraft_handle = create_dissector_handle(dissect_minecraft, proto_minecraft);
        dissector_add("tcp.port", 25565, minecraft_handle);
    }
}
Ejemplo n.º 25
0
void proto_reg_handoff_ieee80211_radio(void)
{
  dissector_handle_t radio_handle;

  /* Register handoff to radio-header dissectors */
  radio_handle = create_dissector_handle(dissect_radio, proto_radio);
  dissector_add_uint("wtap_encap", WTAP_ENCAP_IEEE_802_11_WITH_RADIO,
                     radio_handle);
  ieee80211_handle = find_dissector("wlan");
}
Ejemplo n.º 26
0
void
proto_reg_handoff_telkonet(void)
{
	dissector_handle_t telkonet_handle;

	eth_withoutfcs_handle = find_dissector("eth_withoutfcs");

	telkonet_handle = create_dissector_handle(dissect_telkonet, proto_telkonet);
	dissector_add_uint("ethertype", ETHERTYPE_TELKONET, telkonet_handle);
}
Ejemplo n.º 27
0
void proto_reg_handoff_ns(void)
{
	dissector_handle_t nstrace_handle;

	eth_withoutfcs_handle = find_dissector("eth_withoutfcs");

	nstrace_handle = create_dissector_handle(dissect_nstrace, proto_nstrace);
	dissector_add("wtap_encap", WTAP_ENCAP_NSTRACE_1_0, nstrace_handle);
	dissector_add("wtap_encap", WTAP_ENCAP_NSTRACE_2_0, nstrace_handle);
}
void
proto_reg_handoff_peekremote(void)
{
  dissector_handle_t peekremote_handle;

  ieee80211_handle = find_dissector("wlan_datapad");

  peekremote_handle = create_dissector_handle(dissect_peekremote, proto_peekremote);
  dissector_add_uint("udp.port", 5000, peekremote_handle);
}
Ejemplo n.º 29
0
void proto_reg_handoff_ieee80211_airopeek(void)
{
  dissector_handle_t airopeek_handle;

  /* Register handoff to airopeek-header dissectors */
  airopeek_handle = create_dissector_handle(dissect_airopeek, proto_airopeek);
  dissector_add_uint("wtap_encap", WTAP_ENCAP_IEEE_802_11_AIROPEEK,
                     airopeek_handle);
  ieee80211_handle = find_dissector("wlan");
}
Ejemplo n.º 30
0
void
proto_reg_handoff_jabber(void)
{
  dissector_handle_t jabber_handle;

  xml_handle = find_dissector("xml");

  jabber_handle = create_dissector_handle(dissect_jabber, proto_jabber);
  dissector_add_uint("tcp.port", TCP_PORT_JABBER, jabber_handle);
}