aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fbzero.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-07-07 12:41:24 +0200
committerAnders Broman <a.broman58@gmail.com>2017-07-07 12:04:16 +0000
commit635d9906afce74c20c7737c810276668ac675d9f (patch)
treebc3d8db53fd47d834c3b1a449510e9ea4bdd9006 /epan/dissectors/packet-fbzero.c
parente411dde96984b4c731bde2f16d055f2af9f7f409 (diff)
Fbzero: fix indent
Change-Id: Iae157730303f13e8b2abe73306e88bb070c78256 Reviewed-on: https://code.wireshark.org/review/22536 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-fbzero.c')
-rw-r--r--epan/dissectors/packet-fbzero.c60
1 files changed, 30 insertions, 30 deletions
diff --git a/epan/dissectors/packet-fbzero.c b/epan/dissectors/packet-fbzero.c
index 571216e9da..4155b6d273 100644
--- a/epan/dissectors/packet-fbzero.c
+++ b/epan/dissectors/packet-fbzero.c
@@ -390,7 +390,7 @@ static gboolean dissect_fb_zero_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tr
conversation_t *conversation = NULL;
int offset = 0;
guint32 version, length, message_tag;
- /* Verify packet size (Flag (1 byte) + Version (3bytes) + Flag (1 byte) + length (4 bytes) + Tag (4 bytes) */
+ /* Verify packet size (Flag (1 byte) + Version (3bytes) + Flag (1 byte) + length (4 bytes) + Tag (4 bytes)) */
if (tvb_captured_length(tvb) < 13)
{
return FALSE;
@@ -413,7 +413,7 @@ static gboolean dissect_fb_zero_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tr
/* (message) tag */
message_tag = tvb_get_ntohl(tvb, offset);
- if ( version == VERSION_QTV && length <= tvb_reported_length(tvb) && (message_tag == MTAG_CHLO || message_tag == MTAG_SNOM)) {
+ if (version == VERSION_QTV && length <= tvb_reported_length(tvb) && (message_tag == MTAG_CHLO || message_tag == MTAG_SNOM)) {
conversation = find_or_create_conversation(pinfo);
conversation_set_dissector(conversation, fb_zero_handle);
dissect_fb_zero(tvb, pinfo, tree, data);
@@ -429,133 +429,133 @@ proto_register_fb_zero(void)
static hf_register_info hf[] = {
{ &hf_fb_zero_puflags,
{ "Public Flags", "fb_zero.puflags",
- FT_UINT8, BASE_HEX, NULL, 0x0,
+ FT_UINT8, BASE_HEX, NULL, 0x0,
"Specifying per-packet public flags", HFILL }
},
{ &hf_fb_zero_puflags_vrsn,
{ "Version", "fb_zero.puflags.version",
- FT_BOOLEAN, 8, TFS(&tfs_yes_no), PUFLAGS_VRSN,
+ FT_BOOLEAN, 8, TFS(&tfs_yes_no), PUFLAGS_VRSN,
"Signifies that this packet also contains the version of the FB Zero protocol", HFILL }
},
{ &hf_fb_zero_puflags_unknown,
{ "Unknown", "fb_zero.puflags.unknown",
- FT_UINT8, BASE_HEX, NULL, PUFLAGS_UNKN,
+ FT_UINT8, BASE_HEX, NULL, PUFLAGS_UNKN,
NULL, HFILL }
},
{ &hf_fb_zero_version,
{ "Version", "fb_zero.version",
- FT_STRING, BASE_NONE, NULL, 0x0,
+ FT_STRING, BASE_NONE, NULL, 0x0,
"32 bit opaque tag that represents the version of the ZB Zero (Always QTV)", HFILL }
},
{ &hf_fb_zero_length,
{ "Length", "fb_zero.length",
- FT_UINT32, BASE_DEC, NULL, 0x0,
+ FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tag,
{ "Tag", "fb_zero.tag",
- FT_STRING, BASE_NONE, NULL, 0x0,
+ FT_STRING, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tag_number,
{ "Tag Number", "fb_zero.tag_number",
- FT_UINT16, BASE_DEC, NULL, 0x0,
+ FT_UINT16, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tags,
{ "Tag/value", "fb_zero.tags",
- FT_NONE, BASE_NONE, NULL, 0x0,
+ FT_NONE, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tag_type,
{ "Tag Type", "fb_zero.tag_type",
- FT_STRING, BASE_NONE, NULL, 0x0,
+ FT_STRING, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tag_offset_end,
{ "Tag offset end", "fb_zero.tag_offset_end",
- FT_UINT32, BASE_DEC, NULL, 0x0,
+ FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tag_length,
{ "Tag length", "fb_zero.tag_offset_length",
- FT_UINT32, BASE_DEC, NULL, 0x0,
+ FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tag_value,
{ "Tag/value", "fb_zero.tag_value",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tag_sni,
{ "Server Name Indication", "fb_zero.tag.sni",
- FT_STRING, BASE_NONE, NULL, 0x0,
+ FT_STRING, BASE_NONE, NULL, 0x0,
"The fully qualified DNS name of the server, canonicalised to lowercase with no trailing period", HFILL }
},
{ &hf_fb_zero_tag_vers,
{ "Version", "fb_zero.tag.version",
- FT_STRING, BASE_NONE, NULL, 0x0,
+ FT_STRING, BASE_NONE, NULL, 0x0,
"Version of FB Zero supported", HFILL }
},
{ &hf_fb_zero_tag_sno,
{ "Server nonce", "fb_zero.tag.sno",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_tag_aead,
{ "Authenticated encryption algorithms", "fb_zero.tag.aead",
- FT_STRING, BASE_NONE, NULL, 0x0,
+ FT_STRING, BASE_NONE, NULL, 0x0,
"A list of tags, in preference order, specifying the AEAD primitives supported by the server", HFILL }
},
{ &hf_fb_zero_tag_scid,
{ "Server Config ID", "fb_zero.tag.scid",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
"An opaque, 16-byte identifier for this server config", HFILL }
},
{ &hf_fb_zero_tag_time,
{ "Time", "fb_zero.tag.time",
- FT_UINT32, BASE_DEC, NULL, 0x0,
- NULL, HFILL }
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
},
{ &hf_fb_zero_tag_alpn,
{ "ALPN", "fb_zero.tag.alpn",
- FT_STRING, BASE_NONE, NULL, 0x0,
- "Application-Layer Protocol Negotiation supported", HFILL }
+ FT_STRING, BASE_NONE, NULL, 0x0,
+ "Application-Layer Protocol Negotiation supported", HFILL }
},
{ &hf_fb_zero_tag_pubs,
{ "Public value", "fb_zero.tag.pubs",
- FT_UINT24, BASE_DEC_HEX, NULL, 0x0,
+ FT_UINT24, BASE_DEC_HEX, NULL, 0x0,
"A list of public values, 24-bit, little-endian length prefixed", HFILL }
},
{ &hf_fb_zero_tag_kexs,
{ "Key exchange algorithms", "fb_zero.tag.kexs",
- FT_STRING, BASE_NONE, NULL, 0x0,
+ FT_STRING, BASE_NONE, NULL, 0x0,
"A list of tags, in preference order, specifying the key exchange algorithms that the server supports", HFILL }
},
{ &hf_fb_zero_tag_nonc,
{ "Client nonce", "fb_zero.tag.nonc",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
"32 bytes consisting of 4 bytes of timestamp (big-endian, UNIX epoch seconds), 8 bytes of server orbit and 20 bytes of random data", HFILL }
},
{ &hf_fb_zero_tag_unknown,
{ "Unknown tag", "fb_zero.tag.unknown",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_padding,
{ "Padding", "fb_zero.padding",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},
{ &hf_fb_zero_payload,
{ "Payload", "fb_zero.payload",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
"Fb Zero Payload..", HFILL }
},
{ &hf_fb_zero_unknown,
{ "Unknown", "fb_zero.unknown",
- FT_BYTES, BASE_NONE, NULL, 0x0,
+ FT_BYTES, BASE_NONE, NULL, 0x0,
"Unknown Data", HFILL }
},
};