Lines Matching defs:bio
801 {"nbio_test", OPT_NBIO_TEST, '-', "Test with the non-blocking test bio"},
2274 static void print_stats(BIO *bio, SSL_CTX *ssl_ctx)
2276 BIO_printf(bio, "%4ld items in the session cache\n",
2278 BIO_printf(bio, "%4ld client connects (SSL_connect())\n",
2280 BIO_printf(bio, "%4ld client renegotiates (SSL_connect())\n",
2282 BIO_printf(bio, "%4ld client connects that finished\n",
2284 BIO_printf(bio, "%4ld server accepts (SSL_accept())\n",
2286 BIO_printf(bio, "%4ld server renegotiates (SSL_accept())\n",
2288 BIO_printf(bio, "%4ld server accepts that finished\n",
2290 BIO_printf(bio, "%4ld session cache hits\n", SSL_CTX_sess_hits(ssl_ctx));
2291 BIO_printf(bio, "%4ld session cache misses\n",
2293 BIO_printf(bio, "%4ld session cache timeouts\n",
2295 BIO_printf(bio, "%4ld callback cache hits\n",
2297 BIO_printf(bio, "%4ld cache full overflows (%ld allowed)\n",
2302 static long int count_reads_callback(BIO *bio, int cmd, const char *argp, size_t len,
2305 unsigned int *p_counter = (unsigned int *)BIO_get_callback_arg(bio);
2318 BIO_set_callback_arg(bio, (char *)bio_s_out);
2319 ret = (int)bio_dump_callback(bio, cmd, argp, len, argi, argl, ret, processed);
2320 BIO_set_callback_arg(bio, (char *)p_counter);