Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/ssl/quic/
H A Dquic_engine.c79 if (qeng->now_cb == NULL) in ossl_quic_engine_get_time()
82 return qeng->now_cb(qeng->now_cb_arg); in ossl_quic_engine_get_time()
89 if (qeng->now_cb != NULL in ossl_quic_engine_make_real_time()
93 offset = qeng->now_cb(qeng->now_cb_arg); in ossl_quic_engine_make_real_time()
103 OSSL_TIME (*now_cb)(void *arg), in ossl_quic_engine_set_time_cb()
106 qeng->now_cb = now_cb; in ossl_quic_engine_set_time_cb()
H A Dcc_newreno.c9 OSSL_TIME (*now_cb)(void *arg); member
47 static OSSL_CC_DATA *newreno_new(OSSL_TIME (*now_cb)(void *arg), in newreno_new()
55 nr->now_cb = now_cb; in newreno_new()
254 nr->cong_recovery_start_time = nr->now_cb(nr->now_cb_arg); in newreno_cong()
H A Dquic_engine_local.h44 OSSL_TIME (*now_cb)(void *arg); member
H A Dqlog.c64 qlog->info.now_cb = info->now_cb; in ossl_qlog_new()
90 if (qlog->info.now_cb == NULL) in ossl_qlog_new()
91 qlog->info.now_cb = default_now; in ossl_qlog_new()
413 qlog->event_time = qlog->info.now_cb(qlog->info.now_cb_arg); in ossl_qlog_event_try_begin()
H A Dquic_tserver.c127 ossl_quic_engine_set_time_cb(srv->engine, srv->args.now_cb, in ossl_quic_tserver_new()
H A Dquic_impl.c889 OSSL_TIME (*now_cb)(void *arg), in ossl_quic_set_override_now_cb()
899 ossl_quic_engine_set_time_cb(ctx.obj->engine, now_cb, now_cb_arg); in ossl_quic_set_override_now_cb()
H A Dquic_channel.c124 qti.now_cb = get_time; in ch_get_qlog()
/freebsd/crypto/openssl/test/helpers/
H A Dnoisydgrambio.c37 OSSL_TIME (*now_cb)(void *arg); member
95 struct bio_noise_now_cb_st *now_cb = ptr; in noisy_dgram_ctrl() local
100 data->now_cb = now_cb->now_cb; in noisy_dgram_ctrl()
101 data->now_cb_arg = now_cb->now_cb_arg; in noisy_dgram_ctrl()
184 now = data->now_cb != NULL ? data->now_cb(data->now_cb_arg) in noisy_dgram_sendmmsg()
349 now = data->now_cb != NULL ? data->now_cb(data->now_cb_arg) in noisy_dgram_recvmmsg()
H A Dquictestlib.h274 OSSL_TIME (*now_cb)(void *); member
H A Dquictestlib.c270 struct bio_noise_now_cb_st now_cb = { fake_now_cb, NULL }; in qtest_create_quic_objects() local
285 0, &now_cb), in qtest_create_quic_objects()
297 0, &now_cb), in qtest_create_quic_objects()
350 tserver_args.now_cb = fake_now_cb; in qtest_create_quic_objects()
/freebsd/crypto/openssl/include/internal/
H A Dquic_engine.h85 OSSL_TIME (*now_cb)(void *arg),
H A Dquic_cc.h86 OSSL_CC_DATA *(*new)(OSSL_TIME (*now_cb)(void *arg),
H A Dquic_tserver.h42 OSSL_TIME (*now_cb)(void *arg); member
H A Dqlog.h35 OSSL_TIME (*now_cb)(void *arg); member
H A Dquic_ssl.h151 OSSL_TIME (*now_cb)(void *arg),
/freebsd/crypto/openssl/test/
H A Dcc_dummy.c20 static OSSL_CC_DATA *dummy_new(OSSL_TIME (*now_cb)(void *arg), in dummy_new()
H A Dquic_qlog_test.c94 qti.now_cb = now; in test_qlog()
H A Dquic_tserver_test.c124 tserver_args.now_cb = fake_now; in do_test()
H A Dquic_multistream_test.c766 s_args.now_cb = get_time; in helper_init()
/freebsd/crypto/openssl/test/radix/
H A Dterp.c521 OSSL_TIME (*now_cb)(void *arg); member
549 if (!TEST_true(cfg->now_cb != NULL)) in TERP_init()
643 return terp->cfg.now_cb(terp->cfg.now_cb_arg); in TERP_now()
H A Dquic_bindings.c665 cfg->now_cb = get_time; in bindings_adjust_terp_config()