Lines Matching defs:cfd
45 int sfd, cfd;
54 cfd = connect_to_fd(sfd, 0);
55 if (!ASSERT_GE(cfd, 0, "connect_to_fd_server")) {
60 close(cfd);
91 int cfd = -1, sfd = -1, fd = -1, ret;
104 cfd = accept(sfd, NULL, 0);
105 if (!ASSERT_GE(cfd, 0, "accept"))
115 ret = setsockopt(cfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls"));
127 ret = setsockopt(cfd, SOL_TLS, TLS_RX, &aes128, sizeof(aes128));
134 /* At this point, the cfd socket is at the CLOSE_WAIT state
138 ret = read(cfd, &buf, sizeof(buf));
140 close(cfd);
153 close(cfd);