Lines Matching refs:cmd
22 static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2);
25 static long ssl_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
225 static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr) in ssl_ctrl() argument
237 if (ssl == NULL && cmd != BIO_C_SET_SSL) in ssl_ctrl()
239 switch (cmd) { in ssl_ctrl()
258 ret = BIO_ctrl(next, cmd, num, ptr); in ssl_ctrl()
260 ret = BIO_ctrl(sc->rbio, cmd, num, ptr); in ssl_ctrl()
321 ret = BIO_ctrl(SSL_get_wbio(ssl), cmd, num, ptr); in ssl_ctrl()
330 ret = BIO_ctrl(SSL_get_wbio(ssl), cmd, num, ptr); in ssl_ctrl()
388 ret = BIO_ctrl(SSL_get_rbio(ssl), cmd, num, ptr); in ssl_ctrl()
402 ret = BIO_ctrl(SSL_get_rbio(ssl), cmd, num, ptr); in ssl_ctrl()
408 static long ssl_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in ssl_callback_ctrl() argument
416 switch (cmd) { in ssl_callback_ctrl()
418 ret = BIO_callback_ctrl(SSL_get_rbio(ssl), cmd, fp); in ssl_callback_ctrl()