diff options
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-tls-utils.c | 7 | ||||
-rw-r--r-- | epan/dissectors/packet-tls-utils.h | 9 |
2 files changed, 15 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tls-utils.c b/epan/dissectors/packet-tls-utils.c index e40564d9aa..f3c22ad2d9 100644 --- a/epan/dissectors/packet-tls-utils.c +++ b/epan/dissectors/packet-tls-utils.c @@ -1585,6 +1585,7 @@ const value_string quic_transport_parameter_id[] = { { SSL_HND_QUIC_TP_ACTIVE_CONNECTION_ID_LIMIT, "active_connection_id_limit" }, { SSL_HND_QUIC_TP_MAX_DATAGRAM_FRAME_SIZE, "max_datagram_frame_size" }, { SSL_HND_QUIC_TP_LOSS_BITS, "loss_bits" }, + { SSL_HND_QUIC_TP_MIN_ACK_DELAY, "min_ack_delay" }, { 0, NULL } }; @@ -6981,6 +6982,12 @@ ssl_dissect_hnd_hello_ext_quic_transport_parameters(ssl_common_dissect_t *hf, tv tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; break; + case SSL_HND_QUIC_TP_MIN_ACK_DELAY: + proto_tree_add_item_ret_varint(parameter_tree, hf->hf.hs_ext_quictp_parameter_min_ack_delay, + tvb, offset, -1, ENC_VARINT_QUIC, &value, &len); + proto_item_append_text(parameter_tree, " %" G_GINT64_MODIFIER "u", value); + offset += len; + break; default: offset += parameter_length; /*TODO display expert info about unknown ? */ diff --git a/epan/dissectors/packet-tls-utils.h b/epan/dissectors/packet-tls-utils.h index 0722cd953c..a44d390802 100644 --- a/epan/dissectors/packet-tls-utils.h +++ b/epan/dissectors/packet-tls-utils.h @@ -167,6 +167,7 @@ typedef enum { #define SSL_HND_QUIC_TP_ACTIVE_CONNECTION_ID_LIMIT 14 #define SSL_HND_QUIC_TP_MAX_DATAGRAM_FRAME_SIZE 32 #define SSL_HND_QUIC_TP_LOSS_BITS 4183 +#define SSL_HND_QUIC_TP_MIN_ACK_DELAY 56858 /* https://tools.ietf.org/html/draft-iyengar-quic-delayed-ack-00 */ /* * Lookup tables */ @@ -919,6 +920,7 @@ typedef struct ssl_common_dissect { gint hs_ext_quictp_parameter_active_connection_id_limit; gint hs_ext_quictp_parameter_max_datagram_frame_size; gint hs_ext_quictp_parameter_loss_bits; + gint hs_ext_quictp_parameter_min_ack_delay; gint esni_suite; gint esni_record_digest_length; @@ -1147,7 +1149,7 @@ ssl_common_dissect_t name = { \ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \ - -1, -1, -1, -1, -1, \ + -1, -1, -1, -1, -1, -1, \ }, \ /* ett */ { \ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \ @@ -2038,6 +2040,11 @@ ssl_common_dissect_t name = { \ FT_UINT8, BASE_DEC, NULL, 0x00, \ NULL, HFILL } \ }, \ + { & name .hf.hs_ext_quictp_parameter_min_ack_delay, \ + { "min_ack_delay", prefix ".quic.parameter.min_ack_delay", \ + FT_UINT64, BASE_DEC, NULL, 0x00, \ + NULL, HFILL } \ + }, \ { & name .hf.esni_suite, \ { "Cipher Suite", prefix ".esni.suite", \ FT_UINT16, BASE_HEX|BASE_EXT_STRING, &ssl_31_ciphersuite_ext, 0x0, \ |