Searched refs:MSG_PEEK (Results 1 – 13 of 13) sorted by relevance
| /tools/testing/selftests/net/ |
| A D | sk_so_peek_off.c | 125 len = recv(recv_sock, buf, 1, MSG_PEEK); in sk_peek_offset_test() 136 len = recv(recv_sock, buf, 2, MSG_PEEK); in sk_peek_offset_test()
|
| A D | tls.c | 883 MSG_WAITALL | MSG_PEEK), in TEST_F() 1053 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_PEEK), send_len); in TEST_F() 1070 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F() 1144 MSG_PEEK | MSG_WAITALL)), -1); in TEST_F() 1496 buf, sizeof(buf), MSG_WAITALL | MSG_PEEK), in TEST_F() 1550 EXPECT_EQ(recv(self->cfd, buf, sizeof(buf), MSG_PEEK), send_len); in TEST_F() 1551 EXPECT_EQ(recv(self->cfd, buf, sizeof(buf), MSG_PEEK), send_len); in TEST_F() 1932 EXPECT_EQ(recv(self->cfd, buf, sizeof(buf), MSG_PEEK), send_len); in TEST_F() 1939 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F() 1942 tls_recv_keyupdate(_metadata, self->cfd, MSG_PEEK); in TEST_F() [all …]
|
| /tools/testing/selftests/net/af_unix/ |
| A D | msg_oob.c | 324 variant->peek ? MSG_PEEK : 0, true); in __resetpair() 335 buf_len, (flags) | MSG_PEEK, false); \
|
| /tools/testing/selftests/net/tcp_ao/lib/ |
| A D | repair.c | 64 ret = recv(sk, q->buf, qlen, MSG_PEEK | MSG_DONTWAIT); in test_sock_checkpoint_queue()
|
| /tools/testing/vsock/ |
| A D | vsock_test.c | 302 recv_buf(fd, buf_peek, sizeof(buf_peek), MSG_PEEK | MSG_DONTWAIT, in test_msg_peek_server() 308 recv_buf(fd, buf_half, sizeof(buf_half), MSG_PEEK, sizeof(buf_half)); in test_msg_peek_server() 311 recv_buf(fd, buf_peek, sizeof(buf_peek), MSG_PEEK, sizeof(buf_peek)); in test_msg_peek_server() 324 recv_buf(fd, buf_half, sizeof(buf_half), MSG_PEEK | MSG_TRUNC, in test_msg_peek_server() 1494 res = recv(fd, buf, buf_size, MSG_PEEK); in test_stream_credit_update_test()
|
| /tools/testing/selftests/bpf/ |
| A D | netlink_helpers.c | 117 len = __rtnl_recvmsg(fd, msg, MSG_PEEK | MSG_TRUNC); in rtnl_recvmsg()
|
| A D | xsk.c | 347 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in netlink_recv()
|
| A D | test_sockmap.c | 755 flags |= MSG_PEEK; in msg_loop()
|
| /tools/perf/trace/beauty/include/linux/ |
| A D | socket.h | 305 #define MSG_PEEK 2 macro
|
| /tools/testing/selftests/net/mptcp/ |
| A D | mptcp_connect.c | 592 ret = recv(fd, buf, cap, MSG_PEEK); in do_rnd_read() 595 ret = recv(fd, buf, cap, MSG_PEEK); in do_rnd_read()
|
| /tools/lib/bpf/ |
| A D | netlink.c | 153 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in libbpf_netlink_recv()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | sockmap_basic.c | 664 recvd = recv(c1, rcv, sizeof(rcv), MSG_PEEK); in test_sockmap_skb_verdict_peek_helper()
|
| /tools/testing/selftests/coredump/ |
| A D | stackdump_test.c | 643 ret = recv(fd, req, field_size, MSG_PEEK | MSG_WAITALL); in read_coredump_req()
|
Completed in 34 milliseconds