diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-09-29 14:07:49 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-09-29 18:21:50 +0000 |
commit | ff5a77256c1987e6aeac6cb032a25fd43d3d8929 (patch) | |
tree | 6a2172f6fb16c2be06ab9a74790fdbe6036a5632 | |
parent | 1c055f5b1d31a2b10135ce67467c71af6a42fd6d (diff) | |
download | wireshark-ff5a77256c1987e6aeac6cb032a25fd43d3d8929.tar.gz wireshark-ff5a77256c1987e6aeac6cb032a25fd43d3d8929.tar.bz2 wireshark-ff5a77256c1987e6aeac6cb032a25fd43d3d8929.zip |
Add editor modelines and adjust indentation as needed.
Change-Id: Id57d264299f2026d703c5b08bace4b24b32f184c
Reviewed-on: https://code.wireshark.org/review/4371
Reviewed-by: Bill Meier <wmeier@newsguy.com>
71 files changed, 1145 insertions, 255 deletions
diff --git a/epan/dissectors/packet-aim-email.c b/epan/dissectors/packet-aim-email.c index 22cbad1838..40a8343f7a 100644 --- a/epan/dissectors/packet-aim-email.c +++ b/epan/dissectors/packet-aim-email.c @@ -76,3 +76,16 @@ proto_reg_handoff_aim_email(void) { aim_init_family(proto_aim_email, ett_aim_email, FAMILY_EMAIL, aim_fnac_family_email); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-aim-stats.c b/epan/dissectors/packet-aim-stats.c index 5d100a79c5..23dcff1288 100644 --- a/epan/dissectors/packet-aim-stats.c +++ b/epan/dissectors/packet-aim-stats.c @@ -78,3 +78,16 @@ proto_reg_handoff_aim_stats(void) { aim_init_family(proto_aim_stats, ett_aim_stats, FAMILY_STATS, aim_fnac_family_stats); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-aim-translate.c b/epan/dissectors/packet-aim-translate.c index e97dfa54c3..313d033d4d 100644 --- a/epan/dissectors/packet-aim-translate.c +++ b/epan/dissectors/packet-aim-translate.c @@ -74,3 +74,16 @@ proto_reg_handoff_aim_translate(void) { aim_init_family(proto_aim_translate, ett_aim_translate, FAMILY_TRANSLATE, aim_fnac_family_translate); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-asap.c b/epan/dissectors/packet-asap.c index b4f618a82f..0ab722a1d7 100644 --- a/epan/dissectors/packet-asap.c +++ b/epan/dissectors/packet-asap.c @@ -930,3 +930,16 @@ proto_reg_handoff_asap(void) dissector_add_uint("tcp.port", ASAP_TCP_PORT, asap_handle); dissector_add_uint("sctp.port", ASAP_SCTP_PORT, asap_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: + */ diff --git a/epan/dissectors/packet-ascend.c b/epan/dissectors/packet-ascend.c index af785ba8ff..b2afa1055e 100644 --- a/epan/dissectors/packet-ascend.c +++ b/epan/dissectors/packet-ascend.c @@ -165,3 +165,16 @@ proto_reg_handoff_ascend(void) ascend_handle = create_dissector_handle(dissect_ascend, proto_ascend); dissector_add_uint("wtap_encap", WTAP_ENCAP_ASCEND, ascend_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: + */ diff --git a/epan/dissectors/packet-at.c b/epan/dissectors/packet-at.c index d1516ceecc..811f6529ac 100644 --- a/epan/dissectors/packet-at.c +++ b/epan/dissectors/packet-at.c @@ -122,3 +122,15 @@ proto_reg_handoff_at_command(void) heur_dissector_add("usb.control", heur_dissect_at, proto_at); } +/* + * 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: + */ diff --git a/epan/dissectors/packet-brp.c b/epan/dissectors/packet-brp.c index eb2be8fc49..d1cdc3c796 100644 --- a/epan/dissectors/packet-brp.c +++ b/epan/dissectors/packet-brp.c @@ -437,3 +437,15 @@ void proto_reg_handoff_brp(void) saved_brp_port = global_brp_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: + */ diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c index 5a083d652a..6744ea17d2 100644 --- a/epan/dissectors/packet-bssgp.c +++ b/epan/dissectors/packet-bssgp.c @@ -6990,3 +6990,16 @@ proto_reg_handoff_bssgp(void) diameter_3gpp_avp_dissector_table = find_dissector_table("diameter.3gpp"); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-bssgp.h b/epan/dissectors/packet-bssgp.h index 332cd5cd19..7761ddf0ba 100644 --- a/epan/dissectors/packet-bssgp.h +++ b/epan/dissectors/packet-bssgp.h @@ -34,6 +34,17 @@ guint16 de_bssgp_cell_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, gu guint16 de_bssgp_source_BSS_to_target_BSS_transp_cont(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len, gchar *add_string, int string_len); guint16 de_bssgp_target_BSS_to_source_BSS_transp_cont(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len, gchar *add_string, int string_len); +/* + * 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_BSSGP_H__ */ - diff --git a/epan/dissectors/packet-calcappprotocol.c b/epan/dissectors/packet-calcappprotocol.c index 64b0e622bc..b3db3b86bf 100644 --- a/epan/dissectors/packet-calcappprotocol.c +++ b/epan/dissectors/packet-calcappprotocol.c @@ -163,3 +163,16 @@ proto_reg_handoff_calcappprotocol(void) dissector_add_uint("sctp.ppi", CALCAPPPROTOCOL_PAYLOAD_PROTOCOL_ID_LEGACY, calcappprotocol_handle); dissector_add_uint("sctp.ppi", CALCAPP_PAYLOAD_PROTOCOL_ID, calcappprotocol_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: + */ diff --git a/epan/dissectors/packet-canopen.c b/epan/dissectors/packet-canopen.c index d37407c457..7e49a436ba 100644 --- a/epan/dissectors/packet-canopen.c +++ b/epan/dissectors/packet-canopen.c @@ -448,3 +448,15 @@ proto_register_canopen(void) proto_register_subtree_array(ett, array_length(ett)); } +/* + * 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: + */ diff --git a/epan/dissectors/packet-cast.c b/epan/dissectors/packet-cast.c index b48d03f693..044176e635 100644 --- a/epan/dissectors/packet-cast.c +++ b/epan/dissectors/packet-cast.c @@ -1715,3 +1715,15 @@ proto_reg_handoff_cast(void) dissector_add_uint("tcp.port", TCP_PORT_CAST, cast_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: + */ diff --git a/epan/dissectors/packet-clique-rm.c b/epan/dissectors/packet-clique-rm.c index 795c5a9658..7955d334fa 100644 --- a/epan/dissectors/packet-clique-rm.c +++ b/epan/dissectors/packet-clique-rm.c @@ -478,3 +478,15 @@ proto_reg_handoff_clique_rm(void) heur_dissector_add("udp", dissect_clique_rm, proto_clique_rm); } +/* + * 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: + */ diff --git a/epan/dissectors/packet-csn1.c b/epan/dissectors/packet-csn1.c index 10dbbb1a05..b7b58b620e 100644 --- a/epan/dissectors/packet-csn1.c +++ b/epan/dissectors/packet-csn1.c @@ -1613,4 +1613,15 @@ csnStreamDissector(proto_tree *tree, csnStream_t* ar, const CSN_DESCR* pDescr, t return ProcessError(tree, tvb, bit_offset,"csnStreamDissector", CSN_ERROR_NEED_MORE_BITS_TO_UNPACK, pDescr); } - +/* + * 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: + */ diff --git a/epan/dissectors/packet-csn1.h b/epan/dissectors/packet-csn1.h index c2c8a5aa63..47240fa83d 100644 --- a/epan/dissectors/packet-csn1.h +++ b/epan/dissectors/packet-csn1.h @@ -645,4 +645,17 @@ typedef gint16 (*CsnCallBackFcn_t)(void* pv ,...); #define CSNDESCR(_FuncType) CSNDESCR_##_FuncType +/* + * 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: + */ + #endif /*_PACKET_CSN1_H_*/ diff --git a/epan/dissectors/packet-dcerpc-rs_attr_schema.c b/epan/dissectors/packet-dcerpc-rs_attr_schema.c index 3d702c5543..9594cd483d 100644 --- a/epan/dissectors/packet-dcerpc-rs_attr_schema.c +++ b/epan/dissectors/packet-dcerpc-rs_attr_schema.c @@ -86,3 +86,16 @@ proto_reg_handoff_rs_attr_schema (void) &uuid_rs_attr_schema, ver_rs_attr_schema, rs_attr_schema_dissectors, hf_rs_attr_schema_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: + */ diff --git a/epan/dissectors/packet-dcerpc-rs_bind.c b/epan/dissectors/packet-dcerpc-rs_bind.c index e16b3e22ea..ef7b58436e 100644 --- a/epan/dissectors/packet-dcerpc-rs_bind.c +++ b/epan/dissectors/packet-dcerpc-rs_bind.c @@ -79,3 +79,16 @@ proto_reg_handoff_rs_bind (void) dcerpc_init_uuid (proto_rs_bind, ett_rs_bind, &uuid_rs_bind, ver_rs_bind, rs_bind_dissectors, hf_rs_bind_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: + */ diff --git a/epan/dissectors/packet-dcerpc-rs_prop_acl.c b/epan/dissectors/packet-dcerpc-rs_prop_acl.c index dbdbe91e1b..87255ffce6 100644 --- a/epan/dissectors/packet-dcerpc-rs_prop_acl.c +++ b/epan/dissectors/packet-dcerpc-rs_prop_acl.c @@ -79,3 +79,16 @@ proto_reg_handoff_rs_prop_acl (void) ver_rs_prop_acl, rs_prop_acl_dissectors, hf_rs_prop_acl_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: + */ diff --git a/epan/dissectors/packet-dcom-dispatch.c b/epan/dissectors/packet-dcom-dispatch.c index 284e0a2e88..911a4d81e6 100644 --- a/epan/dissectors/packet-dcom-dispatch.c +++ b/epan/dissectors/packet-dcom-dispatch.c @@ -615,3 +615,15 @@ proto_reg_handoff_dcom_dispatch(void) dispatch_dissectors, hf_dispatch_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: + */ diff --git a/epan/dissectors/packet-dlm3.c b/epan/dissectors/packet-dlm3.c index c64d521543..adb08db421 100644 --- a/epan/dissectors/packet-dlm3.c +++ b/epan/dissectors/packet-dlm3.c @@ -1262,3 +1262,16 @@ proto_reg_handoff_dlm3(void) } /* packet-dlm3.c ends here. */ + +/* + * 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: + */ diff --git a/epan/dissectors/packet-dpnss.c b/epan/dissectors/packet-dpnss.c index 86f951846a..79aa3f0522 100644 --- a/epan/dissectors/packet-dpnss.c +++ b/epan/dissectors/packet-dpnss.c @@ -195,13 +195,13 @@ static const value_string dpnss_LbL_msg_short_type_vals[] = { }; static const true_false_string dpnss_ext_bit_vals = { - "further octet(s) follow", - "no further octets" + "further octet(s) follow", + "no further octets" }; static const true_false_string dpnss_ext_bit_no_ext_vals = { - "no further octets", - "Invalid" + "no further octets", + "Invalid" }; /* SECTION 4 ANNEX 1 */ static const value_string dpnss_sic_type_type_vals[] = { @@ -290,23 +290,23 @@ static const value_string dpnss_sic_oct2_data_type_vals[] = { }; static const true_false_string dpnss_duplex_vals = { - "Half Duplex (HDX)", - "Full Duplex (FDX)" + "Half Duplex (HDX)", + "Full Duplex (FDX)" }; static const true_false_string dpnss_sic_oct2_sync_data_format_vals = { - "X.25 Packet Mode", - "Anonymous or Unformatted" + "X.25 Packet Mode", + "Anonymous or Unformatted" }; static const true_false_string dpnss_sic_oct2_net_ind_clk_vals = { - "Bits E4/E5/E6 indicate phase", - "Clock Locked to Transmission" + "Bits E4/E5/E6 indicate phase", + "Clock Locked to Transmission" }; static const true_false_string dpnss_provided_vals = { - "Provided", - "Not Provided" + "Provided", + "Not Provided" }; static const value_string dpnss_sic_oct2_async_data_type_vals[] = { @@ -1658,3 +1658,16 @@ proto_register_dpnss(void) proto_register_subtree_array(ett, array_length(ett)); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-dua.c b/epan/dissectors/packet-dua.c index 585d76bd0a..6564dc9d9b 100644 --- a/epan/dissectors/packet-dua.c +++ b/epan/dissectors/packet-dua.c @@ -920,3 +920,16 @@ proto_reg_handoff_dua(void) dpnss_handle = find_dissector("dpnss"); dissector_add_uint("sctp.ppi", DUA_PAYLOAD_PROTOCOL_ID, dua_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: + */ diff --git a/epan/dissectors/packet-e212.h b/epan/dissectors/packet-e212.h index 257f8a9c27..a746ae56ce 100644 --- a/epan/dissectors/packet-e212.h +++ b/epan/dissectors/packet-e212.h @@ -63,5 +63,17 @@ const gchar * dissect_e212_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t WS_DLL_PUBLIC const gchar * dissect_e212_utf8_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length); -#endif /* __PACKET_E212_H__ */ +/* + * 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_E212_H__ */ diff --git a/epan/dissectors/packet-echo.c b/epan/dissectors/packet-echo.c index 1647c534f3..9d8f00dfe1 100644 --- a/epan/dissectors/packet-echo.c +++ b/epan/dissectors/packet-echo.c @@ -118,3 +118,15 @@ void proto_reg_handoff_echo(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: + */ diff --git a/epan/dissectors/packet-egd.c b/epan/dissectors/packet-egd.c index ebea2b35ab..9a006f85bb 100644 --- a/epan/dissectors/packet-egd.c +++ b/epan/dissectors/packet-egd.c @@ -248,3 +248,15 @@ void proto_reg_handoff_egd(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: + */ diff --git a/epan/dissectors/packet-ehs.c b/epan/dissectors/packet-ehs.c index 397ea8d576..78ba193174 100644 --- a/epan/dissectors/packet-ehs.c +++ b/epan/dissectors/packet-ehs.c @@ -1934,3 +1934,15 @@ proto_reg_handoff_ehs(void) ccsds_handle = find_dissector ( "ccsds" ); } +/* + * 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: + */ diff --git a/epan/dissectors/packet-enc.c b/epan/dissectors/packet-enc.c index 3560f9ee7d..ed1caf8d32 100644 --- a/epan/dissectors/packet-enc.c +++ b/epan/dissectors/packet-enc.c @@ -196,3 +196,16 @@ proto_reg_handoff_enc(void) enc_handle = create_dissector_handle(dissect_enc, proto_enc); dissector_add_uint("wtap_encap", WTAP_ENCAP_ENC, enc_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: + */ diff --git a/epan/dissectors/packet-enrp.c b/epan/dissectors/packet-enrp.c index 6edb8fecf4..fe318406c3 100644 --- a/epan/dissectors/packet-enrp.c +++ b/epan/dissectors/packet-enrp.c @@ -1096,3 +1096,16 @@ proto_reg_handoff_enrp(void) dissector_add_uint("sctp.port", ENRP_SCTP_PORT, enrp_handle); dissector_add_uint("udp.port", ENRP_UDP_PORT, enrp_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: + */ diff --git a/epan/dissectors/packet-etherip.c b/epan/dissectors/packet-etherip.c index 4bbfd66984..888a18841e 100644 --- a/epan/dissectors/packet-etherip.c +++ b/epan/dissectors/packet-etherip.c @@ -137,3 +137,16 @@ proto_reg_handoff_etherip(void) etherip_handle = find_dissector("etherip"); dissector_add_uint("ip.proto", IP_PROTO_ETHERIP, etherip_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: + */ diff --git a/epan/dissectors/packet-fractalgeneratorprotocol.c b/epan/dissectors/packet-fractalgeneratorprotocol.c index d93c497f6e..b61808b37f 100644 --- a/epan/dissectors/packet-fractalgeneratorprotocol.c +++ b/epan/dissectors/packet-fractalgeneratorprotocol.c @@ -229,3 +229,16 @@ proto_reg_handoff_fractalgeneratorprotocol(void) dissector_add_uint("sctp.ppi", FRACTALGENERATORPROTOCOL_PAYLOAD_PROTOCOL_ID_LEGACY, fractalgeneratorprotocol_handle); dissector_add_uint("sctp.ppi", FGP_PAYLOAD_PROTOCOL_ID, fractalgeneratorprotocol_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: + */ diff --git a/epan/dissectors/packet-fw1.c b/epan/dissectors/packet-fw1.c index e4ff9e3a7d..2aa46701bc 100644 --- a/epan/dissectors/packet-fw1.c +++ b/epan/dissectors/packet-fw1.c @@ -294,3 +294,16 @@ proto_reg_handoff_fw1(void) { ethertype_handle = find_dissector("ethertype"); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-glbp.c b/epan/dissectors/packet-glbp.c index c3db1019e6..1ed0834364 100644 --- a/epan/dissectors/packet-glbp.c +++ b/epan/dissectors/packet-glbp.c @@ -613,3 +613,16 @@ proto_reg_handoff_glbp(void) glbp_handle = new_create_dissector_handle(dissect_glbp_static, proto_glbp); dissector_add_uint("udp.port", 3222, glbp_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: + */ diff --git a/epan/dissectors/packet-gsm_rlcmac.h b/epan/dissectors/packet-gsm_rlcmac.h index 1a17e51ab5..78597d5be5 100644 --- a/epan/dissectors/packet-gsm_rlcmac.h +++ b/epan/dissectors/packet-gsm_rlcmac.h @@ -5244,4 +5244,17 @@ extern const guint8 gsm_rlcmac_egprs_header_type_to_dl_header_block_length[]; extern const guint8 gsm_rlcmac_egprs_header_type_to_ul_header_block_length[]; extern const guint8 gsm_rlcmac_egprs_mcs_to_data_block_length[]; +/* + * 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: + */ + #endif /* __PACKET_GSM_RLCMAC_H__ */ diff --git a/epan/dissectors/packet-hsr-prp-supervision.c b/epan/dissectors/packet-hsr-prp-supervision.c index 8e805dcc63..348a791fde 100644 --- a/epan/dissectors/packet-hsr-prp-supervision.c +++ b/epan/dissectors/packet-hsr-prp-supervision.c @@ -36,14 +36,14 @@ void proto_reg_handoff_hsr_prp_supervision(void); /**********************************************************/ static const value_string type_vals[] = { - {20, "PRP Node (Duplicate Discard)"}, - {21, "PRP Node (Duplicate Accept)"}, - {22, "Obsolete TLV value"}, - {23, "HSR Node"}, - {30, "Redundancy Box MAC Address"}, - {31, "Virtual Dual Attached Node"}, - {0, "End of TLVs"}, - {0, NULL} + {20, "PRP Node (Duplicate Discard)"}, + {21, "PRP Node (Duplicate Accept)"}, + {22, "Obsolete TLV value"}, + {23, "HSR Node"}, + {30, "Redundancy Box MAC Address"}, + {31, "Virtual Dual Attached Node"}, + {0, "End of TLVs"}, + {0, NULL} }; /**********************************************************/ @@ -256,3 +256,16 @@ void proto_reg_handoff_hsr_prp_supervision(void) hsr_prp_supervision_handle = create_dissector_handle(dissect_hsr_prp_supervision, proto_hsr_prp_supervision); dissector_add_uint("ethertype", ETHERTYPE_PRP, hsr_prp_supervision_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: + */ diff --git a/epan/dissectors/packet-ieee80211-netmon.c b/epan/dissectors/packet-ieee80211-netmon.c index 5173f136f8..2e3b5dbb07 100644 --- a/epan/dissectors/packet-ieee80211-netmon.c +++ b/epan/dissectors/packet-ieee80211-netmon.c @@ -243,3 +243,16 @@ proto_reg_handoff_netmon_802_11(void) proto_netmon_802_11); dissector_add_uint("wtap_encap", WTAP_ENCAP_IEEE_802_11_NETMON, netmon_802_11_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: + */ diff --git a/epan/dissectors/packet-ipoib.c b/epan/dissectors/packet-ipoib.c index c4797634d8..5f9c5fdcf6 100644 --- a/epan/dissectors/packet-ipoib.c +++ b/epan/dissectors/packet-ipoib.c @@ -121,3 +121,16 @@ proto_reg_handoff_ipoib(void) ipoib_handle = create_dissector_handle(dissect_ipoib, proto_ipoib); dissector_add_uint("wtap_encap", WTAP_ENCAP_IP_OVER_IB, ipoib_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: + */ diff --git a/epan/dissectors/packet-ixveriwave.c b/epan/dissectors/packet-ixveriwave.c index 8ff1fe4915..b393f5734e 100644 --- a/epan/dissectors/packet-ixveriwave.c +++ b/epan/dissectors/packet-ixveriwave.c @@ -1460,3 +1460,15 @@ void proto_reg_handoff_ixveriwave(void) dissector_add_uint("wtap_encap", WTAP_ENCAP_IXVERIWAVE, ixveriwave_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: + */ diff --git a/epan/dissectors/packet-lwapp.c b/epan/dissectors/packet-lwapp.c index 5ff54d1355..e01542f9f3 100644 --- a/epan/dissectors/packet-lwapp.c +++ b/epan/dissectors/packet-lwapp.c @@ -124,8 +124,7 @@ typedef enum { } control_tags; #endif -typedef enum - { +typedef enum { DISCOVERY_REQUEST = 1, DISCOVERY_REPLY, JOIN_REQUEST, @@ -162,7 +161,7 @@ typedef enum DATA_TRANSFER, DATA_TRANSFER_RES, RESET_REQ_CLEAR_CONFIG - } CNTLMsgType; +} CNTLMsgType; static const value_string control_msg_vals[] = { {DISCOVERY_REQUEST , "DISCOVERY_REQUEST"}, @@ -590,3 +589,16 @@ proto_reg_handoff_lwapp(void) dissector_add_uint("ethertype", 0xbbbb, lwapp_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: + */ diff --git a/epan/dissectors/packet-mac-lte-framed.c b/epan/dissectors/packet-mac-lte-framed.c index c3cf7a94fe..5d17be1276 100644 --- a/epan/dissectors/packet-mac-lte-framed.c +++ b/epan/dissectors/packet-mac-lte-framed.c @@ -98,3 +98,15 @@ void proto_register_mac_lte_framed(void) register_dissector("mac-lte-framed", dissect_mac_lte_framed, proto_mac_lte_framed); } +/* + * 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: + */ diff --git a/epan/dissectors/packet-mesh.c b/epan/dissectors/packet-mesh.c index 9c43d7378b..9c2da18b9b 100644 --- a/epan/dissectors/packet-mesh.c +++ b/epan/dissectors/packet-mesh.c @@ -102,3 +102,16 @@ proto_register_mesh(void) new_register_dissector("mesh", dissect_mesh, proto_mesh); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-mim.c b/epan/dissectors/packet-mim.c index 3aff757720..86643e02f2 100644 --- a/epan/dissectors/packet-mim.c +++ b/epan/dissectors/packet-mim.c @@ -396,3 +396,16 @@ proto_reg_handoff_fabricpath(void) proto_set_decoding(proto_fp, mim_enable_dissector); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-mplstp-oam.c b/epan/dissectors/packet-mplstp-oam.c index 0627b405a5..3174c19be1 100644 --- a/epan/dissectors/packet-mplstp-oam.c +++ b/epan/dissectors/packet-mplstp-oam.c @@ -221,114 +221,127 @@ dissect_mplstp_fm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) void proto_register_mplstp_lock(void) { - static hf_register_info hf[] = { + static hf_register_info hf[] = { - {&hf_mplstp_lock_version, - {"Version", "mplstp_lock.version", FT_UINT8, - BASE_HEX, NULL, 0x0, NULL, HFILL }}, + {&hf_mplstp_lock_version, + {"Version", "mplstp_lock.version", FT_UINT8, + BASE_HEX, NULL, 0x0, NULL, HFILL }}, - {&hf_mplstp_lock_reserved, - {"Reserved", "mplstp_lock.reserved", FT_UINT24, - BASE_HEX, NULL, 0x0, NULL, HFILL }}, + {&hf_mplstp_lock_reserved, + {"Reserved", "mplstp_lock.reserved", FT_UINT24, + BASE_HEX, NULL, 0x0, NULL, HFILL }}, - {&hf_mplstp_lock_refresh_timer, - {"Refresh-timer value", "mplstp_lock.refresh-timer", FT_UINT8, - BASE_DEC, NULL, 0x0, NULL, HFILL }}, - }; + {&hf_mplstp_lock_refresh_timer, + {"Refresh-timer value", "mplstp_lock.refresh-timer", FT_UINT8, + BASE_DEC, NULL, 0x0, NULL, HFILL }}, + }; - static gint *ett[] = { - &ett_mplstp_lock, - }; + static gint *ett[] = { + &ett_mplstp_lock, + }; - proto_mplstp_lock = - proto_register_protocol("MPLS-TP Lock-Instruct", "MPLS[-TP] Lock-Instruct " - "Lock-Instruct (LI) Protocol", - "mplstp_lock"); + proto_mplstp_lock = + proto_register_protocol("MPLS-TP Lock-Instruct", "MPLS[-TP] Lock-Instruct " + "Lock-Instruct (LI) Protocol", + "mplstp_lock"); - proto_register_field_array(proto_mplstp_lock, hf, array_length(hf)); - proto_register_subtree_array(ett, array_length(ett)); + proto_register_field_array(proto_mplstp_lock, hf, array_length(hf)); + proto_register_subtree_array(ett, array_length(ett)); - register_dissector("mplstp_lock", dissect_mplstp_lock, proto_mplstp_lock); + register_dissector("mplstp_lock", dissect_mplstp_lock, proto_mplstp_lock); } void proto_register_mplstp_fm(void) { - static hf_register_info hf[] = { - - {&hf_mplstp_fm_version, - {"Version", "mplstp_oam.version", FT_UINT8, - BASE_HEX, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_reserved, - {"Reserved", "mplstp_oam.reserved", FT_UINT8, - BASE_HEX, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_refresh_timer, - {"Refresh-timer value", "mplstp_oam.refresh.timer", FT_UINT8, - BASE_DEC, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_total_tlv_len, - {"FM TLV Length", "mplstp_oam.total.tlv.len", FT_UINT8, - BASE_DEC, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_if_tlv_type, - {"Type : IF-ID TLV", "mplstp_oam.if_id_tlv_type", FT_UINT8, - BASE_DEC, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_global_tlv_type, - {"Type : GLOBAL-ID TLV", "mplstp_oam.global_id_tlv_type", FT_UINT8, - BASE_DEC, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_tlv_len, - {"Length", "mplstp_oam.tlv_len", FT_UINT8, - BASE_DEC, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_node_id, - {"Node id", "mplstp_oam.node_id", FT_IPv4, - BASE_NONE, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_if_num, - {"Interface Number", "mplstp_oam.if_num", FT_UINT32, - BASE_DEC, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_global_id, - {"Global id", "mplstp_oam.global_id", FT_UINT32, - BASE_DEC, NULL, 0x0, NULL, HFILL }}, - - {&hf_mplstp_fm_msg_type, - {"Message Type", "mplstp_oam.message.type", FT_UINT8, - BASE_DEC, VALS(fm_msg_type), 0x0, "MPLS-TP FM Message Type", HFILL }}, - - { &hf_mplstp_fm_flags, - { "FM Flags", "mplstp_oam.flags", - FT_UINT8, BASE_HEX, NULL, 0x0000, "MPLS-TP FM Flags", HFILL} - }, - - { &hf_mplstp_fm_flags_l, - { "Link Down Indication", "mplstp_oam.flag_l", - FT_BOOLEAN, 8, NULL, 0x0002, NULL, HFILL} - }, - - { &hf_mplstp_fm_flags_r, - { "FM Condition Cleared", "mplstp_oam.flag_r", - FT_BOOLEAN, 8, NULL, 0x0001, "Fault Condition Cleared", HFILL} - }, - }; - - static gint *ett[] = { - &ett_mplstp_fm, - &ett_mplstp_fm_tlv_tree, - &ett_mplstp_fm_flags, - }; - - proto_mplstp_fm = - proto_register_protocol("MPLS-TP Fault-Management", "MPLS[-TP] Fault-Management " - "Fault-Management (FM) Protocol", - "mplstp_fm"); - - proto_register_field_array(proto_mplstp_fm, hf, array_length(hf)); - proto_register_subtree_array(ett, array_length(ett)); - - register_dissector("mplstp_fm", dissect_mplstp_fm, proto_mplstp_fm); + static hf_register_info hf[] = { + + {&hf_mplstp_fm_version, + {"Version", "mplstp_oam.version", FT_UINT8, + BASE_HEX, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_reserved, + {"Reserved", "mplstp_oam.reserved", FT_UINT8, + BASE_HEX, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_refresh_timer, + {"Refresh-timer value", "mplstp_oam.refresh.timer", FT_UINT8, + BASE_DEC, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_total_tlv_len, + {"FM TLV Length", "mplstp_oam.total.tlv.len", FT_UINT8, + BASE_DEC, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_if_tlv_type, + {"Type : IF-ID TLV", "mplstp_oam.if_id_tlv_type", FT_UINT8, + BASE_DEC, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_global_tlv_type, + {"Type : GLOBAL-ID TLV", "mplstp_oam.global_id_tlv_type", FT_UINT8, + BASE_DEC, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_tlv_len, + {"Length", "mplstp_oam.tlv_len", FT_UINT8, + BASE_DEC, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_node_id, + {"Node id", "mplstp_oam.node_id", FT_IPv4, + BASE_NONE, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_if_num, + {"Interface Number", "mplstp_oam.if_num", FT_UINT32, + BASE_DEC, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_global_id, + {"Global id", "mplstp_oam.global_id", FT_UINT32, + BASE_DEC, NULL, 0x0, NULL, HFILL }}, + + {&hf_mplstp_fm_msg_type, + {"Message Type", "mplstp_oam.message.type", FT_UINT8, + BASE_DEC, VALS(fm_msg_type), 0x0, "MPLS-TP FM Message Type", HFILL }}, + + { &hf_mplstp_fm_flags, + { "FM Flags", "mplstp_oam.flags", + FT_UINT8, BASE_HEX, NULL, 0x0000, "MPLS-TP FM Flags", HFILL} + }, + + { &hf_mplstp_fm_flags_l, + { "Link Down Indication", "mplstp_oam.flag_l", + FT_BOOLEAN, 8, NULL, 0x0002, NULL, HFILL} + }, + + { &hf_mplstp_fm_flags_r, + { "FM Condition Cleared", "mplstp_oam.flag_r", + FT_BOOLEAN, 8, NULL, 0x0001, "Fault Condition Cleared", HFILL} + }, + }; + + static gint *ett[] = { + &ett_mplstp_fm, + &ett_mplstp_fm_tlv_tree, + &ett_mplstp_fm_flags, + }; + + proto_mplstp_fm = + proto_register_protocol("MPLS-TP Fault-Management", "MPLS[-TP] Fault-Management " + "Fault-Management (FM) Protocol", + "mplstp_fm"); + + proto_register_field_array(proto_mplstp_fm, hf, array_length(hf)); + proto_register_subtree_array(ett, array_length(ett)); + + register_dissector("mplstp_fm", dissect_mplstp_fm, proto_mplstp_fm); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-ms-mms.c b/epan/dissectors/packet-ms-mms.c index 01b7b8453f..d5e94a57c5 100644 --- a/epan/dissectors/packet-ms-mms.c +++ b/epan/dissectors/packet-ms-mms.c @@ -1928,3 +1928,15 @@ void proto_reg_handoff_msmms_command(void) dissector_add_uint("udp.port", MSMMS_PORT, msmms_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: + */ diff --git a/epan/dissectors/packet-msrp.c b/epan/dissectors/packet-msrp.c index 179d15f53f..12e8d6d040 100644 --- a/epan/dissectors/packet-msrp.c +++ b/epan/dissectors/packet-msrp.c @@ -930,3 +930,15 @@ proto_reg_handoff_msrp(void) media_type_dissector_table = find_dissector_table("media_type"); } +/* + * 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: + */ diff --git a/epan/dissectors/packet-nasdaq-soup.c b/epan/dissectors/packet-nasdaq-soup.c index 53e75e8365..250114f04e 100644 --- a/epan/dissectors/packet-nasdaq-soup.c +++ b/epan/dissectors/packet-nasdaq-soup.c @@ -295,3 +295,15 @@ proto_reg_handoff_nasdaq_soup(void) dissector_add_for_decode_as("tcp.port", nasdaq_soup_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: + */ diff --git a/epan/dissectors/packet-netperfmeter.c b/epan/dissectors/packet-netperfmeter.c index 4550c6951b..698608600a 100644 --- a/epan/dissectors/packet-netperfmeter.c +++ b/epan/dissectors/packet-netperfmeter.c @@ -471,3 +471,16 @@ proto_reg_handoff_npmp(void) dissector_add_uint("sctp.ppi", NPMP_CTRL_PAYLOAD_PROTOCOL_ID, npmp_handle); dissector_add_uint("sctp.ppi", NPMP_DATA_PAYLOAD_PROTOCOL_ID, npmp_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: + */ diff --git a/epan/dissectors/packet-omron-fins.c b/epan/dissectors/packet-omron-fins.c index cb2dbf490b..ebef1405ac 100644 --- a/epan/dissectors/packet-omron-fins.c +++ b/epan/dissectors/packet-omron-fins.c @@ -3977,4 +3977,15 @@ proto_reg_handoff_omron_fins(void) dissector_add_uint("udp.port", OMRON_FINS_UDP_PORT, omron_fins_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: + */ diff --git a/epan/dissectors/packet-openwire.c b/epan/dissectors/packet-openwire.c index ec453e5fac..0ebef3bcf5 100644 --- a/epan/dissectors/packet-openwire.c +++ b/epan/dissectors/packet-openwire.c @@ -359,73 +359,73 @@ static gboolean openwire_verbose_type = FALSE; #define OPENWIRE_BROKER_ID 124 static const value_string openwire_opcode_vals[] = { - { OPENWIRE_WIREFORMAT_INFO, "WireFormatInfo" }, - { OPENWIRE_BROKER_INFO, "BrokerInfo" }, - { OPENWIRE_CONNECTION_INFO, "ConnectionInfo" }, - { OPENWIRE_SESSION_INFO, "SessionInfo" }, - { OPENWIRE_CONSUMER_INFO, "ConsumerInfo" }, - { OPENWIRE_PRODUCER_INFO, "ProducerInfo" }, - { OPENWIRE_TRANSACTION_INFO, "TransactionInfo" }, - { OPENWIRE_DESTINATION_INFO, "DestinationInfo" }, - { OPENWIRE_REMOVE_SUBSCRIPTION_INFO, "RemoveSubscriptionInfo" }, - { OPENWIRE_KEEP_ALIVE_INFO, "KeepAliveInfo" }, - { OPENWIRE_SHUTDOWN_INFO, "ShutdownInfo" }, - { OPENWIRE_REMOVE_INFO, "RemoveInfo" }, - { OPENWIRE_CONTROL_COMMAND, "ControlCommand" }, - { OPENWIRE_FLUSH_COMMAND, "FlushCommand" }, - { OPENWIRE_CONNECTION_ERROR, "ConnectionError" }, - { OPENWIRE_CONSUMER_CONTROL, "ConsumerControl" }, - { OPENWIRE_CONNECTION_CONTROL, "ConnectionControl" }, - { OPENWIRE_PRODUCER_ACK, "ProducerAck" }, - { OPENWIRE_MESSAGE_PULL, "MessagePull" }, - { OPENWIRE_MESSAGE_DISPATCH, "MessageDispatch" }, - { OPENWIRE_MESSAGE_ACK, "MessageAck" }, - { OPENWIRE_ACTIVEMQ_MESSAGE, "ActiveMQMessage" }, - { OPENWIRE_ACTIVEMQ_BYTES_MESSAGE, "ActiveMQBytesMessage" }, - { OPENWIRE_ACTIVEMQ_MAP_MESSAGE, "ActiveMQMapMessage" }, - { OPENWIRE_ACTIVEMQ_OBJECT_MESSAGE, "ActiveMQObjectMessage" }, - { OPENWIRE_ACTIVEMQ_STREAM_MESSAGE, "ActiveMQStreamMessage" }, - { OPENWIRE_ACTIVEMQ_TEXT_MESSAGE, "ActiveMQTextMessage" }, - { OPENWIRE_ACTIVEMQ_BLOB_MESSAGE, "ActiveMQBlobMessage" }, - { OPENWIRE_RESPONSE, "Response" }, - { OPENWIRE_EXCEPTION_RESPONSE, "ExceptionResponse" }, - { OPENWIRE_DATA_RESPONSE, "DataResponse" }, - { OPENWIRE_DATA_ARRAY_RESPONSE, "DataArrayResponse" }, - { OPENWIRE_INTEGER_RESPONSE, "IntegerResponse" }, - { OPENWIRE_DISCOVERY_EVENT, "DiscoveryEvent" }, - { OPENWIRE_JOURNAL_ACK, "JournalTopicAck" }, - { OPENWIRE_JOURNAL_REMOVE, "JournalQueueAck" }, - { OPENWIRE_JOURNAL_TRACE, "JournalTrace" }, - { OPENWIRE_JOURNAL_TRANSACTION, "JournalTransaction" }, - { OPENWIRE_DURABLE_SUBSCRIPTION_INFO, "SubscriptionInfo" }, - { OPENWIRE_PARTIAL_COMMAND, "PartialCommand" }, - { OPENWIRE_PARTIAL_LAST_COMMAND, "LastPartialCommand" }, - { OPENWIRE_REPLAY, "ReplayCommand" }, - { OPENWIRE_BYTE_TYPE, "Byte" }, - { OPENWIRE_CHAR_TYPE, "Char" }, - { OPENWIRE_SHORT_TYPE, "Short" }, - { OPENWIRE_INTEGER_TYPE, "Integer" }, - { OPENWIRE_LONG_TYPE, "Long" }, - { OPENWIRE_DOUBLE_TYPE, "Double" }, - { OPENWIRE_FLOAT_TYPE, "Float" }, - { OPENWIRE_STRING_TYPE, "String" }, - { OPENWIRE_BOOLEAN_TYPE, "Boolean" }, - { OPENWIRE_BYTE_ARRAY_TYPE, "ByteArray" }, - { OPENWIRE_MESSAGE_DISPATCH_NOTIFICATION, "MessageDispatchNotification" }, - { OPENWIRE_NETWORK_BRIDGE_FILTER, "NetworkBridgeFilter" }, - { OPENWIRE_ACTIVEMQ_QUEUE, "ActiveMQQueue" }, - { OPENWIRE_ACTIVEMQ_TOPIC, "ActiveMQTopic" }, - { OPENWIRE_ACTIVEMQ_TEMP_QUEUE, "ActiveMQTempQueue" }, - { OPENWIRE_ACTIVEMQ_TEMP_TOPIC, "ActiveMQTempTopic" }, - { OPENWIRE_MESSAGE_ID, "MessageId" }, - { OPENWIRE_ACTIVEMQ_LOCAL_TRANSACTION_ID, "LocalTransactionId" }, - { OPENWIRE_ACTIVEMQ_XA_TRANSACTION_ID, "XATransactionId" }, - { OPENWIRE_CONNECTION_ID, "ConnectionId" }, - { OPENWIRE_SESSION_ID, "SessionId" }, - { OPENWIRE_CONSUMER_ID, "ConsumerId" }, - { OPENWIRE_PRODUCER_ID, "ProducerId" }, - { OPENWIRE_BROKER_ID, "BrokerId" }, - { 0, NULL } + { OPENWIRE_WIREFORMAT_INFO, "WireFormatInfo" }, + { OPENWIRE_BROKER_INFO, "BrokerInfo" }, + { OPENWIRE_CONNECTION_INFO, "ConnectionInfo" }, + { OPENWIRE_SESSION_INFO, "SessionInfo" }, + { OPENWIRE_CONSUMER_INFO, "ConsumerInfo" }, + { OPENWIRE_PRODUCER_INFO, "ProducerInfo" }, + { OPENWIRE_TRANSACTION_INFO, "TransactionInfo" }, + { OPENWIRE_DESTINATION_INFO, "DestinationInfo" }, + { OPENWIRE_REMOVE_SUBSCRIPTION_INFO, "RemoveSubscriptionInfo" }, + { OPENWIRE_KEEP_ALIVE_INFO, "KeepAliveInfo" }, + { OPENWIRE_SHUTDOWN_INFO, "ShutdownInfo" }, + { OPENWIRE_REMOVE_INFO, "RemoveInfo" }, + { OPENWIRE_CONTROL_COMMAND, "ControlCommand" }, + { OPENWIRE_FLUSH_COMMAND, "FlushCommand" }, + { OPENWIRE_CONNECTION_ERROR, "ConnectionError" }, + { OPENWIRE_CONSUMER_CONTROL, "ConsumerControl" }, + { OPENWIRE_CONNECTION_CONTROL, "ConnectionControl" }, + { OPENWIRE_PRODUCER_ACK, "ProducerAck" }, + { OPENWIRE_MESSAGE_PULL, "MessagePull" }, + { OPENWIRE_MESSAGE_DISPATCH, "MessageDispatch" }, + { OPENWIRE_MESSAGE_ACK, "MessageAck" }, + { OPENWIRE_ACTIVEMQ_MESSAGE, "ActiveMQMessage" }, + { OPENWIRE_ACTIVEMQ_BYTES_MESSAGE, "ActiveMQBytesMessage" }, + { OPENWIRE_ACTIVEMQ_MAP_MESSAGE, "ActiveMQMapMessage" }, + { OPENWIRE_ACTIVEMQ_OBJECT_MESSAGE, "ActiveMQObjectMessage" }, + { OPENWIRE_ACTIVEMQ_STREAM_MESSAGE, "ActiveMQStreamMessage" }, + { OPENWIRE_ACTIVEMQ_TEXT_MESSAGE, "ActiveMQTextMessage" }, + { OPENWIRE_ACTIVEMQ_BLOB_MESSAGE, "ActiveMQBlobMessage" }, + { OPENWIRE_RESPONSE, "Response" }, + { OPENWIRE_EXCEPTION_RESPONSE, "ExceptionResponse" }, + { OPENWIRE_DATA_RESPONSE, "DataResponse" }, + { OPENWIRE_DATA_ARRAY_RESPONSE, "DataArrayResponse" }, + { OPENWIRE_INTEGER_RESPONSE, "IntegerResponse" }, + { OPENWIRE_DISCOVERY_EVENT, "DiscoveryEvent" }, + { OPENWIRE_JOURNAL_ACK, "JournalTopicAck" }, + { OPENWIRE_JOURNAL_REMOVE, "JournalQueueAck" }, + { OPENWIRE_JOURNAL_TRACE, "JournalTrace" }, + { OPENWIRE_JOURNAL_TRANSACTION, "JournalTransaction" }, + { OPENWIRE_DURABLE_SUBSCRIPTION_INFO, "SubscriptionInfo" }, + { OPENWIRE_PARTIAL_COMMAND, "PartialCommand" }, + { OPENWIRE_PARTIAL_LAST_COMMAND, "LastPartialCommand" }, + { OPENWIRE_REPLAY, "ReplayCommand" }, + { OPENWIRE_BYTE_TYPE, "Byte" }, + { OPENWIRE_CHAR_TYPE, "Char" }, + { OPENWIRE_SHORT_TYPE, "Short" }, + { OPENWIRE_INTEGER_TYPE, "Integer" }, + { OPENWIRE_LONG_TYPE, "Long" }, + { OPENWIRE_DOUBLE_TYPE, "Double" }, + { OPENWIRE_FLOAT_TYPE, "Float" }, + { OPENWIRE_STRING_TYPE, "String" }, + { OPENWIRE_BOOLEAN_TYPE, "Boolean" }, + { OPENWIRE_BYTE_ARRAY_TYPE, "ByteArray" }, + { OPENWIRE_MESSAGE_DISPATCH_NOTIFICATION, "MessageDispatchNotification" }, + { OPENWIRE_NETWORK_BRIDGE_FILTER, "NetworkBridgeFilter" }, + { OPENWIRE_ACTIVEMQ_QUEUE, "ActiveMQQueue" }, + { OPENWIRE_ACTIVEMQ_TOPIC, "ActiveMQTopic" }, + { OPENWIRE_ACTIVEMQ_TEMP_QUEUE, "ActiveMQTempQueue" }, + { OPENWIRE_ACTIVEMQ_TEMP_TOPIC, "ActiveMQTempTopic" }, + { OPENWIRE_MESSAGE_ID, "MessageId" }, + { OPENWIRE_ACTIVEMQ_LOCAL_TRANSACTION_ID, "LocalTransactionId" }, + { OPENWIRE_ACTIVEMQ_XA_TRANSACTION_ID, "XATransactionId" }, + { OPENWIRE_CONNECTION_ID, "ConnectionId" }, + { OPENWIRE_SESSION_ID, "SessionId" }, + { OPENWIRE_CONSUMER_ID, "ConsumerId" }, + { OPENWIRE_PRODUCER_ID, "ProducerId" }, + { OPENWIRE_BROKER_ID, "BrokerId" }, + { 0, NULL } }; static value_string_ext openwire_opcode_vals_ext = VALUE_STRING_EXT_INIT(openwire_opcode_vals); @@ -451,42 +451,42 @@ static value_string_ext openwire_opcode_vals_ext = VALUE_STRING_EXT_INIT(openwir #define OPENWIRE_TYPE_BIG_STRING 13 static const value_string openwire_type_vals[] = { - { OPENWIRE_TYPE_NULL, "Null" }, - { OPENWIRE_TYPE_BOOLEAN, "Boolean" }, - { OPENWIRE_TYPE_BYTE, "Byte" }, - { OPENWIRE_TYPE_CHAR, "Char" }, - { OPENWIRE_TYPE_SHORT, "Short" }, - { OPENWIRE_TYPE_INTEGER, "Integer" }, - { OPENWIRE_TYPE_LONG, "Long" }, - { OPENWIRE_TYPE_DOUBLE, "Double" }, - { OPENWIRE_TYPE_FLOAT, "Float" }, - { OPENWIRE_TYPE_STRING, "String" }, - { OPENWIRE_TYPE_BYTE_ARRAY, "ByteArray" }, - { OPENWIRE_TYPE_MAP, "Map" }, - { OPENWIRE_TYPE_LIST, "List" }, - { OPENWIRE_TYPE_BIG_STRING, "BigString" }, - { OPENWIRE_ACTIVEMQ_MESSAGE, "ActiveMQMessage" }, - { OPENWIRE_ACTIVEMQ_BYTES_MESSAGE, "ActiveMQBytesMessage" }, - { OPENWIRE_ACTIVEMQ_MAP_MESSAGE, "ActiveMQMapMessage" }, - { OPENWIRE_ACTIVEMQ_OBJECT_MESSAGE, "ActiveMQObjectMessage" }, - { OPENWIRE_ACTIVEMQ_STREAM_MESSAGE, "ActiveMQStreamMessage" }, - { OPENWIRE_ACTIVEMQ_TEXT_MESSAGE, "ActiveMQTextMessage" }, - { OPENWIRE_ACTIVEMQ_BLOB_MESSAGE, "ActiveMQBlobMessage" }, - { OPENWIRE_ACTIVEMQ_QUEUE, "ActiveMQQueue" }, - { OPENWIRE_ACTIVEMQ_TOPIC, "ActiveMQTopic" }, - { OPENWIRE_ACTIVEMQ_TEMP_QUEUE, "ActiveMQTempQueue" }, - { OPENWIRE_ACTIVEMQ_TEMP_TOPIC, "ActiveMQTempTopic" }, - { OPENWIRE_MESSAGE_ID, "MessageId" }, - { OPENWIRE_ACTIVEMQ_LOCAL_TRANSACTION_ID, "LocalTransactionId" }, - { OPENWIRE_ACTIVEMQ_XA_TRANSACTION_ID, "XATransactionId" }, - { OPENWIRE_CONNECTION_ID, "ConnectionId" }, - { OPENWIRE_SESSION_ID, "SessionId" }, - { OPENWIRE_CONSUMER_ID, "ConsumerId" }, - { OPENWIRE_PRODUCER_ID, "ProducerId" }, - { OPENWIRE_BROKER_ID, "BrokerId" }, - { OPENWIRE_TYPE_OBJECT_ARRAY, "ObjectArray" }, - { OPENWIRE_TYPE_THROWABLE, "Throwable" }, - { 0, NULL } + { OPENWIRE_TYPE_NULL, "Null" }, + { OPENWIRE_TYPE_BOOLEAN, "Boolean" }, + { OPENWIRE_TYPE_BYTE, "Byte" }, + { OPENWIRE_TYPE_CHAR, "Char" }, + { OPENWIRE_TYPE_SHORT, "Short" }, + { OPENWIRE_TYPE_INTEGER, "Integer" }, + { OPENWIRE_TYPE_LONG, "Long" }, + { OPENWIRE_TYPE_DOUBLE, "Double" }, + { OPENWIRE_TYPE_FLOAT, "Float" }, + { OPENWIRE_TYPE_STRING, "String" }, + { OPENWIRE_TYPE_BYTE_ARRAY, "ByteArray" }, + { OPENWIRE_TYPE_MAP, "Map" }, + { OPENWIRE_TYPE_LIST, "List" }, + { OPENWIRE_TYPE_BIG_STRING, "BigString" }, + { OPENWIRE_ACTIVEMQ_MESSAGE, "ActiveMQMessage" }, + { OPENWIRE_ACTIVEMQ_BYTES_MESSAGE, "ActiveMQBytesMessage" }, + { OPENWIRE_ACTIVEMQ_MAP_MESSAGE, "ActiveMQMapMessage" }, + { OPENWIRE_ACTIVEMQ_OBJECT_MESSAGE, "ActiveMQObjectMessage" }, + { OPENWIRE_ACTIVEMQ_STREAM_MESSAGE, "ActiveMQStreamMessage" }, + { OPENWIRE_ACTIVEMQ_TEXT_MESSAGE, "ActiveMQTextMessage" }, + { OPENWIRE_ACTIVEMQ_BLOB_MESSAGE, "ActiveMQBlobMessage" }, + { OPENWIRE_ACTIVEMQ_QUEUE, "ActiveMQQueue" }, + { OPENWIRE_ACTIVEMQ_TOPIC, "ActiveMQTopic" }, + { OPENWIRE_ACTIVEMQ_TEMP_QUEUE, "ActiveMQTempQueue" }, + { OPENWIRE_ACTIVEMQ_TEMP_TOPIC, "ActiveMQTempTopic" }, + { OPENWIRE_MESSAGE_ID, "MessageId" }, + { OPENWIRE_ACTIVEMQ_LOCAL_TRANSACTION_ID, "LocalTransactionId" }, + { OPENWIRE_ACTIVEMQ_XA_TRANSACTION_ID, "XATransactionId" }, + { OPENWIRE_CONNECTION_ID, "ConnectionId" }, + { OPENWIRE_SESSION_ID, "SessionId" }, + { OPENWIRE_CONSUMER_ID, "ConsumerId" }, + { OPENWIRE_PRODUCER_ID, "ProducerId" }, + { OPENWIRE_BROKER_ID, "BrokerId" }, + { OPENWIRE_TYPE_OBJECT_ARRAY, "ObjectArray" }, + { OPENWIRE_TYPE_THROWABLE, "Throwable" }, + { 0, NULL } }; static value_string_ext openwire_type_vals_ext = VALUE_STRING_EXT_INIT(openwire_type_vals); @@ -501,15 +501,15 @@ static value_string_ext openwire_type_vals_ext = VALUE_STRING_EXT_INIT(openwire_ #define OPENWIRE_TRANSACTIONTYPE_END 7 static const value_string openwire_transaction_type_vals[] = { - { OPENWIRE_TRANSACTIONTYPE_BEGIN, "Begin" }, - { OPENWIRE_TRANSACTIONTYPE_PREPARE, "Prepare" }, - { OPENWIRE_TRANSACTIONTYPE_COMMIT_ONE_PHASE, "CommitOnePhase" }, - { OPENWIRE_TRANSACTIONTYPE_COMMIT_TWO_PHASE, "CommitTwoPhase" }, - { OPENWIRE_TRANSACTIONTYPE_ROLLBACK, "Rollback" }, - { OPENWIRE_TRANSACTIONTYPE_RECOVER, "Recover" }, - { OPENWIRE_TRANSACTIONTYPE_FORGET, "Forget" }, - { OPENWIRE_TRANSACTIONTYPE_END, "End" }, - { 0, NULL } + { OPENWIRE_TRANSACTIONTYPE_BEGIN, "Begin" }, + { OPENWIRE_TRANSACTIONTYPE_PREPARE, "Prepare" }, + { OPENWIRE_TRANSACTIONTYPE_COMMIT_ONE_PHASE, "CommitOnePhase" }, + { OPENWIRE_TRANSACTIONTYPE_COMMIT_TWO_PHASE, "CommitTwoPhase" }, + { OPENWIRE_TRANSACTIONTYPE_ROLLBACK, "Rollback" }, + { OPENWIRE_TRANSACTIONTYPE_RECOVER, "Recover" }, + { OPENWIRE_TRANSACTIONTYPE_FORGET, "Forget" }, + { OPENWIRE_TRANSACTIONTYPE_END, "End" }, + { 0, NULL } }; static value_string_ext openwire_transaction_type_vals_ext = VALUE_STRING_EXT_INIT(openwire_transaction_type_vals); @@ -522,27 +522,27 @@ static value_string_ext openwire_transaction_type_vals_ext = VALUE_STRING_EXT_IN #define OPENWIRE_MESSAGE_ACK_TYPE_UNMATCHED 5 static const value_string openwire_message_ack_type_vals[] = { - { OPENWIRE_MESSAGE_ACK_TYPE_DELIVERED, "Delivered" }, - { OPENWIRE_MESSAGE_ACK_TYPE_POISON, "Poison" }, - { OPENWIRE_MESSAGE_ACK_TYPE_STANDARD, "Standard" }, - { OPENWIRE_MESSAGE_ACK_TYPE_REDELIVERED, "Redelivered" }, - { OPENWIRE_MESSAGE_ACK_TYPE_INDIVIDUAL, "Individual" }, - { OPENWIRE_MESSAGE_ACK_TYPE_UNMATCHED, "Unmatched" }, - { 0, NULL } + { OPENWIRE_MESSAGE_ACK_TYPE_DELIVERED, "Delivered" }, + { OPENWIRE_MESSAGE_ACK_TYPE_POISON, "Poison" }, + { OPENWIRE_MESSAGE_ACK_TYPE_STANDARD, "Standard" }, + { OPENWIRE_MESSAGE_ACK_TYPE_REDELIVERED, "Redelivered" }, + { OPENWIRE_MESSAGE_ACK_TYPE_INDIVIDUAL, "Individual" }, + { OPENWIRE_MESSAGE_ACK_TYPE_UNMATCHED, "Unmatched" }, + { 0, NULL } }; #define OPENWIRE_OPERATION_TYPE_ADD 0 #define OPENWIRE_OPERATION_TYPE_REMOVE 1 static const value_string openwire_operation_type_vals[] = { - { OPENWIRE_OPERATION_TYPE_ADD, "Add" }, - { OPENWIRE_OPERATION_TYPE_REMOVE, "Remove" }, - { 0, NULL } + { OPENWIRE_OPERATION_TYPE_ADD, "Add" }, + { OPENWIRE_OPERATION_TYPE_REMOVE, "Remove" }, + { 0, NULL } }; typedef struct openwire_conv_data { - gboolean caching; - gboolean tight; + gboolean caching; + gboolean tight; } openwire_conv_data; static void @@ -2022,3 +2022,16 @@ proto_reg_handoff_openwire(void) openwire_tcp_handle = new_create_dissector_handle(dissect_openwire_tcp, proto_openwire); dissector_add_for_decode_as("tcp.port", openwire_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: + */ diff --git a/epan/dissectors/packet-packetbb.c b/epan/dissectors/packet-packetbb.c index 8ddc6e1d62..6684f8a345 100644 --- a/epan/dissectors/packet-packetbb.c +++ b/epan/dissectors/packet-packetbb.c @@ -1088,3 +1088,16 @@ void proto_register_packetbb(void) { "UDP port for packetbb", "UDP communication port for packetbb PDUs", 10, &global_packetbb_port); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-pdcp-lte.h b/epan/dissectors/packet-pdcp-lte.h index 74c6d31614..ff2ff56695 100644 --- a/epan/dissectors/packet-pdcp-lte.h +++ b/epan/dissectors/packet-pdcp-lte.h @@ -29,8 +29,8 @@ enum pdcp_plane { - SIGNALING_PLANE = 1, - USER_PLANE = 2 + SIGNALING_PLANE = 1, + USER_PLANE = 2 }; typedef enum LogicalChannelType @@ -188,3 +188,16 @@ void set_pdcp_lte_security_algorithms_failed(guint16 ueid); void set_pdcp_lte_rrc_ciphering_key(guint16 ueid, const char *key); void set_pdcp_lte_rrc_integrity_key(guint16 ueid, const char *key); void set_pdcp_lte_up_ciphering_key(guint16 ueid, const char *key); + +/* + * 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: + */ diff --git a/epan/dissectors/packet-pingpongprotocol.c b/epan/dissectors/packet-pingpongprotocol.c index 537ff47245..16ca28ed49 100644 --- a/epan/dissectors/packet-pingpongprotocol.c +++ b/epan/dissectors/packet-pingpongprotocol.c @@ -197,3 +197,16 @@ proto_reg_handoff_pingpongprotocol(void) dissector_add_uint("sctp.ppi", PINGPONGPROTOCOL_PAYLOAD_PROTOCOL_ID_LEGACY, pingpongprotocol_handle); dissector_add_uint("sctp.ppi", PPP_PAYLOAD_PROTOCOL_ID, pingpongprotocol_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: + */ diff --git a/epan/dissectors/packet-pop.c b/epan/dissectors/packet-pop.c index c111b05ba0..a131becca7 100644 --- a/epan/dissectors/packet-pop.c +++ b/epan/dissectors/packet-pop.c @@ -494,3 +494,16 @@ proto_reg_handoff_pop(void) /* find the SSL dissector */ ssl_handle = find_dissector("ssl"); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-rdt.c b/epan/dissectors/packet-rdt.c index c5e0a298c9..09460c0233 100644 --- a/epan/dissectors/packet-rdt.c +++ b/epan/dissectors/packet-rdt.c @@ -2218,3 +2218,15 @@ void proto_reg_handoff_rdt(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: + */ diff --git a/epan/dissectors/packet-retix-bpdu.c b/epan/dissectors/packet-retix-bpdu.c index 0c75d2b79d..092985abb7 100644 --- a/epan/dissectors/packet-retix-bpdu.c +++ b/epan/dissectors/packet-retix-bpdu.c @@ -115,3 +115,16 @@ proto_register_retix_bpdu(void) proto_register_subtree_array(ett, array_length(ett)); register_dissector("rbpdu", dissect_retix_bpdu, proto_retix_bpdu); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-rtnet.c b/epan/dissectors/packet-rtnet.c index 2f6fe6f986..fc58d682e2 100644 --- a/epan/dissectors/packet-rtnet.c +++ b/epan/dissectors/packet-rtnet.c @@ -1339,3 +1339,16 @@ proto_reg_handoff_rtcfg(void) { rtcfg_handle = create_dissector_handle(dissect_rtcfg, proto_rtcfg); dissector_add_uint("ethertype", ETHERTYPE_RTCFG, rtcfg_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: + */ diff --git a/epan/dissectors/packet-scop.c b/epan/dissectors/packet-scop.c index be254cdf49..c84ac97fef 100644 --- a/epan/dissectors/packet-scop.c +++ b/epan/dissectors/packet-scop.c @@ -422,3 +422,15 @@ void proto_reg_handoff_scop(void) lastPort_secured = gPREF_scop_port_secured; } /* proto_reg_handoff_scop */ +/* + * 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: + */ diff --git a/epan/dissectors/packet-scriptingservice.c b/epan/dissectors/packet-scriptingservice.c index c630ce5565..1c24602e1d 100644 --- a/epan/dissectors/packet-scriptingservice.c +++ b/epan/dissectors/packet-scriptingservice.c @@ -227,3 +227,16 @@ proto_reg_handoff_ssprotocol(void) dissector_add_uint("sctp.ppi", SSPROTOCOL_PAYLOAD_PROTOCOL_ID_LEGACY, ssprotocol_handle); dissector_add_uint("sctp.ppi", SSP_PAYLOAD_PROTOCOL_ID, ssprotocol_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: + */ diff --git a/epan/dissectors/packet-sctp.h b/epan/dissectors/packet-sctp.h index c938b81ff2..0bd5ede862 100644 --- a/epan/dissectors/packet-sctp.h +++ b/epan/dissectors/packet-sctp.h @@ -77,5 +77,17 @@ typedef struct _sctp_frag_msg { struct _sctp_frag_msg* next; } sctp_frag_msg; +/* + * 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: + */ #endif diff --git a/epan/dissectors/packet-sdh.c b/epan/dissectors/packet-sdh.c index a6bdd17612..031a68aadf 100644 --- a/epan/dissectors/packet-sdh.c +++ b/epan/dissectors/packet-sdh.c @@ -290,3 +290,15 @@ proto_reg_handoff_sdh(void) dissector_add_uint("wtap_encap", WTAP_ENCAP_SDH, sdh_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: + */ diff --git a/epan/dissectors/packet-sipfrag.c b/epan/dissectors/packet-sipfrag.c index d4b28f9253..43a70aa786 100644 --- a/epan/dissectors/packet-sipfrag.c +++ b/epan/dissectors/packet-sipfrag.c @@ -124,4 +124,15 @@ void proto_reg_handoff_sipfrag(void) dissector_add_string("media_type", "message/sipfrag", sipfrag_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: + */ diff --git a/epan/dissectors/packet-slsk.c b/epan/dissectors/packet-slsk.c index 0f37fb1fec..5c137b7ec3 100644 --- a/epan/dissectors/packet-slsk.c +++ b/epan/dissectors/packet-slsk.c @@ -2637,3 +2637,15 @@ proto_reg_handoff_slsk(void) dissector_add_uint("tcp.port", TCP_PORT_SLSK_3, slsk_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: + */ diff --git a/epan/dissectors/packet-sprt.c b/epan/dissectors/packet-sprt.c index b887b5cb32..22d6f8d600 100644 --- a/epan/dissectors/packet-sprt.c +++ b/epan/dissectors/packet-sprt.c @@ -62,9 +62,9 @@ typedef enum { } i_octet_dlci_status_t; - /* Keep conversation info for one side of an SPRT conversation - * TODO - this needs to be bidirectional - */ +/* Keep conversation info for one side of an SPRT conversation + * TODO - this needs to be bidirectional + */ struct _sprt_conversation_info { gchar method[SPRT_CONV_MAX_SETUP_METHOD_SIZE + 1]; @@ -3437,3 +3437,16 @@ proto_reg_handoff_sprt(void) heur_dissector_add( "udp", dissect_sprt_heur, proto_sprt); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-starteam.c b/epan/dissectors/packet-starteam.c index fdd133ad74..0de2f87e9c 100644 --- a/epan/dissectors/packet-starteam.c +++ b/epan/dissectors/packet-starteam.c @@ -711,3 +711,16 @@ proto_reg_handoff_starteam(void) heur_dissector_add("tcp", dissect_starteam_heur, proto_starteam); starteam_tcp_handle = new_create_dissector_handle(dissect_starteam_tcp, proto_starteam); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-sua.c b/epan/dissectors/packet-sua.c index ca4e3fed9e..7e8fd50ed7 100644 --- a/epan/dissectors/packet-sua.c +++ b/epan/dissectors/packet-sua.c @@ -2489,3 +2489,16 @@ proto_reg_handoff_sua(void) sccp_ssn_dissector_table = find_dissector_table("sccp.ssn"); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-tte-pcf.c b/epan/dissectors/packet-tte-pcf.c index 23768529f8..4238f006b4 100644 --- a/epan/dissectors/packet-tte-pcf.c +++ b/epan/dissectors/packet-tte-pcf.c @@ -221,3 +221,15 @@ proto_reg_handoff_tte_pcf(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: + */ diff --git a/epan/dissectors/packet-uaudp.c b/epan/dissectors/packet-uaudp.c index d7fdf5b022..67f6931ac8 100644 --- a/epan/dissectors/packet-uaudp.c +++ b/epan/dissectors/packet-uaudp.c @@ -690,3 +690,15 @@ void proto_reg_handoff_uaudp(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: + */ diff --git a/epan/dissectors/packet-v150fw.c b/epan/dissectors/packet-v150fw.c index 3c8148cdc2..ebd4298259 100644 --- a/epan/dissectors/packet-v150fw.c +++ b/epan/dissectors/packet-v150fw.c @@ -802,3 +802,15 @@ proto_register_v150fw(void) new_register_dissector("v150fw", dissect_v150fw, proto_v150fw); } +/* + * 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: + */ diff --git a/epan/dissectors/packet-vcdu.c b/epan/dissectors/packet-vcdu.c index 03b7b00d54..dbb7c50f7c 100644 --- a/epan/dissectors/packet-vcdu.c +++ b/epan/dissectors/packet-vcdu.c @@ -642,3 +642,15 @@ proto_reg_handoff_vcdu(void) ccsds_handle = find_dissector("ccsds"); } +/* + * 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: + */ diff --git a/epan/dissectors/packet-vlan.c b/epan/dissectors/packet-vlan.c index 4479ce67cb..223f1515d2 100644 --- a/epan/dissectors/packet-vlan.c +++ b/epan/dissectors/packet-vlan.c @@ -270,3 +270,16 @@ proto_reg_handoff_vlan(void) dissector_add_uint("ethertype", q_in_q_ethertype, vlan_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: + */ diff --git a/epan/dissectors/packet-vssmonitoring.c b/epan/dissectors/packet-vssmonitoring.c index de3bda658e..46f65da795 100644 --- a/epan/dissectors/packet-vssmonitoring.c +++ b/epan/dissectors/packet-vssmonitoring.c @@ -242,3 +242,16 @@ proto_reg_handoff_vssmonitoring(void) { heur_dissector_add("eth.trailer", dissect_vssmonitoring, proto_vssmonitoring); } + +/* + * 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: + */ diff --git a/epan/dissectors/packet-wfleet-hdlc.c b/epan/dissectors/packet-wfleet-hdlc.c index 27de620bdb..6f1865d8a2 100644 --- a/epan/dissectors/packet-wfleet-hdlc.c +++ b/epan/dissectors/packet-wfleet-hdlc.c @@ -120,3 +120,16 @@ proto_reg_handoff_wfleet_hdlc(void) eth_withoutfcs_handle = find_dissector("eth_withoutfcs"); } + +/* + * 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: + */ |