Lines Matching refs:rcv
673 char rcv[256] = "0"; in test_sockmap_skb_verdict_peek_helper() local
685 recvd = recv(c1, rcv, sizeof(rcv), MSG_PEEK); in test_sockmap_skb_verdict_peek_helper()
686 ASSERT_EQ(recvd, sizeof(rcv), "recv(c1)"); in test_sockmap_skb_verdict_peek_helper()
690 recvd = recv(c1, rcv, sizeof(rcv), 0); in test_sockmap_skb_verdict_peek_helper()
691 ASSERT_EQ(recvd, sizeof(rcv), "recv(p0)"); in test_sockmap_skb_verdict_peek_helper()
1070 char buf[10] = "0123456789", rcv[11], addr[100]; in test_sockmap_zc() local
1104 recvd = recv_timeout(p1, rcv, sizeof(rcv), MSG_DONTWAIT, 1); in test_sockmap_zc()
1146 char buf[10] = "0123456789", rcv[11]; in test_sockmap_copied_seq() local
1184 recvd = recv_timeout(p1, rcv, 1, MSG_DONTWAIT, 1); in test_sockmap_copied_seq()
1185 recvd += recv_timeout(p1, rcv + 1, sizeof(rcv) - 1, MSG_DONTWAIT, 1); in test_sockmap_copied_seq()
1187 !ASSERT_OK(memcmp(buf, rcv, recvd), "data mismatch")) in test_sockmap_copied_seq()
1206 recvd = recv(p1, rcv, sizeof(rcv), MSG_DONTWAIT); in test_sockmap_copied_seq()
1215 recvd = recv(p0, rcv, sizeof(rcv), MSG_DONTWAIT); in test_sockmap_copied_seq()
1255 char buf[10] = "0123456789", rcv[11]; in test_sockmap_multi_channels() local
1301 recvd = recv_timeout(p1, rcv, expected, MSG_DONTWAIT, 1); in test_sockmap_multi_channels()
1303 !ASSERT_OK(memcmp(buf, rcv, recvd), "data mismatch")) in test_sockmap_multi_channels()
1312 recvd = recv_timeout(p1, rcv, expected, MSG_DONTWAIT, 1); in test_sockmap_multi_channels()
1314 !ASSERT_OK(memcmp(buf + sizeof(buf) - expected, rcv, recvd), in test_sockmap_multi_channels()