Home
last modified time | relevance | path

Searched refs:MSG_TRUNC (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/net/
Dudpgso_bench_rx.c171 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()
Dipv6_flowlabel.c122 if (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
Dmsg_zerocopy.c616 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()
Drxtimestamp.c204 if (hdr.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
/tools/testing/vsock/
Dvsock_test.c359 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/
Dsocket.h309 #define MSG_TRUNC 0x20 macro
/tools/testing/selftests/net/af_unix/
Dscm_pidfd.c156 if (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) { in cmsg_check()
/tools/testing/selftests/bpf/
Dxsk.c344 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in netlink_recv()
/tools/lib/bpf/
Dnetlink.c153 len = netlink_recvmsg(sock, &mhdr, MSG_PEEK | MSG_TRUNC); in libbpf_netlink_recv()