• Home
  • Raw
  • Download

Lines Matching refs:BACKEND

110 #define BACKEND connssl->backend  macro
508 QsoWaitForIOCompletion(BACKEND->iocport, &cstat, (struct timeval *) NULL); in cancel_async_handshake()
514 QsoDestroyIOCompletionPort(BACKEND->iocport); in close_async_handshake()
515 BACKEND->iocport = -1; in close_async_handshake()
539 FD_SET(BACKEND->remotefd, &fds_write); in pipe_ssloverssl()
540 n = BACKEND->remotefd; in pipe_ssloverssl()
543 FD_SET(BACKEND->remotefd, &fds_read); in pipe_ssloverssl()
544 n = BACKEND->remotefd; in pipe_ssloverssl()
553 if(FD_ISSET(BACKEND->remotefd, &fds_write)) { in pipe_ssloverssl()
561 i = write(BACKEND->remotefd, buf, n); in pipe_ssloverssl()
575 if(FD_ISSET(BACKEND->remotefd, &fds_read) && in pipe_ssloverssl()
578 n = read(BACKEND->remotefd, buf, sizeof(buf)); in pipe_ssloverssl()
599 if(BACKEND->handle) { in close_one()
600 gskit_status(data, gsk_secure_soc_close(&BACKEND->handle), in close_one()
605 BACKEND->handle = (gsk_handle) NULL; in close_one()
607 if(BACKEND->localfd >= 0) { in close_one()
608 close(BACKEND->localfd); in close_one()
609 BACKEND->localfd = -1; in close_one()
611 if(BACKEND->remotefd >= 0) { in close_one()
612 close(BACKEND->remotefd); in close_one()
613 BACKEND->remotefd = -1; in close_one()
617 if(BACKEND->iocport >= 0) in close_one()
632 gsk_secure_soc_write(BACKEND->handle, in gskit_send()
657 cc = gskit_status(data, gsk_secure_soc_read(BACKEND->handle, in gskit_recv()
729 BACKEND->handle = (gsk_handle) NULL; in gskit_connect_step1()
730 BACKEND->iocport = -1; in gskit_connect_step1()
732 BACKEND->localfd = -1; in gskit_connect_step1()
733 BACKEND->remotefd = -1; in gskit_connect_step1()
767 result = gskit_status(data, gsk_secure_soc_open(envir, &BACKEND->handle), in gskit_connect_step1()
778 BACKEND->localfd = sockpair[0]; in gskit_connect_step1()
779 BACKEND->remotefd = sockpair[1]; in gskit_connect_step1()
780 setsockopt(BACKEND->localfd, SOL_SOCKET, SO_RCVBUF, in gskit_connect_step1()
782 setsockopt(BACKEND->remotefd, SOL_SOCKET, SO_RCVBUF, in gskit_connect_step1()
784 setsockopt(BACKEND->localfd, SOL_SOCKET, SO_SNDBUF, in gskit_connect_step1()
786 setsockopt(BACKEND->remotefd, SOL_SOCKET, SO_SNDBUF, in gskit_connect_step1()
788 curlx_nonblock(BACKEND->localfd, TRUE); in gskit_connect_step1()
789 curlx_nonblock(BACKEND->remotefd, TRUE); in gskit_connect_step1()
824 result = set_buffer(data, BACKEND->handle, in gskit_connect_step1()
838 result = set_numeric(data, BACKEND->handle, GSK_HANDSHAKE_TIMEOUT, in gskit_connect_step1()
842 result = set_numeric(data, BACKEND->handle, GSK_OS400_READ_TIMEOUT, 1); in gskit_connect_step1()
845 result = set_numeric(data, BACKEND->handle, GSK_FD, BACKEND->localfd >= 0? in gskit_connect_step1()
846 BACKEND->localfd: conn->sock[sockindex]); in gskit_connect_step1()
848 result = set_numeric(data, BACKEND->handle, GSK_FD, in gskit_connect_step1()
852 result = set_ciphers(data, BACKEND->handle, &protoflags); in gskit_connect_step1()
858 result = set_enum(data, BACKEND->handle, GSK_PROTOCOL_SSLV2, in gskit_connect_step1()
862 result = set_enum(data, BACKEND->handle, GSK_PROTOCOL_SSLV3, in gskit_connect_step1()
866 result = set_enum(data, BACKEND->handle, GSK_PROTOCOL_TLSV1, in gskit_connect_step1()
870 result = set_enum(data, BACKEND->handle, GSK_PROTOCOL_TLSV11, in gskit_connect_step1()
882 result = set_enum(data, BACKEND->handle, GSK_PROTOCOL_TLSV12, in gskit_connect_step1()
894 result = set_enum(data, BACKEND->handle, GSK_SERVER_AUTH_TYPE, in gskit_connect_step1()
901 BACKEND->iocport = QsoCreateIOCompletionPort(); in gskit_connect_step1()
902 if(BACKEND->iocport != -1) { in gskit_connect_step1()
904 gsk_secure_soc_startInit(BACKEND->handle, in gskit_connect_step1()
905 BACKEND->iocport, in gskit_connect_step1()
927 result = gskit_status(data, gsk_secure_soc_init(BACKEND->handle), in gskit_connect_step1()
959 switch(QsoWaitForIOCompletion(BACKEND->iocport, &cstat, &stmv)) { in gskit_connect_step2()
1007 if(gskit_status(data, gsk_attribute_get_cert_info(BACKEND->handle, in gskit_connect_step3()
1197 if(!BACKEND->handle) in gskit_shutdown()
1260 if(!BACKEND->handle) in gskit_check_cxn()
1278 return BACKEND->handle; in gskit_get_internals()