aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ax4000.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-10-05 15:57:05 -0400
committerBill Meier <wmeier@newsguy.com>2014-10-05 20:19:02 +0000
commit0b18d6cb77022494a875e6e0d9d2ad27fb6ac6d9 (patch)
tree8cb06839ae3a921f3238c5979da986e4c0358638 /epan/dissectors/packet-ax4000.c
parente2bdfa101b4a60318c9d7ba3dc3487418b5951b6 (diff)
Add editor modelines; Adjust whitespace as needed.
Change-Id: I6e70c933ae61a97377235d67b2f6a1b3d67dc155 Reviewed-on: https://code.wireshark.org/review/4484 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-ax4000.c')
-rw-r--r--epan/dissectors/packet-ax4000.c57
1 files changed, 35 insertions, 22 deletions
diff --git a/epan/dissectors/packet-ax4000.c b/epan/dissectors/packet-ax4000.c
index 286a02c2b8..cd892825da 100644
--- a/epan/dissectors/packet-ax4000.c
+++ b/epan/dissectors/packet-ax4000.c
@@ -106,39 +106,39 @@ proto_register_ax4000(void)
{
static hf_register_info hf[] = {
{ &hf_ax4000_port,
- { "Port Number", "ax4000.port",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL }
+ { "Port Number", "ax4000.port",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
},
{ &hf_ax4000_chassis,
- { "Chassis Number", "ax4000.chassis",
- FT_UINT8, BASE_DEC, NULL, 0x0,
- NULL, HFILL }
+ { "Chassis Number", "ax4000.chassis",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
},
{ &hf_ax4000_fill,
- { "Fill Type", "ax4000.fill",
- FT_UINT8, BASE_DEC, NULL, 0xc0,
- NULL, HFILL }
+ { "Fill Type", "ax4000.fill",
+ FT_UINT8, BASE_DEC, NULL, 0xc0,
+ NULL, HFILL }
},
{ &hf_ax4000_index,
- { "Index", "ax4000.index",
- FT_UINT16, BASE_DEC, NULL, 0x0FFF,
- NULL, HFILL }
+ { "Index", "ax4000.index",
+ FT_UINT16, BASE_DEC, NULL, 0x0FFF,
+ NULL, HFILL }
},
{ &hf_ax4000_timestamp,
- { "Timestamp", "ax4000.timestamp",
- FT_UINT32, BASE_HEX, NULL, 0x0,
- NULL, HFILL }
+ { "Timestamp", "ax4000.timestamp",
+ FT_UINT32, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
},
{ &hf_ax4000_seq,
- { "Sequence Number", "ax4000.seq",
- FT_UINT32, BASE_HEX, NULL, 0x0,
- NULL, HFILL }
+ { "Sequence Number", "ax4000.seq",
+ FT_UINT32, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
},
{ &hf_ax4000_crc,
- { "CRC (unchecked)", "ax4000.crc",
- FT_UINT16, BASE_HEX, NULL, 0x0,
- NULL, HFILL }
+ { "CRC (unchecked)", "ax4000.crc",
+ FT_UINT16, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
}
};
@@ -149,7 +149,7 @@ proto_register_ax4000(void)
/* Register the protocol name and description */
proto_ax4000 = proto_register_protocol("AX/4000 Test Block",
- "AX4000", "ax4000");
+ "AX4000", "ax4000");
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_ax4000, hf, array_length(hf));
@@ -170,3 +170,16 @@ proto_reg_handoff_ax4000(void)
dissector_add_uint("tcp.port", AX4000_TCP_PORT, ax4000_handle);
dissector_add_uint("udp.port", AX4000_UDP_PORT, ax4000_handle);
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 8
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * End:
+ *
+ * vi: set shiftwidth=8 tabstop=8 noexpandtab:
+ * :indentSize=8:tabSize=8:noTabs=false:
+ */