diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-10-12 22:37:30 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-10-13 11:35:50 +0000 |
commit | 5da38b6c110f4bae1c3a8d4eacaa9d5d3a3006f1 (patch) | |
tree | 293d5f7852ec930cb3692b94753d702e2e95ec54 /epan | |
parent | ddb6513db32ea322f68a72a770417b62af669e8e (diff) |
QUIC: Add STTL (Server Config TTL) tag
and add FHOL forget value_string
Change-Id: I0473ca17fba3c277124a46309c4b7d158d1b9f72
Reviewed-on: https://code.wireshark.org/review/18173
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-quic.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/epan/dissectors/packet-quic.c b/epan/dissectors/packet-quic.c index b906eee64a..944f454436 100644 --- a/epan/dissectors/packet-quic.c +++ b/epan/dissectors/packet-quic.c @@ -161,6 +161,7 @@ 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; +static int hf_quic_tag_sttl = -1; /* Public Reset Tags */ static int hf_quic_tag_rnon = -1; @@ -388,6 +389,7 @@ static const value_string message_tag_vals[] = { #define TAG_CTIM 0x4354494D #define TAG_MIDS 0x4D494453 #define TAG_FHOL 0x46484F4C +#define TAG_STTL 0x5354544C /* Public Reset Tag */ #define TAG_RNON 0x524E4F4E @@ -430,6 +432,8 @@ static const value_string tag_vals[] = { { TAG_CSCT, "Signed cert timestamp (RFC6962) of leaf cert" }, { TAG_CTIM, "Client Timestamp" }, { TAG_MIDS, "Max incoming dynamic streams" }, + { TAG_FHOL, "Force Head Of Line blocking" }, + { TAG_STTL, "Server Config TTL" }, { TAG_RNON, "Public Reset Nonce Proof" }, { TAG_RSEQ, "Rejected Packet Number" }, @@ -1597,6 +1601,11 @@ dissect_quic_tag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *quic_tree, guint tag_offset += 4; tag_len -= 4; break; + case TAG_STTL: + proto_tree_add_item(tag_tree, hf_quic_tag_sttl, tvb, tag_offset_start + tag_offset, 8, ENC_LITTLE_ENDIAN); + tag_offset += 8; + tag_len -= 8; + break; default: proto_tree_add_item(tag_tree, hf_quic_tag_unknown, tvb, tag_offset_start + tag_offset, tag_len, ENC_NA); @@ -2804,6 +2813,11 @@ proto_register_quic(void) FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, + { &hf_quic_tag_sttl, + { "Server Config TTL", "quic.tag.sttl", + FT_UINT64, BASE_DEC, NULL, 0x0, + NULL, HFILL } + }, { &hf_quic_tag_unknown, { "Unknown tag", "quic.tag.unknown", |