Searched refs:MSG_PEEK (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/net/af_unix/ |
D | test_unix_oob.c | 244 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/ |
D | tls.c | 746 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/ |
D | vsock_test.c | 279 recv_byte(fd, 1, MSG_PEEK); in test_stream_msg_peek_server()
|
/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 291 #define MSG_PEEK 2 macro
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 430 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/ |
D | netlink.c | 137 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in libbpf_netlink_recv()
|
/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 646 flags |= MSG_PEEK; in msg_loop()
|