summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-09-08 11:01:35 +0100
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:49:34 +0000
commit266a827d816c204d85ef04ce5d028a61d8e2b187 (patch)
tree5b830d2b3e97876c2eaaa8051110083179cef93f /include
parenta0a3a94912dc0eed52fe9dce403065760c380030 (diff)
QLOG: Wiring: QUIC DEMUX: Report a monotonically increasing datagram ID
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22037)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_demux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/internal/quic_demux.h b/include/internal/quic_demux.h
index bc0ad95636..158c2ecff3 100644
--- a/include/internal/quic_demux.h
+++ b/include/internal/quic_demux.h
@@ -107,6 +107,12 @@ struct quic_urxe_st {
uint64_t processed, hpr_removed;
/*
+ * This monotonically increases with each datagram received. It is used for
+ * diagnostic purposes only.
+ */
+ uint64_t datagram_id;
+
+ /*
* Address of peer we received the datagram from, and the local interface
* address we received it on. If local address support is not enabled, local
* is zeroed.