summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-quic.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-09-07 15:22:01 +0200
committerAnders Broman <a.broman58@gmail.com>2016-09-08 03:09:49 +0000
commitb20b9c9b67266226bb2626bf5bc0966b1c8228e2 (patch)
tree1361d9f610b7ad673a5fbe91fdfc49647e8c3928 /epan/dissectors/packet-quic.c
parent03e4307cb2daf1f208d3653b04f64580ee6d0c38 (diff)
downloadwireshark-b20b9c9b67266226bb2626bf5bc0966b1c8228e2.tar.gz
QUIC: Add FHOL (Force Head Of Line blocking) tag from Q036
Change-Id: Ieb0d1d0b2ebe2a6f325cdd18ef51677ee1a5535e Reviewed-on: https://code.wireshark.org/review/17564 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-quic.c')
-rw-r--r--epan/dissectors/packet-quic.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/epan/dissectors/packet-quic.c b/epan/dissectors/packet-quic.c
index 62380d7942..32add9254c 100644
--- a/epan/dissectors/packet-quic.c
+++ b/epan/dissectors/packet-quic.c
@@ -160,6 +160,7 @@ static int hf_quic_tag_nonp = -1;
static int hf_quic_tag_csct = -1;
static int hf_quic_tag_ctim = -1;
static int hf_quic_tag_mids = -1;
+static int hf_quic_tag_fhol = -1;
/* Public Reset Tags */
static int hf_quic_tag_rnon = -1;
@@ -385,6 +386,7 @@ static const value_string message_tag_vals[] = {
#define TAG_CSCT 0x43534354
#define TAG_CTIM 0x4354494D
#define TAG_MIDS 0x4D494453
+#define TAG_FHOL 0x46484F4C
/* Public Reset Tag */
#define TAG_RNON 0x524E4F4E
@@ -1588,6 +1590,12 @@ dissect_quic_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *quic_tree, guint
tag_offset += 4;
tag_len -= 4;
break;
+ case TAG_FHOL:
+ proto_tree_add_item(tag_tree, hf_quic_tag_fhol, tvb, tag_offset_start + tag_offset, 4, ENC_LITTLE_ENDIAN);
+ proto_item_append_text(ti_tag, ": %u", tvb_get_letohl(tvb, tag_offset_start + tag_offset));
+ tag_offset += 4;
+ tag_len -= 4;
+ break;
default:
proto_tree_add_item(tag_tree, hf_quic_tag_unknown, tvb, tag_offset_start + tag_offset, tag_len, ENC_NA);
@@ -2784,6 +2792,11 @@ proto_register_quic(void)
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
+ { &hf_quic_tag_fhol,
+ { "Force Head Of Line blocking", "quic.tag.fhol",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
{ &hf_quic_tag_unknown,
{ "Unknown tag", "quic.tag.unknown",