aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipnet.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-09-30 19:12:26 -0400
committerBill Meier <wmeier@newsguy.com>2014-09-30 23:17:01 +0000
commit01b093c24d53c8304b4e36741a0df00125105795 (patch)
tree172df29bcfb12a6af1c8b5a04516a6374f8c9d97 /epan/dissectors/packet-ipnet.c
parent0cc027cc267952e51e7b17e8e3cef51592f9e013 (diff)
Add editor modelines; Adjust whitespace as needed.
Change-Id: I434da226c842298f4fb2a4335d06d51e164af2af Reviewed-on: https://code.wireshark.org/review/4394 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-ipnet.c')
-rw-r--r--epan/dissectors/packet-ipnet.c29
1 files changed, 21 insertions, 8 deletions
diff --git a/epan/dissectors/packet-ipnet.c b/epan/dissectors/packet-ipnet.c
index 3c8513ac58..dc992d7e1b 100644
--- a/epan/dissectors/packet-ipnet.c
+++ b/epan/dissectors/packet-ipnet.c
@@ -108,28 +108,28 @@ void
proto_register_ipnet(void)
{
static hf_register_info hf[] = {
- { &hf_version, { "Header version", "ipnet.version",
+ { &hf_version, { "Header version", "ipnet.version",
FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
- { &hf_family, { "Address family", "ipnet.family",
+ { &hf_family, { "Address family", "ipnet.family",
FT_UINT8, BASE_DEC, VALS(solaris_family_vals), 0x0, NULL, HFILL }},
- { &hf_htype, { "Hook type", "ipnet.htype",
+ { &hf_htype, { "Hook type", "ipnet.htype",
FT_UINT16, BASE_DEC, VALS(htype_vals), 0x0, NULL, HFILL }},
- { &hf_pktlen, { "Data length", "ipnet.pktlen",
+ { &hf_pktlen, { "Data length", "ipnet.pktlen",
FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }},
- { &hf_ifindex, { "Interface index", "ipnet.ifindex",
+ { &hf_ifindex, { "Interface index", "ipnet.ifindex",
FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }},
- { &hf_grifindex, { "Group interface index", "ipnet.grifindex",
+ { &hf_grifindex, { "Group interface index", "ipnet.grifindex",
FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }},
- { &hf_zsrc, { "Source Zone ID", "ipnet.zsrc",
+ { &hf_zsrc, { "Source Zone ID", "ipnet.zsrc",
FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }},
- { &hf_zdst, { "Destination Zone ID", "ipnet.zdst",
+ { &hf_zdst, { "Destination Zone ID", "ipnet.zdst",
FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }},
};
static gint *ett[] = {
@@ -155,3 +155,16 @@ proto_reg_handoff_ipnet(void)
ipnet_handle = create_dissector_handle(dissect_ipnet, proto_ipnet);
dissector_add_uint("wtap_encap", WTAP_ENCAP_IPNET, ipnet_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:
+ */