Searched refs:recv_mem (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/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() 899 char recv_mem[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local 906 vec.iov_base = (char *)recv_mem; in TEST_F() 912 EXPECT_EQ(memcmp(send_mem, recv_mem, send_len), 0); in TEST_F() 948 char recv_mem[TLS_PAYLOAD_MAX_LEN * 2]; in TEST_F() local 953 memset(recv_mem, 0, total_len); in TEST_F() 955 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F() 956 EXPECT_NE(recv(self->cfd, recv_mem + send_len, send_len, 0), -1); in TEST_F() [all …]
|