Lines Matching defs:cfd
904 int afd = -1, cfd = -1, sfd = -1;
923 cfd = socket(AF_INET, SOCK_STREAM, 0);
924 if (cfd < 0)
935 if (!cfd_connected && connect(cfd, (struct sockaddr*)&sin, sizeof(sin)) < 0)
941 if (set_nb(cfd) == -1 || set_nb(sfd) == -1)
944 *cfdp = cfd;
949 if (cfd != -1)
950 close(cfd);
960 SSL **cssl, int sfd, int cfd)
975 || !TEST_ptr(c_to_s_bio = BIO_new_socket(cfd, BIO_NOCLOSE)))