diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-12-24 08:29:50 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-01-02 05:29:39 +0000 |
commit | 0bde3e96f0c51ed141e94ae82eed24f1a38f712c (patch) | |
tree | 0518754ff0e74439b6e345eea50a0dd32ff131a5 /epan/proto.h | |
parent | af6dee35715a4079acaa7d9a413b6f7d859c8c8b (diff) |
Add ENC_VARINT_QUIC
Used to support variable length in QUIC protocol
Bug: 13881
Change-Id: Ia274b1530152376c5fb4e364fc4cf5ab246be1b3
Reviewed-on: https://code.wireshark.org/review/24990
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Craig Jackson <cejackson51@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h index ec688f2aaa..f732f45d64 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -534,6 +534,11 @@ WS_DLL_PUBLIC WS_NORETURN void proto_report_dissector_bug(const char *message); * https://developers.google.cn/protocol-buffers/docs/encoding */ #define ENC_VARINT_PROTOBUF 0x00000002 +/* + * Decodes a variable-length integer used in QUIC protocol + * See https://tools.ietf.org/html/draft-ietf-quic-transport-08#section-8.1 + */ +#define ENC_VARINT_QUIC 0x00000004 /* For cases where a string encoding contains hex, bit-or one or more * of these for the allowed separator(s), as well as with ENC_STR_HEX. |