Home
last modified time | relevance | path

Searched refs:MSG_PEEK (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/net/af_unix/
Dtest_unix_oob.c244 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
268 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
369 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
401 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
/tools/testing/selftests/net/
Dtls.c746 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F()
763 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F()
787 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F()
814 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F()
837 MSG_PEEK | MSG_WAITALL)), -1); in TEST_F()
1208 EXPECT_EQ(recvmsg(self->cfd, &msg, MSG_WAITALL | MSG_PEEK), send_len); in TEST_F()
/tools/testing/vsock/
Dvsock_test.c279 recv_byte(fd, 1, MSG_PEEK); in test_stream_msg_peek_server()
/tools/perf/trace/beauty/include/linux/
Dsocket.h291 #define MSG_PEEK 2 macro
/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c430 ret = recv(fd, buf, cap, MSG_PEEK); in do_rnd_read()
433 ret = recv(fd, buf, cap, MSG_PEEK); in do_rnd_read()
/tools/lib/bpf/
Dnetlink.c137 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in libbpf_netlink_recv()
/tools/testing/selftests/bpf/
Dtest_sockmap.c646 flags |= MSG_PEEK; in msg_loop()