diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-09-01 16:42:53 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-09-05 14:39:37 +0000 |
commit | 5c4a96b58b2f29c2ff4588b86fc443b4b6b0f820 (patch) | |
tree | 75ca3fb4c0a2a983dac5b8ac8a98db35b0d671bf /epan/dissectors/packet-ssl-utils.h | |
parent | a6ad0a0191cd98f4c3f7c2a7bc655049109f01e1 (diff) |
QUIC (TLS): Add stateless_reset_token parameter
Ping-Bug: 13881
Change-Id: I0332ebae69d8b25b1ac8617742cff02744a30f2a
Reviewed-on: https://code.wireshark.org/review/23389
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/dissectors/packet-ssl-utils.h')
-rw-r--r-- | epan/dissectors/packet-ssl-utils.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ssl-utils.h b/epan/dissectors/packet-ssl-utils.h index cc1cf3c4fe..f20ea7d5c5 100644 --- a/epan/dissectors/packet-ssl-utils.h +++ b/epan/dissectors/packet-ssl-utils.h @@ -210,6 +210,7 @@ typedef enum { #define SSL_HND_QUIC_TP_IDLE_TIMEOUT 3 #define SSL_HND_QUIC_TP_OMIT_CONNECTION_ID 4 #define SSL_HND_QUIC_TP_MAX_PACKET_SIZE 5 +#define SSL_HND_QUIC_TP_STATELESS_RESET_TOKEN 6 /* * Lookup tables */ @@ -842,6 +843,7 @@ typedef struct ssl_common_dissect { gint hs_ext_quictp_parameter_initial_max_stream_id; gint hs_ext_quictp_parameter_idle_timeout; gint hs_ext_quictp_parameter_max_packet_size; + gint hs_ext_quictp_parameter_stateless_reset_token; /* do not forget to update SSL_COMMON_LIST_T and SSL_COMMON_HF_LIST! */ } hf; @@ -1038,7 +1040,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, -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, \ @@ -1818,6 +1820,11 @@ ssl_common_dissect_t name = { \ { "max_packet_size", prefix ".quic.parameter.max_packet_size", \ FT_UINT16, BASE_DEC, NULL, 0x00, \ "Indicates that packets larger than this limit will be dropped", HFILL } \ + }, \ + { & name .hf.hs_ext_quictp_parameter_stateless_reset_token, \ + { "stateless_reset_token", prefix ".quic.parameter.stateless_reset_token", \ + FT_BYTES, BASE_NONE, NULL, 0x00, \ + "Used in verifying a stateless reset", HFILL } \ } /* }}} */ |