Lines Matching refs:cfd2

1562 	int fd2, cfd2;  in FIXTURE()  local
1590 ulp_sock_pair(_metadata, &self->fd2, &self->cfd2, &self->notls); in FIXTURE_SETUP()
1597 ret = setsockopt(self->cfd2, SOL_TLS, TLS_RX, &tls12, tls12.len); in FIXTURE_SETUP()
1606 close(self->cfd2); in FIXTURE_TEARDOWN()
1618 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1620 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), MSG_DONTWAIT), -1); in TEST_F()
1640 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1642 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1670 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), sizeof(txt[0]) * 2); in TEST_F()
1674 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1676 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1705 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), sizeof(txt)); in TEST_F()
1707 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1709 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1722 ret = setsockopt(self->cfd2, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in TEST_F()
1731 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1734 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1739 EXPECT_EQ(recv(self->cfd2, buf, sizeof(buf), 0), -1); in TEST_F()
1755 pfd.fd = self->cfd2; in TEST_F()
1767 pfd.fd = self->cfd2; in TEST_F()
1772 pfd.fd = self->cfd2; in TEST_F()
1775 EXPECT_EQ(recv(self->cfd2, rec, sizeof(rec), 0), sizeof(buf)); in TEST_F()
1795 ev.data.fd = self->cfd2; in TEST_F()
1796 ASSERT_GE(epoll_ctl(epollfd, EPOLL_CTL_ADD, self->cfd2, &ev), 0); in TEST_F()
1812 EXPECT_EQ(recv(self->cfd2, rec, sizeof(rec), 0), sizeof(buf)); in TEST_F()
1861 pfd.fd = self->cfd2; in TEST_F()
1867 pfd.fd = self->cfd2; in TEST_F()