Searched refs:recv_mem (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/net/ |
D | tls.c | 493 char recv_mem[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local 499 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F() 500 EXPECT_EQ(memcmp(buf, recv_mem, send_len), 0); in TEST_F() 885 char recv_mem[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local 892 vec.iov_base = (char *)recv_mem; in TEST_F() 898 EXPECT_EQ(memcmp(send_mem, recv_mem, send_len), 0); in TEST_F() 934 char recv_mem[TLS_PAYLOAD_MAX_LEN * 2]; in TEST_F() local 939 memset(recv_mem, 0, total_len); in TEST_F() 941 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F() 942 EXPECT_NE(recv(self->cfd, recv_mem + send_len, send_len, 0), -1); in TEST_F() [all …]
|