Lines Matching refs:ptr
326 if ((bi->ptr = (char *)BIO_CONNECT_new()) == NULL) in conn_new()
336 c = (BIO_CONNECT *)bio->ptr; in conn_close_socket()
352 data = (BIO_CONNECT *)a->ptr; in conn_free()
359 a->ptr = NULL; in conn_free()
371 data = (BIO_CONNECT *)b->ptr; in conn_read()
409 data = (BIO_CONNECT *)b->ptr; in conn_write()
451 static long conn_ctrl(BIO *b, int cmd, long num, void *ptr) in conn_ctrl() argument
463 data = (BIO_CONNECT *)b->ptr; in conn_ctrl()
482 if (ptr != NULL) { in conn_ctrl()
483 pptr = (const char **)ptr; in conn_ctrl()
517 if (ptr != NULL) { in conn_ctrl()
528 ret = BIO_parse_hostserv(ptr, in conn_ctrl()
536 if ((data->param_service = OPENSSL_strdup(ptr)) == NULL) in conn_ctrl()
539 const BIO_ADDR *addr = (const BIO_ADDR *)ptr; in conn_ctrl()
557 data->connect_family = *(int *)ptr; in conn_ctrl()
578 *(BIO **)ptr = data->dgram_bio; in conn_ctrl()
597 memcpy(ptr, dg_addr, num); in conn_ctrl()
607 BIO_POLL_DESCRIPTOR *pd = ptr; in conn_ctrl()
650 ip = (int *)ptr; in conn_ctrl()
671 dbio = (BIO *)ptr; in conn_ctrl()
692 fptr = (BIO_info_cb **)ptr; in conn_ctrl()
701 crypto_info = (ktls_crypto_info_t *)ptr; in conn_ctrl()
737 data = (BIO_CONNECT *)b->ptr; in conn_callback_ctrl()
764 char *ptr = buf; in conn_gets() local
777 if (bio == NULL || bio->ptr == NULL) { in conn_gets()
781 data = (BIO_CONNECT *)bio->ptr; in conn_gets()
797 ret = ktls_read_record(bio->num, ptr, 1); in conn_gets()
800 ret = readsocket(bio->num, ptr, 1); in conn_gets()
809 if (*ptr++ == '\n') in conn_gets()
812 *ptr = '\0'; in conn_gets()
813 return ret > 0 || (bio->flags & BIO_FLAGS_IN_EOF) != 0 ? ptr - buf : ret; in conn_gets()
828 data = (BIO_CONNECT *)bio->ptr; in conn_sendmmsg()
859 data = (BIO_CONNECT *)bio->ptr; in conn_recvmmsg()