summaryrefslogtreecommitdiffstats
path: root/include/internal
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-09-08 12:21:47 +0100
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:49:34 +0000
commit4cecbc5400aa2f8172865b368b41c3df50b5a64d (patch)
treec069a4dc1d7b67128127314e09cf5da175365f64 /include/internal
parent2031c0e928f19d2fbdc88d4f5ac4424d700099d9 (diff)
QLOG: Events: Implement connectivity:connection_started
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/internal')
-rw-r--r--include/internal/qlog_event_helpers.h21
-rw-r--r--include/internal/qlog_events.h1
2 files changed, 22 insertions, 0 deletions
diff --git a/include/internal/qlog_event_helpers.h b/include/internal/qlog_event_helpers.h
new file mode 100644
index 0000000000..e26f420561
--- /dev/null
+++ b/include/internal/qlog_event_helpers.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#ifndef OSSL_QLOG_EVENT_HELPERS_H
+# define OSSL_QLOG_EVENT_HELPERS_H
+
+# include <openssl/ssl.h>
+# include "internal/qlog.h"
+# include "internal/quic_types.h"
+
+/* connectivity:connection_started */
+void ossl_qlog_event_connectivity_connection_started(QLOG *qlog,
+ const QUIC_CONN_ID *init_dcid);
+
+#endif
diff --git a/include/internal/qlog_events.h b/include/internal/qlog_events.h
index efaec6cc49..d9542d9f5a 100644
--- a/include/internal/qlog_events.h
+++ b/include/internal/qlog_events.h
@@ -6,3 +6,4 @@
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
+QLOG_EVENT(connectivity, connection_started)