forked from osmocom/wireshark
Add editor modelines; fix indentation as needed.
Change-Id: I1ad94654343e5a018a0b3159481d45ffb3a91263 Reviewed-on: https://code.wireshark.org/review/4363 Reviewed-by: Bill Meier <wmeier@newsguy.com>
This commit is contained in:
parent
768e36fc4f
commit
10406870f5
|
@ -2421,3 +2421,16 @@ proto_reg_handoff_alcap(void)
|
|||
|
||||
dissector_add_uint("mtp3.service_indicator", MTP_SI_AAL2, alcap_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -13616,3 +13616,16 @@ proto_reg_handoff_amqp(void)
|
|||
dissector_add_uint("tcp.port", amqp_port, amqp_tcp_handle);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -936,3 +936,15 @@ proto_reg_handoff_ancp(void)
|
|||
ancp_stats_tree_packet, ancp_stats_tree_init, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -370,3 +370,16 @@ proto_reg_handoff_arcnet (void)
|
|||
dissector_add_uint ("wtap_encap", WTAP_ENCAP_ARCNET_LINUX, arcnet_linux_handle);
|
||||
data_handle = find_dissector ("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -2023,3 +2023,16 @@ proto_reg_handoff_arp(void)
|
|||
dissector_add_uint("arcnet.protocol_id", ARCNET_PROTO_RARP_1201, arp_handle);
|
||||
dissector_add_uint("ax25.pid", AX25_P_ARP, arp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -2049,3 +2049,16 @@ proto_reg_handoff_atm(void)
|
|||
dissector_add_uint("wtap_encap", WTAP_ENCAP_ATM_PDUS_UNTRUNCATED,
|
||||
atm_untruncated_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -300,3 +300,16 @@ proto_reg_handoff_auto_rp(void)
|
|||
proto_auto_rp);
|
||||
dissector_add_uint("udp.port", UDP_PORT_PIM_RP_DISC, auto_rp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 8
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=8 tabstop=8 expandtab:
|
||||
* :indentSize=8:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -513,3 +513,16 @@ proto_reg_handoff_babel(void)
|
|||
dissector_add_uint("udp.port", UDP_PORT_BABEL, babel_handle);
|
||||
dissector_add_uint("udp.port", UDP_PORT_BABEL_OLD, babel_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1038,3 +1038,16 @@ proto_reg_handoff_beep(void)
|
|||
dissector_add_uint("tcp.port", global_beep_tcp_port, beep_handle);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -4490,3 +4490,16 @@ proto_reg_handoff_ber(void)
|
|||
|
||||
ber_update_oids();
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -924,3 +924,16 @@ proto_reg_handoff_bfd(void)
|
|||
dissector_add_uint("udp.port", UDP_PORT_BFD_1HOP_CONTROL, bfd_control_handle);
|
||||
dissector_add_uint("udp.port", UDP_PORT_BFD_MULTIHOP_CONTROL, bfd_control_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -146,3 +146,16 @@ typedef struct _localhost_name_entry_t {
|
|||
extern gint dissect_bd_addr(gint hf_bd_addr, proto_tree *tree, tvbuff_t *tvb, gint offset);
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -133,3 +133,16 @@ proto_reg_handoff_bofl(void)
|
|||
bofl_handle = create_dissector_handle(dissect_bofl, proto_bofl);
|
||||
dissector_add_uint("ethertype", ETHER_TYPE_BOFL, bofl_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -2574,3 +2574,16 @@ proto_reg_handoff_bssap(void)
|
|||
dissector_add_uint("sccp.ssn", global_bssap_ssn, bssap_plus_handle);
|
||||
old_bssap_ssn = global_bssap_ssn;
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -372,3 +372,16 @@ proto_reg_handoff_slarp(void)
|
|||
slarp_handle = create_dissector_handle(dissect_slarp, proto_slarp);
|
||||
dissector_add_uint("chdlc.protocol", CISCO_SLARP, slarp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -737,19 +737,19 @@ static void dissect_cimd_dcs(tvbuff_t *tvb, proto_tree *tree, gint pindex, gint
|
|||
|
||||
static void dissect_cimd_error_code( tvbuff_t *tvb, proto_tree *tree, gint pindex, gint startOffset, gint endOffset )
|
||||
{
|
||||
/* Same routine can be used to dissect CIMD Error,Status and Status Error Codes */
|
||||
proto_tree *param_tree;
|
||||
guint32 err_code;
|
||||
/* Same routine can be used to dissect CIMD Error,Status and Status Error Codes */
|
||||
proto_tree *param_tree;
|
||||
guint32 err_code;
|
||||
|
||||
param_tree = proto_tree_add_subtree(tree, tvb, startOffset + 1, endOffset - (startOffset + 1),
|
||||
(*vals_hdr_PC[pindex].ett_p), NULL, cimd_vals_PC[pindex].strptr);
|
||||
param_tree = proto_tree_add_subtree(tree, tvb, startOffset + 1, endOffset - (startOffset + 1),
|
||||
(*vals_hdr_PC[pindex].ett_p), NULL, cimd_vals_PC[pindex].strptr);
|
||||
|
||||
proto_tree_add_item(param_tree, hf_cimd_pcode_indicator, tvb, startOffset + 1, CIMD_PC_LENGTH, ENC_ASCII|ENC_NA);
|
||||
proto_tree_add_item(param_tree, hf_cimd_pcode_indicator, tvb, startOffset + 1, CIMD_PC_LENGTH, ENC_ASCII|ENC_NA);
|
||||
|
||||
err_code = (guint32) strtoul(tvb_get_string_enc(wmem_packet_scope(), tvb,
|
||||
startOffset + 1 + CIMD_PC_LENGTH + 1, endOffset - (startOffset + 1 + CIMD_PC_LENGTH + 1), ENC_ASCII),
|
||||
NULL, 10);
|
||||
proto_tree_add_uint(param_tree, (*vals_hdr_PC[pindex].hf_p), tvb, startOffset + 1 + CIMD_PC_LENGTH + 1, endOffset - (startOffset + 1 + CIMD_PC_LENGTH + 1), err_code);
|
||||
err_code = (guint32) strtoul(tvb_get_string_enc(wmem_packet_scope(), tvb,
|
||||
startOffset + 1 + CIMD_PC_LENGTH + 1, endOffset - (startOffset + 1 + CIMD_PC_LENGTH + 1), ENC_ASCII),
|
||||
NULL, 10);
|
||||
proto_tree_add_uint(param_tree, (*vals_hdr_PC[pindex].hf_p), tvb, startOffset + 1 + CIMD_PC_LENGTH + 1, endOffset - (startOffset + 1 + CIMD_PC_LENGTH + 1), err_code);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1173,3 +1173,16 @@ proto_reg_handoff_cimd(void)
|
|||
cimd_handle = create_dissector_handle(dissect_cimd, proto_cimd);
|
||||
dissector_add_for_decode_as("tcp.port", cimd_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -191,3 +191,16 @@ proto_reg_handoff_cosine(void)
|
|||
cosine_handle = create_dissector_handle(dissect_cosine, proto_cosine);
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_COSINE, cosine_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -219,7 +219,7 @@ static dissector_handle_t png_handle;
|
|||
|
||||
/*XXX: Sorted by value definition since it appears that the "value" is just */
|
||||
/* the ascii representation of the last 4 letters of the definition. */
|
||||
/* (Sorted so a binary search can be done when using value_string_ext) */
|
||||
* (Sorted so a binary search can be done when using value_string_ext) */
|
||||
static const value_string vals_tag_code[] = {
|
||||
{ daap_abal, "browse album listing" },
|
||||
{ daap_abar, "browse artist listing" },
|
||||
|
@ -740,3 +740,16 @@ proto_reg_handoff_daap(void)
|
|||
|
||||
png_handle = find_dissector("png");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 3
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=3 tabstop=8 expandtab:
|
||||
* :indentSize=3:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -577,3 +577,16 @@ dissect_ndr_ctx_hnd(tvbuff_t *tvb, gint offset, packet_info *pinfo _U_,
|
|||
}
|
||||
return offset + 20;
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -9461,3 +9461,16 @@ proto_reg_handoff_dcerpc_netlogon(void)
|
|||
DCE_C_RPC_AUTHN_PROTOCOL_SEC_CHAN,
|
||||
&secchan_auth_fns);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1611,3 +1611,16 @@ proto_reg_handoff_rs_pgo (void)
|
|||
dcerpc_init_uuid (proto_rs_pgo, ett_rs_pgo, &uuid_rs_pgo, ver_rs_pgo,
|
||||
rs_pgo_dissectors, hf_rs_pgo_opnum);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -338,3 +338,16 @@ proto_reg_handoff_oxid (void)
|
|||
/* Register the protocol as dcerpc */
|
||||
dcerpc_init_uuid (proto_oxid, ett_oxid, &uuid_oxid, ver_oxid, oxid_dissectors, hf_oxid_opnum);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -413,3 +413,16 @@ proto_reg_handoff_distcc(void)
|
|||
distcc_tcp_port = glb_distcc_tcp_port;
|
||||
dissector_add_uint("tcp.port", distcc_tcp_port, distcc_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -3030,3 +3030,16 @@ proto_register_e212(void)
|
|||
expert_register_field_array(expert_e212, ei, array_length(ei));
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -294,3 +294,16 @@ proto_reg_handoff_epon(void)
|
|||
|
||||
eth_handle = find_dissector("eth");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -690,3 +690,16 @@ void proto_reg_handoff_erldp(void) {
|
|||
|
||||
dissector_add_for_decode_as("tcp.port", erldp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -422,3 +422,16 @@ proto_reg_handoff_esis(void)
|
|||
esis_handle = find_dissector("esis");
|
||||
dissector_add_uint("osinl.incl", NLPID_ISO9542_ESIS, esis_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -100,27 +100,27 @@ static int eth_tap = -1;
|
|||
#define ETH_HEADER_SIZE 14
|
||||
|
||||
static const true_false_string ig_tfs = {
|
||||
"Group address (multicast/broadcast)",
|
||||
"Individual address (unicast)"
|
||||
"Group address (multicast/broadcast)",
|
||||
"Individual address (unicast)"
|
||||
};
|
||||
static const true_false_string lg_tfs = {
|
||||
"Locally administered address (this is NOT the factory default)",
|
||||
"Globally unique address (factory default)"
|
||||
"Locally administered address (this is NOT the factory default)",
|
||||
"Globally unique address (factory default)"
|
||||
};
|
||||
|
||||
|
||||
static const char* eth_conv_get_filter_type(conv_item_t* conv, conv_filter_type_e filter)
|
||||
{
|
||||
if ((filter == CONV_FT_SRC_ADDRESS) && (conv->src_address.type == AT_ETHER))
|
||||
return "eth.src";
|
||||
if ((filter == CONV_FT_SRC_ADDRESS) && (conv->src_address.type == AT_ETHER))
|
||||
return "eth.src";
|
||||
|
||||
if ((filter == CONV_FT_DST_ADDRESS) && (conv->dst_address.type == AT_ETHER))
|
||||
return "eth.dst";
|
||||
if ((filter == CONV_FT_DST_ADDRESS) && (conv->dst_address.type == AT_ETHER))
|
||||
return "eth.dst";
|
||||
|
||||
if ((filter == CONV_FT_ANY_ADDRESS) && (conv->src_address.type == AT_ETHER))
|
||||
return "eth.addr";
|
||||
if ((filter == CONV_FT_ANY_ADDRESS) && (conv->src_address.type == AT_ETHER))
|
||||
return "eth.addr";
|
||||
|
||||
return CONV_FILTER_INVALID;
|
||||
return CONV_FILTER_INVALID;
|
||||
}
|
||||
|
||||
static ct_dissector_info_t eth_ct_dissector_info = {ð_conv_get_filter_type};
|
||||
|
@ -128,20 +128,20 @@ static ct_dissector_info_t eth_ct_dissector_info = {ð_conv_get_filter_type};
|
|||
static int
|
||||
eth_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip)
|
||||
{
|
||||
conv_hash_t *hash = (conv_hash_t*) pct;
|
||||
const eth_hdr *ehdr=(const eth_hdr *)vip;
|
||||
conv_hash_t *hash = (conv_hash_t*) pct;
|
||||
const eth_hdr *ehdr=(const eth_hdr *)vip;
|
||||
|
||||
add_conversation_table_data(hash, &ehdr->src, &ehdr->dst, 0, 0, 1, pinfo->fd->pkt_len, &pinfo->rel_ts, &pinfo->fd->abs_ts, ð_ct_dissector_info, PT_NONE);
|
||||
add_conversation_table_data(hash, &ehdr->src, &ehdr->dst, 0, 0, 1, pinfo->fd->pkt_len, &pinfo->rel_ts, &pinfo->fd->abs_ts, ð_ct_dissector_info, PT_NONE);
|
||||
|
||||
return 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static const char* eth_host_get_filter_type(hostlist_talker_t* host, conv_filter_type_e filter)
|
||||
{
|
||||
if ((filter == CONV_FT_ANY_ADDRESS) && (host->myaddress.type == AT_ETHER))
|
||||
return "eth.addr";
|
||||
if ((filter == CONV_FT_ANY_ADDRESS) && (host->myaddress.type == AT_ETHER))
|
||||
return "eth.addr";
|
||||
|
||||
return CONV_FILTER_INVALID;
|
||||
return CONV_FILTER_INVALID;
|
||||
}
|
||||
|
||||
static hostlist_dissector_info_t eth_host_dissector_info = {ð_host_get_filter_type};
|
||||
|
@ -149,16 +149,16 @@ static hostlist_dissector_info_t eth_host_dissector_info = {ð_host_get_filter
|
|||
static int
|
||||
eth_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip)
|
||||
{
|
||||
conv_hash_t *hash = (conv_hash_t*) pit;
|
||||
const eth_hdr *ehdr=(const eth_hdr *)vip;
|
||||
conv_hash_t *hash = (conv_hash_t*) pit;
|
||||
const eth_hdr *ehdr=(const eth_hdr *)vip;
|
||||
|
||||
/* Take two "add" passes per packet, adding for each direction, ensures that all
|
||||
packets are counted properly (even if address is sending to itself)
|
||||
XXX - this could probably be done more efficiently inside hostlist_table */
|
||||
add_hostlist_table_data(hash, &ehdr->src, 0, TRUE, 1, pinfo->fd->pkt_len, ð_host_dissector_info, PT_NONE);
|
||||
add_hostlist_table_data(hash, &ehdr->dst, 0, FALSE, 1, pinfo->fd->pkt_len, ð_host_dissector_info, PT_NONE);
|
||||
/* Take two "add" passes per packet, adding for each direction, ensures that all
|
||||
packets are counted properly (even if address is sending to itself)
|
||||
XXX - this could probably be done more efficiently inside hostlist_table */
|
||||
add_hostlist_table_data(hash, &ehdr->src, 0, TRUE, 1, pinfo->fd->pkt_len, ð_host_dissector_info, PT_NONE);
|
||||
add_hostlist_table_data(hash, &ehdr->dst, 0, FALSE, 1, pinfo->fd->pkt_len, ð_host_dissector_info, PT_NONE);
|
||||
|
||||
return 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
@ -835,203 +835,216 @@ dissect_eth_withfcs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
void
|
||||
proto_register_eth(void)
|
||||
{
|
||||
static hf_register_info hf[] = {
|
||||
static hf_register_info hf[] = {
|
||||
|
||||
{ &hf_eth_dst,
|
||||
{ "Destination", "eth.dst", FT_ETHER, BASE_NONE, NULL, 0x0,
|
||||
"Destination Hardware Address", HFILL }},
|
||||
{ &hf_eth_dst,
|
||||
{ "Destination", "eth.dst", FT_ETHER, BASE_NONE, NULL, 0x0,
|
||||
"Destination Hardware Address", HFILL }},
|
||||
|
||||
{ &hf_eth_dst_resolved,
|
||||
{ "Destination (resolved)", "eth.dst_resolved", FT_STRING, BASE_NONE,
|
||||
NULL, 0x0, "Destination Hardware Address (resolved)", HFILL }},
|
||||
{ &hf_eth_dst_resolved,
|
||||
{ "Destination (resolved)", "eth.dst_resolved", FT_STRING, BASE_NONE,
|
||||
NULL, 0x0, "Destination Hardware Address (resolved)", HFILL }},
|
||||
|
||||
{ &hf_eth_src,
|
||||
{ "Source", "eth.src", FT_ETHER, BASE_NONE, NULL, 0x0,
|
||||
"Source Hardware Address", HFILL }},
|
||||
{ &hf_eth_src,
|
||||
{ "Source", "eth.src", FT_ETHER, BASE_NONE, NULL, 0x0,
|
||||
"Source Hardware Address", HFILL }},
|
||||
|
||||
{ &hf_eth_src_resolved,
|
||||
{ "Source (resolved)", "eth.src_resolved", FT_STRING, BASE_NONE,
|
||||
NULL, 0x0, "Source Hardware Address (resolved)", HFILL }},
|
||||
{ &hf_eth_src_resolved,
|
||||
{ "Source (resolved)", "eth.src_resolved", FT_STRING, BASE_NONE,
|
||||
NULL, 0x0, "Source Hardware Address (resolved)", HFILL }},
|
||||
|
||||
{ &hf_eth_len,
|
||||
{ "Length", "eth.len", FT_UINT16, BASE_DEC, NULL, 0x0,
|
||||
NULL, HFILL }},
|
||||
{ &hf_eth_len,
|
||||
{ "Length", "eth.len", FT_UINT16, BASE_DEC, NULL, 0x0,
|
||||
NULL, HFILL }},
|
||||
|
||||
/* registered here but handled in packet-ethertype.c */
|
||||
{ &hf_eth_type,
|
||||
{ "Type", "eth.type", FT_UINT16, BASE_HEX, VALS(etype_vals), 0x0,
|
||||
NULL, HFILL }},
|
||||
/* registered here but handled in packet-ethertype.c */
|
||||
{ &hf_eth_type,
|
||||
{ "Type", "eth.type", FT_UINT16, BASE_HEX, VALS(etype_vals), 0x0,
|
||||
NULL, HFILL }},
|
||||
|
||||
{ &hf_eth_invalid_lentype,
|
||||
{ "Invalid length/type", "eth.invalid_lentype", FT_UINT16, BASE_HEX_DEC,
|
||||
NULL, 0x0, NULL, HFILL }},
|
||||
{ &hf_eth_invalid_lentype,
|
||||
{ "Invalid length/type", "eth.invalid_lentype", FT_UINT16, BASE_HEX_DEC,
|
||||
NULL, 0x0, NULL, HFILL }},
|
||||
|
||||
{ &hf_eth_addr,
|
||||
{ "Address", "eth.addr", FT_ETHER, BASE_NONE, NULL, 0x0,
|
||||
"Source or Destination Hardware Address", HFILL }},
|
||||
{ &hf_eth_addr,
|
||||
{ "Address", "eth.addr", FT_ETHER, BASE_NONE, NULL, 0x0,
|
||||
"Source or Destination Hardware Address", HFILL }},
|
||||
|
||||
{ &hf_eth_addr_resolved,
|
||||
{ "Address (resolved)", "eth.addr_resolved", FT_STRING, BASE_NONE,
|
||||
NULL, 0x0, "Source or Destination Hardware Address (resolved)",
|
||||
HFILL }},
|
||||
{ &hf_eth_addr_resolved,
|
||||
{ "Address (resolved)", "eth.addr_resolved", FT_STRING, BASE_NONE,
|
||||
NULL, 0x0, "Source or Destination Hardware Address (resolved)",
|
||||
HFILL }},
|
||||
|
||||
{ &hf_eth_padding,
|
||||
{ "Padding", "eth.padding", FT_BYTES, BASE_NONE, NULL, 0x0,
|
||||
"Ethernet Padding", HFILL }},
|
||||
{ &hf_eth_padding,
|
||||
{ "Padding", "eth.padding", FT_BYTES, BASE_NONE, NULL, 0x0,
|
||||
"Ethernet Padding", HFILL }},
|
||||
|
||||
{ &hf_eth_trailer,
|
||||
{ "Trailer", "eth.trailer", FT_BYTES, BASE_NONE, NULL, 0x0,
|
||||
"Ethernet Trailer or Checksum", HFILL }},
|
||||
{ &hf_eth_trailer,
|
||||
{ "Trailer", "eth.trailer", FT_BYTES, BASE_NONE, NULL, 0x0,
|
||||
"Ethernet Trailer or Checksum", HFILL }},
|
||||
|
||||
{ &hf_eth_fcs,
|
||||
{ "Frame check sequence", "eth.fcs", FT_UINT32, BASE_HEX, NULL, 0x0,
|
||||
"Ethernet checksum", HFILL }},
|
||||
{ &hf_eth_fcs,
|
||||
{ "Frame check sequence", "eth.fcs", FT_UINT32, BASE_HEX, NULL, 0x0,
|
||||
"Ethernet checksum", HFILL }},
|
||||
|
||||
{ &hf_eth_fcs_good,
|
||||
{ "FCS Good", "eth.fcs_good", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
|
||||
"True: checksum matches packet content; False: doesn't match content or not checked", HFILL }},
|
||||
{ &hf_eth_fcs_good,
|
||||
{ "FCS Good", "eth.fcs_good", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
|
||||
"True: checksum matches packet content; False: doesn't match content or not checked", HFILL }},
|
||||
|
||||
{ &hf_eth_fcs_bad,
|
||||
{ "FCS Bad", "eth.fcs_bad", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
|
||||
"True: checksum doesn't matche packet content; False: does match content or not checked", HFILL }},
|
||||
{ &hf_eth_fcs_bad,
|
||||
{ "FCS Bad", "eth.fcs_bad", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
|
||||
"True: checksum doesn't matche packet content; False: does match content or not checked", HFILL }},
|
||||
|
||||
{ &hf_eth_lg,
|
||||
{ "LG bit", "eth.lg", FT_BOOLEAN, 24,
|
||||
TFS(&lg_tfs), 0x020000,
|
||||
"Specifies if this is a locally administered or globally unique (IEEE assigned) address", HFILL }},
|
||||
{ &hf_eth_lg,
|
||||
{ "LG bit", "eth.lg", FT_BOOLEAN, 24,
|
||||
TFS(&lg_tfs), 0x020000,
|
||||
"Specifies if this is a locally administered or globally unique (IEEE assigned) address", HFILL }},
|
||||
|
||||
{ &hf_eth_ig,
|
||||
{ "IG bit", "eth.ig", FT_BOOLEAN, 24,
|
||||
TFS(&ig_tfs), 0x010000,
|
||||
"Specifies if this is an individual (unicast) or group (broadcast/multicast) address", HFILL }}
|
||||
};
|
||||
static gint *ett[] = {
|
||||
&ett_ieee8023,
|
||||
&ett_ether2,
|
||||
&ett_ether,
|
||||
&ett_addr,
|
||||
&ett_eth_fcs
|
||||
};
|
||||
{ &hf_eth_ig,
|
||||
{ "IG bit", "eth.ig", FT_BOOLEAN, 24,
|
||||
TFS(&ig_tfs), 0x010000,
|
||||
"Specifies if this is an individual (unicast) or group (broadcast/multicast) address", HFILL }}
|
||||
};
|
||||
static gint *ett[] = {
|
||||
&ett_ieee8023,
|
||||
&ett_ether2,
|
||||
&ett_ether,
|
||||
&ett_addr,
|
||||
&ett_eth_fcs
|
||||
};
|
||||
|
||||
static ei_register_info ei[] = {
|
||||
{ &ei_eth_invalid_lentype, { "eth.invalid_lentype", PI_PROTOCOL, PI_WARN, "Invalid length/type", EXPFILL }},
|
||||
{ &ei_eth_src_not_group, { "eth.src_not_group", PI_PROTOCOL, PI_WARN, "Source MAC must not be a group address: IEEE 802.3-2002, Section 3.2.3(b)", EXPFILL }},
|
||||
{ &ei_eth_fcs_bad, { "eth.fcs_bad.expert", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }},
|
||||
{ &ei_eth_len, { "eth.len.past_end", PI_MALFORMED, PI_ERROR, "Length field value goes past the end of the payload", EXPFILL }},
|
||||
};
|
||||
static ei_register_info ei[] = {
|
||||
{ &ei_eth_invalid_lentype, { "eth.invalid_lentype", PI_PROTOCOL, PI_WARN, "Invalid length/type", EXPFILL }},
|
||||
{ &ei_eth_src_not_group, { "eth.src_not_group", PI_PROTOCOL, PI_WARN, "Source MAC must not be a group address: IEEE 802.3-2002, Section 3.2.3(b)", EXPFILL }},
|
||||
{ &ei_eth_fcs_bad, { "eth.fcs_bad.expert", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }},
|
||||
{ &ei_eth_len, { "eth.len.past_end", PI_MALFORMED, PI_ERROR, "Length field value goes past the end of the payload", EXPFILL }},
|
||||
};
|
||||
|
||||
module_t *eth_module;
|
||||
expert_module_t* expert_eth;
|
||||
module_t *eth_module;
|
||||
expert_module_t* expert_eth;
|
||||
|
||||
proto_eth = proto_register_protocol("Ethernet", "Ethernet", "eth");
|
||||
proto_register_field_array(proto_eth, hf, array_length(hf));
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
expert_eth = expert_register_protocol(proto_eth);
|
||||
expert_register_field_array(expert_eth, ei, array_length(ei));
|
||||
proto_eth = proto_register_protocol("Ethernet", "Ethernet", "eth");
|
||||
proto_register_field_array(proto_eth, hf, array_length(hf));
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
expert_eth = expert_register_protocol(proto_eth);
|
||||
expert_register_field_array(expert_eth, ei, array_length(ei));
|
||||
|
||||
/* subdissector code */
|
||||
register_heur_dissector_list("eth", &heur_subdissector_list);
|
||||
register_heur_dissector_list("eth.trailer", ð_trailer_subdissector_list);
|
||||
/* subdissector code */
|
||||
register_heur_dissector_list("eth", &heur_subdissector_list);
|
||||
register_heur_dissector_list("eth.trailer", ð_trailer_subdissector_list);
|
||||
|
||||
/* Register configuration preferences */
|
||||
eth_module = prefs_register_protocol(proto_eth, NULL);
|
||||
/* Register configuration preferences */
|
||||
eth_module = prefs_register_protocol(proto_eth, NULL);
|
||||
|
||||
prefs_register_bool_preference(eth_module, "assume_padding",
|
||||
"Assume short frames which include a trailer contain padding",
|
||||
"Some devices add trailing data to frames. When this setting is checked "
|
||||
"the Ethernet dissector will assume there has been added padding to the "
|
||||
"frame before the trailer was added. Uncheck if a device added a trailer "
|
||||
"before the frame was padded.",
|
||||
ð_assume_padding);
|
||||
prefs_register_bool_preference(eth_module, "assume_padding",
|
||||
"Assume short frames which include a trailer contain padding",
|
||||
"Some devices add trailing data to frames. When this setting is checked "
|
||||
"the Ethernet dissector will assume there has been added padding to the "
|
||||
"frame before the trailer was added. Uncheck if a device added a trailer "
|
||||
"before the frame was padded.",
|
||||
ð_assume_padding);
|
||||
|
||||
prefs_register_uint_preference(eth_module, "trailer_length",
|
||||
"Fixed ethernet trailer length",
|
||||
"Some TAPs add a fixed length ethernet trailer at the end "
|
||||
"of the frame, but before the (optional) FCS. Make sure it "
|
||||
"gets interpreted correctly.",
|
||||
10, ð_trailer_length);
|
||||
prefs_register_uint_preference(eth_module, "trailer_length",
|
||||
"Fixed ethernet trailer length",
|
||||
"Some TAPs add a fixed length ethernet trailer at the end "
|
||||
"of the frame, but before the (optional) FCS. Make sure it "
|
||||
"gets interpreted correctly.",
|
||||
10, ð_trailer_length);
|
||||
|
||||
prefs_register_bool_preference(eth_module, "assume_fcs",
|
||||
"Assume packets have FCS",
|
||||
"Some Ethernet adapters and drivers include the FCS at the end of a packet, others do not. "
|
||||
"The Ethernet dissector attempts to guess whether a captured packet has an FCS, "
|
||||
"but it cannot always guess correctly.",
|
||||
ð_assume_fcs);
|
||||
prefs_register_bool_preference(eth_module, "assume_fcs",
|
||||
"Assume packets have FCS",
|
||||
"Some Ethernet adapters and drivers include the FCS at the end of a packet, others do not. "
|
||||
"The Ethernet dissector attempts to guess whether a captured packet has an FCS, "
|
||||
"but it cannot always guess correctly.",
|
||||
ð_assume_fcs);
|
||||
|
||||
prefs_register_bool_preference(eth_module, "check_fcs",
|
||||
"Validate the Ethernet checksum if possible",
|
||||
"Whether to validate the Frame Check Sequence",
|
||||
ð_check_fcs);
|
||||
prefs_register_bool_preference(eth_module, "check_fcs",
|
||||
"Validate the Ethernet checksum if possible",
|
||||
"Whether to validate the Frame Check Sequence",
|
||||
ð_check_fcs);
|
||||
|
||||
prefs_register_bool_preference(eth_module, "interpret_as_fw1_monitor",
|
||||
"Attempt to interpret as FireWall-1 monitor file",
|
||||
"Whether packets should be interpreted as coming from CheckPoint FireWall-1 monitor file if they look as if they do",
|
||||
ð_interpret_as_fw1_monitor);
|
||||
prefs_register_bool_preference(eth_module, "interpret_as_fw1_monitor",
|
||||
"Attempt to interpret as FireWall-1 monitor file",
|
||||
"Whether packets should be interpreted as coming from CheckPoint FireWall-1 monitor file if they look as if they do",
|
||||
ð_interpret_as_fw1_monitor);
|
||||
|
||||
prefs_register_static_text_preference(eth_module, "ccsds_heuristic",
|
||||
"These are the conditions to match a payload against in order to determine if this\n"
|
||||
"is a CCSDS (Consultative Committee for Space Data Systems) packet within\n"
|
||||
"an 802.3 packet. A packet is considered as a possible CCSDS packet only if\n"
|
||||
"one or more of the conditions are checked.",
|
||||
"Describe the conditions that must be true for the CCSDS dissector to be called");
|
||||
prefs_register_static_text_preference(eth_module, "ccsds_heuristic",
|
||||
"These are the conditions to match a payload against in order to determine if this\n"
|
||||
"is a CCSDS (Consultative Committee for Space Data Systems) packet within\n"
|
||||
"an 802.3 packet. A packet is considered as a possible CCSDS packet only if\n"
|
||||
"one or more of the conditions are checked.",
|
||||
"Describe the conditions that must be true for the CCSDS dissector to be called");
|
||||
|
||||
prefs_register_bool_preference(eth_module, "ccsds_heuristic_length",
|
||||
"CCSDS Length in header matches payload size",
|
||||
"Set the condition that must be true for the CCSDS dissector to be called",
|
||||
&ccsds_heuristic_length);
|
||||
prefs_register_bool_preference(eth_module, "ccsds_heuristic_length",
|
||||
"CCSDS Length in header matches payload size",
|
||||
"Set the condition that must be true for the CCSDS dissector to be called",
|
||||
&ccsds_heuristic_length);
|
||||
|
||||
prefs_register_bool_preference(eth_module, "ccsds_heuristic_version",
|
||||
"CCSDS Version # is zero",
|
||||
"Set the condition that must be true for the CCSDS dissector to be called",
|
||||
&ccsds_heuristic_version);
|
||||
prefs_register_bool_preference(eth_module, "ccsds_heuristic_version",
|
||||
"CCSDS Version # is zero",
|
||||
"Set the condition that must be true for the CCSDS dissector to be called",
|
||||
&ccsds_heuristic_version);
|
||||
|
||||
prefs_register_bool_preference(eth_module, "ccsds_heuristic_header",
|
||||
"CCSDS Secondary Header Flag is set",
|
||||
"Set the condition that must be true for the CCSDS dissector to be called",
|
||||
&ccsds_heuristic_header);
|
||||
prefs_register_bool_preference(eth_module, "ccsds_heuristic_header",
|
||||
"CCSDS Secondary Header Flag is set",
|
||||
"Set the condition that must be true for the CCSDS dissector to be called",
|
||||
&ccsds_heuristic_header);
|
||||
|
||||
prefs_register_bool_preference(eth_module, "ccsds_heuristic_bit",
|
||||
"CCSDS Spare bit is cleared",
|
||||
"Set the condition that must be true for the CCSDS dissector to be called",
|
||||
&ccsds_heuristic_bit);
|
||||
prefs_register_bool_preference(eth_module, "ccsds_heuristic_bit",
|
||||
"CCSDS Spare bit is cleared",
|
||||
"Set the condition that must be true for the CCSDS dissector to be called",
|
||||
&ccsds_heuristic_bit);
|
||||
|
||||
register_dissector("eth_withoutfcs", dissect_eth_withoutfcs, proto_eth);
|
||||
register_dissector("eth_withfcs", dissect_eth_withfcs, proto_eth);
|
||||
register_dissector("eth", dissect_eth_maybefcs, proto_eth);
|
||||
eth_tap = register_tap("eth");
|
||||
register_dissector("eth_withoutfcs", dissect_eth_withoutfcs, proto_eth);
|
||||
register_dissector("eth_withfcs", dissect_eth_withfcs, proto_eth);
|
||||
register_dissector("eth", dissect_eth_maybefcs, proto_eth);
|
||||
eth_tap = register_tap("eth");
|
||||
|
||||
register_conversation_table(proto_eth, TRUE, eth_conversation_packet, eth_hostlist_packet, NULL);
|
||||
register_conversation_table(proto_eth, TRUE, eth_conversation_packet, eth_hostlist_packet, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
proto_reg_handoff_eth(void)
|
||||
{
|
||||
dissector_handle_t eth_maybefcs_handle, eth_withoutfcs_handle;
|
||||
dissector_handle_t eth_maybefcs_handle, eth_withoutfcs_handle;
|
||||
|
||||
/* Get a handle for the Firewall-1 dissector. */
|
||||
fw1_handle = find_dissector("fw1");
|
||||
/* Get a handle for the Firewall-1 dissector. */
|
||||
fw1_handle = find_dissector("fw1");
|
||||
|
||||
/* Get a handle for the ethertype dissector. */
|
||||
ethertype_handle = find_dissector("ethertype");
|
||||
/* Get a handle for the ethertype dissector. */
|
||||
ethertype_handle = find_dissector("ethertype");
|
||||
|
||||
/* Get a handle for the generic data dissector. */
|
||||
data_handle = find_dissector("data");
|
||||
/* Get a handle for the generic data dissector. */
|
||||
data_handle = find_dissector("data");
|
||||
|
||||
eth_maybefcs_handle = find_dissector("eth");
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_ETHERNET, eth_maybefcs_handle);
|
||||
eth_maybefcs_handle = find_dissector("eth");
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_ETHERNET, eth_maybefcs_handle);
|
||||
|
||||
eth_withoutfcs_handle = find_dissector("eth_withoutfcs");
|
||||
dissector_add_uint("ethertype", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle);
|
||||
dissector_add_uint("erf.types.type", ERF_TYPE_ETH, eth_withoutfcs_handle);
|
||||
dissector_add_uint("chdlc.protocol", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle);
|
||||
dissector_add_uint("gre.proto", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle);
|
||||
eth_withoutfcs_handle = find_dissector("eth_withoutfcs");
|
||||
dissector_add_uint("ethertype", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle);
|
||||
dissector_add_uint("erf.types.type", ERF_TYPE_ETH, eth_withoutfcs_handle);
|
||||
dissector_add_uint("chdlc.protocol", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle);
|
||||
dissector_add_uint("gre.proto", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle);
|
||||
|
||||
dissector_add_uint("sll.ltype", LINUX_SLL_P_ETHERNET, eth_withoutfcs_handle);
|
||||
dissector_add_uint("sll.ltype", LINUX_SLL_P_ETHERNET, eth_withoutfcs_handle);
|
||||
|
||||
/*
|
||||
* This is to handle the output for the Cisco CMTS "cable intercept"
|
||||
* command - it encapsulates Ethernet frames in UDP packets, but
|
||||
* the UDP port is user-defined.
|
||||
*/
|
||||
dissector_add_for_decode_as("udp.port", eth_withoutfcs_handle);
|
||||
/*
|
||||
* This is to handle the output for the Cisco CMTS "cable intercept"
|
||||
* command - it encapsulates Ethernet frames in UDP packets, but
|
||||
* the UDP port is user-defined.
|
||||
*/
|
||||
dissector_add_for_decode_as("udp.port", eth_withoutfcs_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1649,3 +1649,16 @@ proto_reg_handoff_fc (void)
|
|||
|
||||
data_handle = find_dissector("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1971,3 +1971,16 @@ proto_reg_handoff_fcdns (void)
|
|||
dissector_add_uint("fcct.server", FCCT_GSRVR_DNS, dns_handle);
|
||||
dissector_add_uint("fcct.server", FCCT_GSRVR_UNS, dns_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1103,3 +1103,16 @@ proto_reg_handoff_fcfcs (void)
|
|||
|
||||
data_handle = find_dissector ("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -946,4 +946,15 @@ proto_reg_handoff_fcfzs(void)
|
|||
data_handle = find_dissector("data");
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -420,3 +420,16 @@ proto_reg_handoff_fcgi(void)
|
|||
|
||||
saved_tcp_port = tcp_port;
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 3
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=3 tabstop=8 expandtab:
|
||||
* :indentSize=3:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -660,3 +660,16 @@ proto_reg_handoff_fcip (void)
|
|||
data_handle = find_dissector("data");
|
||||
fc_handle = find_dissector("fc");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -341,3 +341,16 @@ proto_reg_handoff_fcoe(void)
|
|||
data_handle = find_dissector("data");
|
||||
fc_handle = find_dissector("fc");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -456,3 +456,16 @@ proto_reg_handoff_fcoib(void)
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -2550,3 +2550,16 @@ proto_reg_handoff_fcswils(void)
|
|||
data_handle = find_dissector("data");
|
||||
fcsp_handle = find_dissector("fcsp");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -145,16 +145,16 @@ swap_mac_addr(guint8 *swapped_addr, tvbuff_t *tvb, gint offset)
|
|||
|
||||
static const char* fddi_conv_get_filter_type(conv_item_t* conv, conv_filter_type_e filter)
|
||||
{
|
||||
if ((filter == CONV_FT_SRC_ADDRESS) && (conv->src_address.type == AT_ETHER))
|
||||
return "fddi.src";
|
||||
if ((filter == CONV_FT_SRC_ADDRESS) && (conv->src_address.type == AT_ETHER))
|
||||
return "fddi.src";
|
||||
|
||||
if ((filter == CONV_FT_DST_ADDRESS) && (conv->dst_address.type == AT_ETHER))
|
||||
return "fddi.dst";
|
||||
if ((filter == CONV_FT_DST_ADDRESS) && (conv->dst_address.type == AT_ETHER))
|
||||
return "fddi.dst";
|
||||
|
||||
if ((filter == CONV_FT_ANY_ADDRESS) && (conv->src_address.type == AT_ETHER))
|
||||
return "fddi.addr";
|
||||
if ((filter == CONV_FT_ANY_ADDRESS) && (conv->src_address.type == AT_ETHER))
|
||||
return "fddi.addr";
|
||||
|
||||
return CONV_FILTER_INVALID;
|
||||
return CONV_FILTER_INVALID;
|
||||
}
|
||||
|
||||
static ct_dissector_info_t fddi_ct_dissector_info = {&fddi_conv_get_filter_type};
|
||||
|
@ -551,3 +551,16 @@ proto_reg_handoff_fddi(void)
|
|||
dissector_add_uint("wtap_encap", WTAP_ENCAP_FDDI_BITSWAPPED,
|
||||
fddi_bitswapped_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -292,3 +292,16 @@ proto_reg_handoff_fefd(void)
|
|||
fefd_handle = create_dissector_handle(dissect_fefd, proto_fefd);
|
||||
dissector_add_uint("llc.force10_pid", 0x0111, fefd_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -15318,3 +15318,16 @@ proto_reg_handoff_ff(void)
|
|||
*/
|
||||
dissector_add_uint("udp.port", UDP_PORT_FF_LR_PORT, ff_udp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -825,3 +825,16 @@ proto_reg_handoff_fip(void)
|
|||
dissector_add_uint("ethertype", ETHERTYPE_FIP, fip_handle);
|
||||
fc_handle = find_dissector("fc");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -785,4 +785,15 @@ proto_reg_handoff_flip(void)
|
|||
|
||||
} /* proto_reg_handoff_flip() */
|
||||
|
||||
/* end of file packet-flip.c */
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1018,3 +1018,16 @@ proto_reg_handoff_fr(void)
|
|||
|
||||
osinl_incl_subdissector_table = find_dissector_table("osinl.incl");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -522,3 +522,15 @@ proto_reg_handoff_gmhdr(void)
|
|||
heur_dissector_add("eth.trailer", dissect_gmtimestamp_trailer, proto_gmtrailer);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -403,3 +403,16 @@ void
|
|||
proto_reg_handoff_gmrp(void){
|
||||
data_handle = find_dissector("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -213,8 +213,8 @@ static const true_false_string gre_wccp_alternative_bucket_used_val = {
|
|||
};
|
||||
|
||||
static const true_false_string gre_wccp_redirect_header_valid_val = {
|
||||
"Header is present, but ignore contents",
|
||||
"Header contents are valid",
|
||||
"Header is present, but ignore contents",
|
||||
"Header contents are valid",
|
||||
};
|
||||
|
||||
|
||||
|
@ -750,3 +750,16 @@ proto_reg_handoff_gre(void)
|
|||
dissector_add_uint("ip.proto", IP_PROTO_GRE, gre_handle);
|
||||
data_handle = find_dissector("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -4486,3 +4486,15 @@ proto_register_gsm_a_common(void)
|
|||
gsm_a_tap = register_tap("gsm_a");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -662,3 +662,16 @@ proto_reg_handoff_gsm_sms_ud(void)
|
|||
wsp_handle = find_dissector("wsp-cl");
|
||||
DISSECTOR_ASSERT(wsp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -138,3 +138,16 @@ proto_reg_handoff_nonstd(void)
|
|||
dissector_add_uint("h225.nsp.h221",0xb500534c, ms_nonstd_handle);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -2191,3 +2191,16 @@ proto_register_homeplug(void)
|
|||
expert_homeplug = expert_register_protocol(proto_homeplug);
|
||||
expert_register_field_array(expert_homeplug, ei, array_length(ei));
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1370,3 +1370,16 @@ void proto_reg_handoff_icep(void)
|
|||
|
||||
old_icep_udp_port = icep_udp_port;
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -412,3 +412,16 @@ void proto_reg_handoff_1722(void)
|
|||
avbtp_handle = create_dissector_handle(dissect_1722, proto_1722);
|
||||
dissector_add_uint("ethertype", ETHERTYPE_AVBTP, avbtp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1279,3 +1279,16 @@ proto_reg_handoff_imf(void)
|
|||
media_type_dissector_table = find_dissector_table("media_type");
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -7527,3 +7527,16 @@ void proto_reg_handoff_infiniband(void)
|
|||
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_INFINIBAND, ib_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -117,3 +117,16 @@ struct infinibandinfo {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -48,3 +48,16 @@ void capture_ip(const guchar *, int, int, packet_counts *);
|
|||
WS_DLL_PUBLIC value_string_ext dscp_vals_ext;
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -723,3 +723,16 @@ proto_reg_handoff_ipp(void)
|
|||
dissector_add_string("media_type", "application/ipp", ipp_handle);
|
||||
data_handle = find_dissector("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -110,3 +110,16 @@ proto_reg_handoff_udpencap(void)
|
|||
udpencap_handle = create_dissector_handle(dissect_udpencap, proto_udpencap);
|
||||
dissector_add_uint("udp.port", 4500, udpencap_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -3121,3 +3121,16 @@ proto_reg_handoff_iscsi(void)
|
|||
iscsi_handle = new_create_dissector_handle(dissect_iscsi_handle, proto_iscsi);
|
||||
dissector_add_for_decode_as("tcp.port", iscsi_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -995,3 +995,16 @@ proto_reg_handoff_iua(void)
|
|||
data_handle = find_dissector("data");
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -75,87 +75,87 @@ static expert_field ei_ixiatrailer_field_length_invalid = EI_INIT;
|
|||
static int
|
||||
dissect_ixiatrailer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void *data _U_)
|
||||
{
|
||||
proto_tree *ti;
|
||||
guint tvblen, trailer_length, time_length;
|
||||
proto_tree *ixiatrailer_tree = NULL;
|
||||
guint offset = 0;
|
||||
guint16 cksum, comp_cksum;
|
||||
vec_t vec;
|
||||
guint8 source;
|
||||
proto_tree *ti;
|
||||
guint tvblen, trailer_length, time_length;
|
||||
proto_tree *ixiatrailer_tree = NULL;
|
||||
guint offset = 0;
|
||||
guint16 cksum, comp_cksum;
|
||||
vec_t vec;
|
||||
guint8 source;
|
||||
|
||||
/* Need at least 5 bytes. TODO: should be 15? */
|
||||
tvblen = tvb_length(tvb);
|
||||
if (tvblen < 5) {
|
||||
return 0;
|
||||
}
|
||||
/* Need at least 5 bytes. TODO: should be 15? */
|
||||
tvblen = tvb_length(tvb);
|
||||
if (tvblen < 5) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Depending upon the ethernet preference "Assume packets have FCS", we
|
||||
may be given those 4 bytes too. If we see 19 bytes, assume we are
|
||||
getting them and only look at first 15. */
|
||||
if (tvblen == 19) {
|
||||
tvblen = 15;
|
||||
}
|
||||
/* Depending upon the ethernet preference "Assume packets have FCS", we
|
||||
may be given those 4 bytes too. If we see 19 bytes, assume we are
|
||||
getting them and only look at first 15. */
|
||||
if (tvblen == 19) {
|
||||
tvblen = 15;
|
||||
}
|
||||
|
||||
/* 3rd & 4th bytes from the end must match our pattern */
|
||||
if (tvb_get_ntohs(tvb, tvblen-4) != IXIA_PATTERN) {
|
||||
return 0;
|
||||
}
|
||||
/* 3rd & 4th bytes from the end must match our pattern */
|
||||
if (tvb_get_ntohs(tvb, tvblen-4) != IXIA_PATTERN) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Read Trailer-length field */
|
||||
trailer_length = tvb_get_guint8(tvb, tvblen-5);
|
||||
/* Should match overall length of trailer */
|
||||
if ((tvblen-5) != trailer_length) {
|
||||
return 0;
|
||||
}
|
||||
/* Read Trailer-length field */
|
||||
trailer_length = tvb_get_guint8(tvb, tvblen-5);
|
||||
/* Should match overall length of trailer */
|
||||
if ((tvblen-5) != trailer_length) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Last 2 bytes are the checksum */
|
||||
cksum = tvb_get_ntohs(tvb, tvblen-2);
|
||||
/* Last 2 bytes are the checksum */
|
||||
cksum = tvb_get_ntohs(tvb, tvblen-2);
|
||||
|
||||
/* Verify the checksum; if not valid, it means that the trailer is not valid */
|
||||
SET_CKSUM_VEC_TVB(vec, tvb, offset, trailer_length + 3);
|
||||
comp_cksum = in_cksum(&vec, 1);
|
||||
if (pntoh16(&comp_cksum) != cksum) {
|
||||
return 0;
|
||||
}
|
||||
/* Verify the checksum; if not valid, it means that the trailer is not valid */
|
||||
SET_CKSUM_VEC_TVB(vec, tvb, offset, trailer_length + 3);
|
||||
comp_cksum = in_cksum(&vec, 1);
|
||||
if (pntoh16(&comp_cksum) != cksum) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* OK: We have our trailer - create protocol root */
|
||||
ti = proto_tree_add_item(tree, proto_ixiatrailer, tvb, offset, trailer_length + 5, ENC_NA);
|
||||
/* OK: We have our trailer - create protocol root */
|
||||
ti = proto_tree_add_item(tree, proto_ixiatrailer, tvb, offset, trailer_length + 5, ENC_NA);
|
||||
|
||||
/* Append summary to item, if configured to */
|
||||
if (ixiatrailer_summary_in_tree) {
|
||||
proto_item_append_text(ti, ", Length: %u, Checksum: 0x%x", trailer_length, cksum);
|
||||
}
|
||||
/* Append summary to item, if configured to */
|
||||
if (ixiatrailer_summary_in_tree) {
|
||||
proto_item_append_text(ti, ", Length: %u, Checksum: 0x%x", trailer_length, cksum);
|
||||
}
|
||||
|
||||
/* Create subtree */
|
||||
ixiatrailer_tree = proto_item_add_subtree(ti, ett_ixiatrailer);
|
||||
/* Create subtree */
|
||||
ixiatrailer_tree = proto_item_add_subtree(ti, ett_ixiatrailer);
|
||||
|
||||
source = tvb_get_guint8(tvb, offset++);
|
||||
time_length = tvb_get_guint8(tvb, offset++);
|
||||
source = tvb_get_guint8(tvb, offset++);
|
||||
time_length = tvb_get_guint8(tvb, offset++);
|
||||
|
||||
switch (source) {
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_LOCAL:
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_NTP:
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_GPS:
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_1588:
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_HOLDOVER:
|
||||
if (time_length != 8) {
|
||||
expert_add_info_format(pinfo, ti, &ei_ixiatrailer_field_length_invalid, "Field length %u invalid", time_length);
|
||||
break;
|
||||
}
|
||||
/* Timestamp */
|
||||
ti = proto_tree_add_item(ixiatrailer_tree, hf_ixiatrailer_timestamp, tvb, offset, time_length, ENC_TIME_TIMESPEC|ENC_BIG_ENDIAN);
|
||||
proto_item_append_text(ti, "; Source: %s", val_to_str_const(source, ixiatrailer_ftype_timestamp, "Unknown"));
|
||||
break;
|
||||
switch (source) {
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_LOCAL:
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_NTP:
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_GPS:
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_1588:
|
||||
case IXIATRAILER_FTYPE_TIMESTAMP_HOLDOVER:
|
||||
if (time_length != 8) {
|
||||
expert_add_info_format(pinfo, ti, &ei_ixiatrailer_field_length_invalid, "Field length %u invalid", time_length);
|
||||
break;
|
||||
}
|
||||
/* Timestamp */
|
||||
ti = proto_tree_add_item(ixiatrailer_tree, hf_ixiatrailer_timestamp, tvb, offset, time_length, ENC_TIME_TIMESPEC|ENC_BIG_ENDIAN);
|
||||
proto_item_append_text(ti, "; Source: %s", val_to_str_const(source, ixiatrailer_ftype_timestamp, "Unknown"));
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Not a recognised time format - just show as bytes */
|
||||
ti = proto_tree_add_item(ixiatrailer_tree, hf_ixiatrailer_generic, tvb, offset, time_length, ENC_NA);
|
||||
proto_item_append_text(ti, " [Id: %u, Length: %u]", source, time_length);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
/* Not a recognised time format - just show as bytes */
|
||||
ti = proto_tree_add_item(ixiatrailer_tree, hf_ixiatrailer_generic, tvb, offset, time_length, ENC_NA);
|
||||
proto_item_append_text(ti, " [Id: %u, Length: %u]", source, time_length);
|
||||
break;
|
||||
}
|
||||
|
||||
/* We are claiming all of the bytes */
|
||||
return tvblen;
|
||||
/* We are claiming all of the bytes */
|
||||
return tvblen;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -202,3 +202,16 @@ proto_reg_handoff_ixiatrailer(void)
|
|||
/* Check for Ixia format in the ethernet trailer */
|
||||
heur_dissector_add("eth.trailer", dissect_ixiatrailer, proto_ixiatrailer);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -383,3 +383,16 @@ proto_reg_handoff_kingfisher( void )
|
|||
kingfisher_conv_handle = new_create_dissector_handle(dissect_kingfisher_conv, proto_kingfisher);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -999,3 +999,15 @@ void proto_reg_handoff_kink(void) {
|
|||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -288,3 +288,16 @@ void proto_reg_handoff_lanforge(void)
|
|||
/* Find data dissector handle */
|
||||
data_handle = find_dissector("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1170,3 +1170,16 @@ proto_reg_handoff_lwres(void)
|
|||
lwres_port = global_lwres_port;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -354,3 +354,16 @@ proto_reg_handoff_mdshdr(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -110,3 +110,16 @@ proto_register_media(void)
|
|||
*/
|
||||
proto_set_cant_toggle(proto_media);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -2565,3 +2565,16 @@ proto_reg_handoff_mpls_echo(void)
|
|||
mpls_echo_udp_port = global_mpls_echo_udp_port;
|
||||
dissector_add_uint("udp.port", global_mpls_echo_udp_port, mpls_echo_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -792,3 +792,16 @@ proto_reg_handoff_mrp_msrp(void)
|
|||
msrp_handle = create_dissector_handle(dissect_msrp, proto_msrp);
|
||||
dissector_add_uint("ethertype", ETHERTYPE_MSRP, msrp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -9573,3 +9573,16 @@ proto_reg_handoff_ndps(void)
|
|||
dissector_add_uint("tcp.port", TCP_PORT_NOTIFY_LISTENER, ndps_tcp_handle);
|
||||
ndps_data_handle = find_dissector("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -360,99 +360,99 @@ dissect_netanalyzer_transparent(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t
|
|||
|
||||
void proto_register_netanalyzer(void)
|
||||
{
|
||||
static hf_register_info hf[] = {
|
||||
{ &hf_netanalyzer_gpio_number,
|
||||
{ "Event on", "netanalyzer.gpio_event.gpio_number",
|
||||
FT_UINT8, BASE_HEX, VALS(gpio_number), 0x0,
|
||||
"Event on GPIO number", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_gpio_edge,
|
||||
{ "Event type", "netanalyzer.gpio_event.gpio_edge",
|
||||
FT_UINT8, BASE_HEX, VALS(gpio_edge_vals), 0x0,
|
||||
"Edge of GPIO event", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_port,
|
||||
{ "Reception Port", "netanalyzer.port",
|
||||
FT_UINT8, BASE_DEC, NULL, 0x0,
|
||||
"netANALYZER reception port", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_length,
|
||||
{ "Ethernet frame length", "netanalyzer.framelen",
|
||||
FT_UINT16, BASE_DEC, NULL, 0x0,
|
||||
"Actual Ethernet frame length", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status,
|
||||
{ "Status", "netanalyzer.packetstatus",
|
||||
FT_UINT8, BASE_HEX, NULL, MSK_PACKET_STATUS,
|
||||
"Status of Ethernet frame", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_rx_err,
|
||||
{ "MII RX_ER error", "netanalyzer.packetstatus.rx_er",
|
||||
FT_BOOLEAN, 8, NULL, MSK_RX_ERR,
|
||||
"RX_ER detected in frame", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_align_err,
|
||||
{ "Alignment error", "netanalyzer.packetstatus.alignment_error",
|
||||
FT_BOOLEAN, 8, NULL, MSK_ALIGN_ERR,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_fcs,
|
||||
{ "FCS error", "netanalyzer.packetstatus.fcs_error",
|
||||
FT_BOOLEAN, 8, NULL, MSK_FCS_ERROR,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_too_long,
|
||||
{ "Frame too long", "netanalyzer.packetstatus.too_long",
|
||||
FT_BOOLEAN, 8, NULL, MSK_TOO_LONG,
|
||||
"Frame too long (capture truncated)", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_sfd_error,
|
||||
{ "No valid SFD found", "netanalyzer.packetstatus.sfd_error",
|
||||
FT_BOOLEAN, 8, NULL, MSK_SFD_ERROR,
|
||||
"SDF error detected in frame", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_short_frame,
|
||||
{ "Frame smaller 64 bytes", "netanalyzer.packetstatus.short_frame",
|
||||
FT_BOOLEAN, 8, NULL, MSK_SHORT_FRAME,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_short_preamble,
|
||||
{ "Preamble shorter than 7 bytes", "netanalyzer.packetstatus.short_preamble",
|
||||
FT_BOOLEAN, 8, NULL, MSK_SHORT_PREAMBLE,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_long_preamble,
|
||||
{ "Preamble longer than 7 bytes", "netanalyzer.packetstatus.long_preamble",
|
||||
FT_BOOLEAN, 8, NULL, MSK_LONG_PREAMBLE,
|
||||
NULL, HFILL }
|
||||
},
|
||||
};
|
||||
static hf_register_info hf[] = {
|
||||
{ &hf_netanalyzer_gpio_number,
|
||||
{ "Event on", "netanalyzer.gpio_event.gpio_number",
|
||||
FT_UINT8, BASE_HEX, VALS(gpio_number), 0x0,
|
||||
"Event on GPIO number", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_gpio_edge,
|
||||
{ "Event type", "netanalyzer.gpio_event.gpio_edge",
|
||||
FT_UINT8, BASE_HEX, VALS(gpio_edge_vals), 0x0,
|
||||
"Edge of GPIO event", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_port,
|
||||
{ "Reception Port", "netanalyzer.port",
|
||||
FT_UINT8, BASE_DEC, NULL, 0x0,
|
||||
"netANALYZER reception port", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_length,
|
||||
{ "Ethernet frame length", "netanalyzer.framelen",
|
||||
FT_UINT16, BASE_DEC, NULL, 0x0,
|
||||
"Actual Ethernet frame length", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status,
|
||||
{ "Status", "netanalyzer.packetstatus",
|
||||
FT_UINT8, BASE_HEX, NULL, MSK_PACKET_STATUS,
|
||||
"Status of Ethernet frame", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_rx_err,
|
||||
{ "MII RX_ER error", "netanalyzer.packetstatus.rx_er",
|
||||
FT_BOOLEAN, 8, NULL, MSK_RX_ERR,
|
||||
"RX_ER detected in frame", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_align_err,
|
||||
{ "Alignment error", "netanalyzer.packetstatus.alignment_error",
|
||||
FT_BOOLEAN, 8, NULL, MSK_ALIGN_ERR,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_fcs,
|
||||
{ "FCS error", "netanalyzer.packetstatus.fcs_error",
|
||||
FT_BOOLEAN, 8, NULL, MSK_FCS_ERROR,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_too_long,
|
||||
{ "Frame too long", "netanalyzer.packetstatus.too_long",
|
||||
FT_BOOLEAN, 8, NULL, MSK_TOO_LONG,
|
||||
"Frame too long (capture truncated)", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_sfd_error,
|
||||
{ "No valid SFD found", "netanalyzer.packetstatus.sfd_error",
|
||||
FT_BOOLEAN, 8, NULL, MSK_SFD_ERROR,
|
||||
"SDF error detected in frame", HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_short_frame,
|
||||
{ "Frame smaller 64 bytes", "netanalyzer.packetstatus.short_frame",
|
||||
FT_BOOLEAN, 8, NULL, MSK_SHORT_FRAME,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_short_preamble,
|
||||
{ "Preamble shorter than 7 bytes", "netanalyzer.packetstatus.short_preamble",
|
||||
FT_BOOLEAN, 8, NULL, MSK_SHORT_PREAMBLE,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_netanalyzer_status_long_preamble,
|
||||
{ "Preamble longer than 7 bytes", "netanalyzer.packetstatus.long_preamble",
|
||||
FT_BOOLEAN, 8, NULL, MSK_LONG_PREAMBLE,
|
||||
NULL, HFILL }
|
||||
},
|
||||
};
|
||||
|
||||
static gint *ett[] = {
|
||||
&ett_netanalyzer,
|
||||
&ett_netanalyzer_status,
|
||||
&ett_netanalyzer_transparent,
|
||||
};
|
||||
static gint *ett[] = {
|
||||
&ett_netanalyzer,
|
||||
&ett_netanalyzer_status,
|
||||
&ett_netanalyzer_transparent,
|
||||
};
|
||||
|
||||
static ei_register_info ei[] = {
|
||||
{ &ei_netanalyzer_header_version_wrong, { "netanalyzer.header_version.wrong", PI_PROTOCOL, PI_ERROR, "Wrong netANALYZER header version", EXPFILL }},
|
||||
{ &ei_netanalyzer_gpio_def_none, { "netanalyzer.gpio_def_none", PI_MALFORMED, PI_ERROR, "No valid netANALYZER GPIO definition found", EXPFILL }},
|
||||
{ &ei_netanalyzer_header_version_none, { "netanalyzer.header_version.none", PI_MALFORMED, PI_ERROR, "No netANALYZER header found", EXPFILL }},
|
||||
{ &ei_netanalyzer_transparent_frame, { "netanalyzer.transparent_frame", PI_PROTOCOL, PI_NOTE, "This frame was captured in transparent mode", EXPFILL }},
|
||||
{ &ei_netanalyzer_alignment_error, { "netanalyzer.alignment_error", PI_PROTOCOL, PI_WARN, "Displayed frame data contains additional nibble due to alignment error (upper nibble is not valid)", EXPFILL }},
|
||||
};
|
||||
static ei_register_info ei[] = {
|
||||
{ &ei_netanalyzer_header_version_wrong, { "netanalyzer.header_version.wrong", PI_PROTOCOL, PI_ERROR, "Wrong netANALYZER header version", EXPFILL }},
|
||||
{ &ei_netanalyzer_gpio_def_none, { "netanalyzer.gpio_def_none", PI_MALFORMED, PI_ERROR, "No valid netANALYZER GPIO definition found", EXPFILL }},
|
||||
{ &ei_netanalyzer_header_version_none, { "netanalyzer.header_version.none", PI_MALFORMED, PI_ERROR, "No netANALYZER header found", EXPFILL }},
|
||||
{ &ei_netanalyzer_transparent_frame, { "netanalyzer.transparent_frame", PI_PROTOCOL, PI_NOTE, "This frame was captured in transparent mode", EXPFILL }},
|
||||
{ &ei_netanalyzer_alignment_error, { "netanalyzer.alignment_error", PI_PROTOCOL, PI_WARN, "Displayed frame data contains additional nibble due to alignment error (upper nibble is not valid)", EXPFILL }},
|
||||
};
|
||||
|
||||
expert_module_t* expert_netanalyzer;
|
||||
expert_module_t* expert_netanalyzer;
|
||||
|
||||
proto_netanalyzer = proto_register_protocol (
|
||||
"netANALYZER", /* name */
|
||||
"netANALYZER", /* short name */
|
||||
"netanalyzer" ); /* abbrev */
|
||||
proto_netanalyzer = proto_register_protocol (
|
||||
"netANALYZER", /* name */
|
||||
"netANALYZER", /* short name */
|
||||
"netanalyzer" ); /* abbrev */
|
||||
|
||||
proto_register_field_array(proto_netanalyzer, hf, array_length(hf));
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
expert_netanalyzer = expert_register_protocol(proto_netanalyzer);
|
||||
expert_register_field_array(expert_netanalyzer, ei, array_length(ei));
|
||||
proto_register_field_array(proto_netanalyzer, hf, array_length(hf));
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
expert_netanalyzer = expert_register_protocol(proto_netanalyzer);
|
||||
expert_register_field_array(expert_netanalyzer, ei, array_length(ei));
|
||||
|
||||
}
|
||||
|
||||
|
@ -470,3 +470,16 @@ void proto_reg_handoff_netanalyzer(void)
|
|||
dissector_add_uint("wtap_encap", WTAP_ENCAP_NETANALYZER, netana_handle);
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_NETANALYZER_TRANSPARENT, netana_handle_transparent);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1399,3 +1399,16 @@ proto_reg_handoff_nhrp(void)
|
|||
dissector_add_uint("gre.proto", GRE_NHRP, nhrp_handle);
|
||||
dissector_add_uint("llc.iana_pid", IANA_PID_MARS_NHRP_CONTROL, nhrp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1672,3 +1672,16 @@ void proto_reg_handoff_noe(void)
|
|||
dissector_add_uint("ua.opcode", 0x15, handle_noe);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -568,3 +568,15 @@ proto_register_osi(void)
|
|||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -881,4 +881,15 @@ proto_reg_handoff_pgsql(void)
|
|||
saved_pgsql_port = pgsql_port;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1567,3 +1567,16 @@ proto_reg_handoff_pim(void)
|
|||
ip_handle = find_dissector("ip");
|
||||
ipv6_handle = find_dissector("ipv6");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1395,3 +1395,15 @@ void proto_reg_handoff_pnrp(void)
|
|||
dissector_add_uint("udp.port",PNRP_PORT,pnrp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -2963,3 +2963,16 @@ prefs_register_rdp(void) {
|
|||
if ((tcp_port > 0) && (tcp_port != 102) && tpkt_handle)
|
||||
dissector_add_uint("tcp.port", tcp_port, tpkt_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1502,3 +1502,16 @@ proto_reg_handoff_rtsp(void)
|
|||
stats_tree_register("rtsp","rtsp","RTSP/Packet Counter", 0, rtsp_stats_tree_packet, rtsp_stats_tree_init, NULL );
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -4160,3 +4160,16 @@ proto_reg_handoff_sccp(void)
|
|||
|
||||
default_handle = find_dissector(default_payload);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -401,3 +401,16 @@ proto_reg_handoff_sita(void)
|
|||
dissector_add_uint("sita.proto", SITA_PROTO_ALC, ipars_handle);
|
||||
dissector_add_uint("wtap_encap", WTAP_ENCAP_SITA, sita_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -584,3 +584,16 @@ proto_reg_handoff_sndcp(void)
|
|||
ip_handle = find_dissector("ip");
|
||||
data_handle = find_dissector("data");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -2057,3 +2057,16 @@ proto_reg_handoff_telnet(void)
|
|||
tn3270_handle = find_dissector("tn3270");
|
||||
tn5250_handle = find_dissector("tn5250");
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -7492,3 +7492,16 @@ proto_register_tn5250(void)
|
|||
expert_register_field_array(expert_tn5250, ei, array_length(ei));
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -206,3 +206,15 @@ proto_reg_handoff_trill(void)
|
|||
eth_dissector = find_dissector( "eth" ) ;
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 2
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=2 tabstop=8 expandtab:
|
||||
* :indentSize=2:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -314,3 +314,16 @@ void proto_reg_handoff_ua_msg(void)
|
|||
data_handle = find_dissector("data");
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -117,3 +117,16 @@ void proto_reg_handoff_vicp(void)
|
|||
vicp_handle = create_dissector_handle(dissect_vicp, proto_vicp);
|
||||
dissector_add_uint("tcp.port", VICP_PORT, vicp_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local Variables:
|
||||
* c-basic-offset: 3
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* ex: set shiftwidth=3 tabstop=8 expandtab:
|
||||
* :indentSize=3:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -272,4 +272,17 @@ typedef struct{
|
|||
|
||||
extern const value_string zbee_aps_cid_names[];
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
||||
#endif /* PACKET_ZBEE_APS_H*/
|
||||
|
|
|
@ -2060,3 +2060,16 @@ proto_init_zbee_nwk(void)
|
|||
zbee_nwk_map.long_table = g_hash_table_new(ieee802154_long_addr_hash, ieee802154_long_addr_equal);
|
||||
zbee_table_nwk_keyring = g_hash_table_new_full(g_int_hash, g_int_equal, NULL, free_keyring_val);
|
||||
} /* proto_init_zbee_nwk */
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -203,4 +203,18 @@ extern GHashTable *zbee_table_link_keyring;
|
|||
#define ZBEE_IP_BEACON_TLV_TYPE_MASK 0xf0
|
||||
#define ZBEE_IP_BEACON_TLV_TYPE_LFDI 0x0
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
||||
#endif /* PACKET_ZBEE_NWK_H */
|
||||
|
||||
|
|
|
@ -1268,3 +1268,16 @@ proto_init_zbee_security(void)
|
|||
zbee_pc_keyring = g_slist_prepend(zbee_pc_keyring, g_memdup(&key_record, sizeof(key_record_t)));
|
||||
} /* for */
|
||||
} /* proto_init_zbee_security */
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -80,4 +80,17 @@ extern void zbee_security_handoff (void);
|
|||
extern tvbuff_t *dissect_zbee_secure(tvbuff_t *, packet_info *, proto_tree *, guint);
|
||||
extern gboolean zbee_sec_ccm_decrypt(const gchar *, const gchar *, const gchar *, const gchar *, gchar *, guint, guint, guint);
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
||||
#endif /* PACKET_ZBEE_SECURITY_H */
|
||||
|
|
|
@ -1577,3 +1577,16 @@ proto_reg_handoff_zbee_zcl_appl_stats(void)
|
|||
(zbee_zcl_fn_cmd_id)dissect_zcl_appl_stats_cmd_id
|
||||
);
|
||||
} /*proto_reg_handoff_zbee_zcl_appl_stats*/
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1456,3 +1456,16 @@ proto_reg_handoff_zbee_zcl_relhum_meas(void)
|
|||
NULL
|
||||
);
|
||||
} /*proto_reg_handoff_zbee_zcl_relhum_meas*/
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -548,3 +548,15 @@ proto_reg_handoff_zbee_zcl_msg(void)
|
|||
);
|
||||
} /*proto_reg_handoff_zbee_zcl_msg*/
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -3047,3 +3047,16 @@ zbee_zcl_cluster_desc
|
|||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -973,3 +973,16 @@ dissect_zbee_zdp_rsp_recover_source_bind(tvbuff_t *tvb, packet_info *pinfo, prot
|
|||
/* Dump any leftover bytes. */
|
||||
zdp_dump_excess(tvb, offset, pinfo, tree);
|
||||
} /* dissect_zbee_zdp_rsp_recover_source_bind */
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1548,3 +1548,16 @@ dissect_zbee_zdp_rsp_ext_active_ep(tvbuff_t *tvb, packet_info *pinfo, proto_tree
|
|||
/* Dump any leftover bytes. */
|
||||
zdp_dump_excess(tvb, offset, pinfo, tree);
|
||||
} /* dissect_zbee_zdp_rsp_ext_active_ep */
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -931,3 +931,16 @@ dissect_zbee_zdp_rsp_mgmt_nwkupdate(tvbuff_t *tvb, packet_info *pinfo, proto_tre
|
|||
/* Dump any leftover bytes. */
|
||||
zdp_dump_excess(tvb, offset, pinfo, tree);
|
||||
} /* dissect_zbee_zdp_rsp_mgmt_nwkupdate */
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
|
@ -1745,3 +1745,16 @@ void proto_reg_handoff_zbee_zdp(void)
|
|||
zdp_handle = find_dissector("zbee_zdp");
|
||||
dissector_add_uint("zbee.profile", ZBEE_ZDP_PROFILE, zdp_handle);
|
||||
} /* proto_reg_handoff_zbee_zdp */
|
||||
|
||||
/*
|
||||
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
*
|
||||
* Local variables:
|
||||
* c-basic-offset: 4
|
||||
* tab-width: 8
|
||||
* indent-tabs-mode: nil
|
||||
* End:
|
||||
*
|
||||
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
||||
* :indentSize=4:tabSize=8:noTabs=true:
|
||||
*/
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue