From 4cecbc5400aa2f8172865b368b41c3df50b5a64d Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Fri, 8 Sep 2023 12:21:47 +0100 Subject: QLOG: Events: Implement connectivity:connection_started Reviewed-by: Matt Caswell Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/22037) --- include/internal/qlog_event_helpers.h | 21 +++++++++++++++++++++ include/internal/qlog_events.h | 1 + 2 files changed, 22 insertions(+) create mode 100644 include/internal/qlog_event_helpers.h (limited to 'include') 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 +# 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) -- cgit v1.2.3