Searched refs:cfd2 (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/net/ |
D | tls.c | 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() [all …]
|