/external/strace/xlat/ |
D | msg_flags.h | 41 #if defined(MSG_TRUNC) || (defined(HAVE_DECL_MSG_TRUNC) && HAVE_DECL_MSG_TRUNC) 43 static_assert((MSG_TRUNC) == (0x20), "MSG_TRUNC != 0x20"); 46 # define MSG_TRUNC 0x20 190 XLAT(MSG_TRUNC),
|
D | msg_flags.in | 7 MSG_TRUNC 0x20
|
/external/iptables/include/libipulog/ |
D | libipulog.h | 18 #ifndef MSG_TRUNC 19 #define MSG_TRUNC 0x20 macro
|
/external/iptables/include/libipq/ |
D | libipq.h | 44 #ifndef MSG_TRUNC 45 #define MSG_TRUNC 0x20 macro
|
/external/dnsmasq/src/ |
D | netlink.c | 86 … while ((rc = recvmsg(daemon->netlinkfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR) in netlink_recv() 90 if (rc != -1 && (msg.msg_flags & MSG_TRUNC)) { in netlink_recv() 109 if (msg.msg_flags & MSG_TRUNC) { in netlink_recv()
|
D | dhcp.c | 116 while ((sz = recvmsg(daemon->dhcpfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR) in dhcp_packet() 121 if (!(msg.msg_flags & MSG_TRUNC)) break; in dhcp_packet() 144 if ((msg.msg_flags & MSG_TRUNC) || sz < (ssize_t)(sizeof(*mess) - sizeof(mess->options))) in dhcp_packet()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 168 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp() 231 ret = recvmsg(fd, &msg, MSG_TRUNC | MSG_DONTWAIT); in recv_msg() 256 ret = recv(fd, rbuf, len, MSG_TRUNC | MSG_DONTWAIT); in do_flush_udp()
|
D | ipv6_flowlabel.c | 97 if (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
|
D | msg_zerocopy.c | 610 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp() 629 ret = recv(fd, buf, sizeof(buf), MSG_DONTWAIT | MSG_TRUNC); in do_flush_datagram()
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | recv_msg_trunc.cc | 31 assert(recv(fd_1, buf, 1, MSG_TRUNC) != -1); in main()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | recv_msg_trunc.cpp | 31 assert(recv(fd_1, buf, 1, MSG_TRUNC) != -1); in main()
|
/external/python/cpython2/Lib/plat-os2emx/ |
D | SOCKET.py | 87 MSG_TRUNC = 0x10 variable
|
/external/iproute2/lib/ |
D | libnetlink.c | 497 if (msg.msg_flags & MSG_TRUNC) { in rtnl_dump_filter_l() 588 if (msg.msg_flags & MSG_TRUNC) { in __rtnl_talk() 639 if (msg.msg_flags & MSG_TRUNC) { in __rtnl_talk() 753 if (msg.msg_flags & MSG_TRUNC) { in rtnl_listen() 770 if (msg.msg_flags & MSG_TRUNC) { in rtnl_listen()
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 575 assert!(!msg.flags.intersects(MsgFlags::MSG_TRUNC | MsgFlags::MSG_CTRUNC)); in test_scm_rights() 878 assert!(!msg.flags.intersects(MsgFlags::MSG_TRUNC | MsgFlags::MSG_CTRUNC)); in test_scm_rights_single_cmsg_multiple_fds() 932 assert!(!msg.flags.intersects(MsgFlags::MSG_TRUNC | MsgFlags::MSG_CTRUNC)); in test_sendmsg_empty_cmsgs() 995 assert!(!msg.flags.intersects(MsgFlags::MSG_TRUNC | MsgFlags::MSG_CTRUNC)); in test_scm_credentials() 1087 assert!(!msg.flags.intersects(MsgFlags::MSG_TRUNC | MsgFlags::MSG_CTRUNC)); in test_impl_scm_credentials_and_rights() 1266 .intersects(MsgFlags::MSG_TRUNC | MsgFlags::MSG_CTRUNC) in test_recv_ipv4pktinfo() 1357 .intersects(MsgFlags::MSG_TRUNC | MsgFlags::MSG_CTRUNC) in test_recvif() 1467 .intersects(MsgFlags::MSG_TRUNC | MsgFlags::MSG_CTRUNC) in test_recv_ipv6pktinfo()
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 154 || (msg.msg_flags & MSG_TRUNC)) in nl_recvmsg() 180 if (read_size < 0 || (msg_flags & MSG_TRUNC)) { in nl_getmsg()
|
/external/selinux/libselinux/src/ |
D | avc_internal.c | 149 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > (unsigned)rc) { in avc_netlink_receive()
|
/external/libnfnetlink/src/ |
D | libnfnetlink.c | 697 if (msg.msg_flags & MSG_TRUNC) { in nfnl_listen() 726 if (msg.msg_flags & MSG_TRUNC) { in nfnl_listen() 815 if (msg.msg_flags & MSG_TRUNC) { in nfnl_talk() 858 if (msg.msg_flags & MSG_TRUNC) { in nfnl_talk()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 226 msg.msg_flags & ~MSG_TRUNC) in ClientEvent()
|
/external/libpcap/ |
D | pcap-haiku.cpp | 68 bytesReceived = recvfrom(handle->fd, buffer, handle->bufsize, MSG_TRUNC, in pcap_read_haiku()
|
/external/libchrome/base/posix/ |
D | unix_domain_socket.cc | 191 if (msg.msg_flags & MSG_TRUNC || msg.msg_flags & MSG_CTRUNC) { in RecvMsgWithFlags()
|
/external/libusb/libusb/os/ |
D | linux_netlink.c | 308 if (len < 32 || (msg.msg_flags & MSG_TRUNC)) { in linux_netlink_read_message()
|
/external/libnl/lib/ |
D | nl.c | 680 flags |= MSG_PEEK | MSG_TRUNC; in nl_recv() 739 if (iov.iov_len < n || (msg.msg_flags & MSG_TRUNC)) { in nl_recv()
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | rxtimestamp.c | 199 if (hdr.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
|
/external/iptables/libipq/ |
D | libipq.c | 186 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > status) { in ipq_netlink_recvfrom()
|
/external/crosvm/sys_util/src/ |
D | net.rs | 22 socklen_t, AF_INET, AF_INET6, MSG_PEEK, MSG_TRUNC, SOCK_CLOEXEC, SOCK_STREAM, 438 MSG_TRUNC | MSG_PEEK, in next_packet_size()
|