Lines Matching defs:cfd
919 int afd = -1, cfd = -1, sfd = -1;
938 cfd = socket(AF_INET, SOCK_STREAM, 0);
939 if (cfd < 0)
950 if (!cfd_connected && connect(cfd, (struct sockaddr*)&sin, sizeof(sin)) < 0)
956 if (set_nb(cfd) == -1 || set_nb(sfd) == -1)
959 *cfdp = cfd;
964 if (cfd != -1)
965 close(cfd);
975 SSL **cssl, int sfd, int cfd)
990 || !TEST_ptr(c_to_s_bio = BIO_new_socket(cfd, BIO_NOCLOSE)))