Searched refs:MSG_TRUNC (Results 1 – 9 of 9) sorted by relevance
/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 171 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp() 233 ret = recvmsg(fd, &msg, MSG_TRUNC | MSG_DONTWAIT); in recv_msg() 257 ret = recv(fd, rbuf, len, MSG_TRUNC | MSG_DONTWAIT); in do_flush_udp()
|
D | ipv6_flowlabel.c | 122 if (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
|
D | msg_zerocopy.c | 616 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp() 635 ret = recv(fd, buf, sizeof(buf), MSG_DONTWAIT | MSG_TRUNC); in do_flush_datagram()
|
D | rxtimestamp.c | 204 if (hdr.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
|
/tools/testing/vsock/ |
D | vsock_test.c | 359 MSG_TRUNC); in test_msg_peek_server() 592 ssize_t ret = recvmsg(fd, &msg, MSG_TRUNC); in test_seqpacket_msg_trunc_server() 600 if (!(msg.msg_flags & MSG_TRUNC)) { in test_seqpacket_msg_trunc_server()
|
/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 309 #define MSG_TRUNC 0x20 macro
|
/tools/testing/selftests/net/af_unix/ |
D | scm_pidfd.c | 156 if (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) { in cmsg_check()
|
/tools/testing/selftests/bpf/ |
D | xsk.c | 344 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in netlink_recv()
|
/tools/lib/bpf/ |
D | netlink.c | 153 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in libbpf_netlink_recv()
|