Home
last modified time | relevance | path

Searched refs:qlog (Results 1 – 21 of 21) sorted by relevance

/freebsd/crypto/openssl/ssl/quic/
H A Dqlog.c57 QLOG *qlog = OPENSSL_zalloc(sizeof(QLOG)); in ossl_qlog_new() local
59 if (qlog == NULL) in ossl_qlog_new()
62 qlog->info.odcid = info->odcid; in ossl_qlog_new()
63 qlog->info.is_server = info->is_server; in ossl_qlog_new()
64 qlog->info.now_cb = info->now_cb; in ossl_qlog_new()
65 qlog->info.now_cb_arg = info->now_cb_arg; in ossl_qlog_new()
66 qlog->info.override_process_id = info->override_process_id; in ossl_qlog_new()
69 && (qlog->info.title = OPENSSL_strdup(info->title)) == NULL) in ossl_qlog_new()
73 && (qlog->info.description = OPENSSL_strdup(info->description)) == NULL) in ossl_qlog_new()
77 && (qlog->info.group_id = OPENSSL_strdup(info->group_id)) == NULL) in ossl_qlog_new()
[all …]
H A Dqlog_event_helpers.c16 void ossl_qlog_event_connectivity_connection_started(QLOG *qlog, in ossl_qlog_event_connectivity_connection_started() argument
20 QLOG_EVENT_BEGIN(qlog, connectivity, connection_started) in ossl_qlog_event_connectivity_connection_started()
57 void ossl_qlog_event_connectivity_connection_state_updated(QLOG *qlog, in ossl_qlog_event_connectivity_connection_state_updated() argument
66 QLOG_EVENT_BEGIN(qlog, connectivity, connection_state_updated) in ossl_qlog_event_connectivity_connection_state_updated()
119 void ossl_qlog_event_connectivity_connection_closed(QLOG *qlog, in ossl_qlog_event_connectivity_connection_closed() argument
123 QLOG_EVENT_BEGIN(qlog, connectivity, connection_closed) in ossl_qlog_event_connectivity_connection_closed()
172 void ossl_qlog_event_recovery_packet_lost(QLOG *qlog, in ossl_qlog_event_recovery_packet_lost() argument
176 QLOG_EVENT_BEGIN(qlog, recovery, packet_lost) in ossl_qlog_event_recovery_packet_lost()
579 void ossl_qlog_event_transport_packet_sent(QLOG *qlog, in ossl_qlog_event_transport_packet_sent() argument
587 QLOG_EVENT_BEGIN(qlog, transport, packet_sent) in ossl_qlog_event_transport_packet_sent()
[all …]
H A Dbuild.info24 IF[{- !$disabled{qlog} -}]
25 SOURCE[$LIBSSL]=json_enc.c qlog.c
H A Dquic_channel_local.h58 QLOG *qlog; member
H A Dquic_channel.c110 if (ch->qlog != NULL) in ch_get_qlog()
111 return ch->qlog; in ch_get_qlog()
126 if ((ch->qlog = ossl_qlog_new_from_env(&qti)) == NULL) { in ch_get_qlog()
131 return ch->qlog; in ch_get_qlog()
435 if (ch->qlog != NULL) in ch_cleanup()
436 ossl_qlog_flush(ch->qlog); /* best effort */ in ch_cleanup()
439 ossl_qlog_free(ch->qlog); in ch_cleanup()
/freebsd/crypto/openssl/include/internal/
H A Dqlog.h44 void ossl_qlog_free(QLOG *qlog);
47 int ossl_qlog_set_event_type_enabled(QLOG *qlog, uint32_t event_type,
49 int ossl_qlog_set_filter(QLOG *qlog, const char *filter);
51 int ossl_qlog_set_sink_bio(QLOG *qlog, BIO *bio);
53 int ossl_qlog_set_sink_file(QLOG *qlog, FILE *file, int close_flag);
55 int ossl_qlog_set_sink_filename(QLOG *qlog, const char *filename);
58 int ossl_qlog_flush(QLOG *qlog);
61 int ossl_qlog_enabled(QLOG *qlog, uint32_t event_type);
64 int ossl_qlog_event_try_begin(QLOG *qlog, uint32_t event_type,
67 void ossl_qlog_event_end(QLOG *qlog);
[all …]
H A Dqlog_event_helpers.h22 void ossl_qlog_event_connectivity_connection_started(QLOG *qlog,
26 void ossl_qlog_event_connectivity_connection_state_updated(QLOG *qlog,
33 void ossl_qlog_event_connectivity_connection_closed(QLOG *qlog,
37 void ossl_qlog_event_recovery_packet_lost(QLOG *qlog,
41 void ossl_qlog_event_transport_packet_sent(QLOG *qlog,
49 void ossl_qlog_event_transport_packet_received(QLOG *qlog,
/freebsd/crypto/openssl/test/
H A Dquic_qlog_test.c81 QLOG *qlog; in test_qlog() local
97 if (!TEST_ptr(qlog = ossl_qlog_new(&qti))) in test_qlog()
100 … if (!TEST_true(ossl_qlog_set_event_type_enabled(qlog, QLOG_EVENT_TYPE_transport_packet_sent, 1))) in test_qlog()
106 if (!TEST_true(ossl_qlog_set_sink_bio(qlog, bio))) in test_qlog()
109 QLOG_EVENT_BEGIN(qlog, transport, packet_sent) in test_qlog()
129 QLOG_EVENT_BEGIN(qlog, transport, packet_received) in test_qlog()
134 QLOG_EVENT_BEGIN(qlog, transport, packet_sent) in test_qlog()
138 if (!TEST_true(ossl_qlog_flush(qlog))) in test_qlog()
150 ossl_qlog_free(qlog); in test_qlog()
220 QLOG *qlog; in test_qlog_filter() local
[all …]
H A Dbuild.info88 IF[{- !$disabled{qlog} -}]
412 IF[{- !$disabled{'qlog'} -}]
941 IF[{- !$disabled{qlog} -}]
/freebsd/crypto/openssl/doc/man7/
H A Dopenssl-qlog.pod5 openssl-qlog - OpenSSL qlog tracing functionality
9 OpenSSL has unstable support for generating logs in the qlog logging format,
14 The qlog output generated by OpenSSL can be used to obtain diagnostic
17 B<WARNING:> The output of OpenSSL's qlog functionality uses an unstable format
18 based on a draft specification. qlog output is not subject to any format
25 When OpenSSL is built with qlog support, qlog is enabled at run time by setting
26 the standard B<QLOGDIR> environment variable to point to a directory where qlog
28 will have a qlog file written automatically to the specified directory.
41 C<server>, reflecting the perspective of the endpoint producing the qlog output.
43 The qlog functionality can be disabled at OpenSSL build time using the
[all …]
H A Dopenssl-env.pod193 Specifies a QUIC qlog output directory. See L<openssl-qlog(7)>.
197 Used to set a QUIC qlog filter specification. See L<openssl-qlog(7)>.
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Dqlog.md1 qlog Support
4 qlog support is formed of two components:
6 - A qlog API and implementation.
7 - A JSON encoder API and implementation, which is used by the qlog
12 qlog support will involve instrumenting various functions with qlog logging
32 The output format is always the JSON-SEQ qlog variant. This has the advantage
36 Output is written to a directory containing multiple qlog files.
48 - zero or more macros which log fields inside a qlog event.
57 API details can be found in `internal/qlog.h`.
62 qlog must currently be enabled at build time using `enable-unstable-qlog`. If
[all …]
H A Ddebugging.md7 - qlog
13 - In general, qlog is aimed at storing only information relevant to the
31 - qlog:
42 Using qlog
45 To enable qlog you must:
47 - build using the `enable-unstable-qlog` build-time configuration option;
49 - set the environment variable `QLOGDIR` to a directory where qlog log files
56 qlog files in the JSON-SEQ format to the specified directory. The files have the
62 website](https://qvis.quictools.info/) also has some sample qlog files which you
66 Note that since the qlog specification is not finalised and still evolving,
[all …]
H A Djson-encoder.md7 The JSON encoder exists to support qlog implementation. There is no intention to
69 outputting qlog for our purposes.
H A Dtx-packetiser.md571 Implementation Diversity (Marx et al. 2020)](https://qlog.edm.uhasselt.be/epiq/files/QUICImplementa…
/freebsd/secure/lib/libssl/
H A DMakefile56 SRCS+= json_enc.c qlog.c
/freebsd/secure/lib/libcrypto/man/man7/
H A DMakefile115 MAN+= openssl-qlog.7
/freebsd/crypto/openssl/
H A DINSTALL.md1170 ### enable-unstable-qlog
1172 Enables qlog output support for the QUIC protocol. This functionality is
1173 unstable and implements a draft version of the qlog specification. The qlog
1176 the manpage openssl-qlog(7) for details.
H A DNEWS.md331 * Support for qlog for tracing QUIC connections has been added
H A DCHANGES.md1253 * Support for qlog for tracing QUIC connections has been added.
1255 The qlog output from OpenSSL currently uses a pre-standard draft version of
1256 qlog. The output from OpenSSL will change in incompatible ways in future
1259 disabled with the build-time option `no-unstable-qlog`. See the
1260 openssl-qlog(7) manpage for details.
/freebsd/crypto/openssl/doc/
H A Dbuild.info5016 DEPEND[html/man7/openssl-qlog.html]=man7/openssl-qlog.pod
5017 GENERATE[html/man7/openssl-qlog.html]=man7/openssl-qlog.pod
5018 DEPEND[man/man7/openssl-qlog.7]=man7/openssl-qlog.pod
5019 GENERATE[man/man7/openssl-qlog.7]=man7/openssl-qlog.pod
5310 html/man7/openssl-qlog.html \
5467 man/man7/openssl-qlog.7 \