Home
last modified time | relevance | path

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

123

/external/strace/xlat/
Dmsg_flags.h41 #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),
Dmsg_flags.in7 MSG_TRUNC 0x20
/external/iptables/include/libipulog/
Dlibipulog.h18 #ifndef MSG_TRUNC
19 #define MSG_TRUNC 0x20 macro
/external/iptables/include/libipq/
Dlibipq.h44 #ifndef MSG_TRUNC
45 #define MSG_TRUNC 0x20 macro
/external/dnsmasq/src/
Dnetlink.c86 … 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()
Ddhcp.c116 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/
Dudpgso_bench_rx.c123 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp()
176 ret = recv(fd, rbuf, len, MSG_TRUNC | MSG_DONTWAIT); in do_flush_udp()
Dmsg_zerocopy.c610 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/
Drecv_msg_trunc.cc31 assert(recv(fd_1, buf, 1, MSG_TRUNC) != -1); in main()
/external/iproute2/lib/
Dlibnetlink.c497 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/syzkaller/sys/freebsd/
Dsocket_amd64.const57 MSG_TRUNC = 16
/external/python/cpython2/Lib/plat-os2emx/
DSOCKET.py87 MSG_TRUNC = 0x10 variable
/external/iputils/ninfod/
Dni_ifaddrs.c154 || (msg.msg_flags & MSG_TRUNC)) in nl_recvmsg()
180 if (read_size < 0 || (msg_flags & MSG_TRUNC)) { in nl_getmsg()
/external/libnfnetlink/src/
Dlibnfnetlink.c697 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/selinux/libselinux/src/
Davc_internal.c148 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > (unsigned)rc) { in avc_netlink_receive()
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_server.cc223 msg.msg_flags & ~MSG_TRUNC) in ClientEvent()
/external/syzkaller/sys/linux/
Dsocket_ppc64le.const143 MSG_TRUNC = 32
Dsocket_386.const143 MSG_TRUNC = 32
Dsocket_arm64.const143 MSG_TRUNC = 32
Dsocket_arm.const143 MSG_TRUNC = 32
Dsocket_amd64.const143 MSG_TRUNC = 32
/external/libnl/lib/
Dnl.c645 flags |= MSG_PEEK | MSG_TRUNC; in nl_recv()
694 if (iov.iov_len < n || (msg.msg_flags & MSG_TRUNC)) { in nl_recv()
/external/libchrome/base/posix/
Dunix_domain_socket.cc191 if (msg.msg_flags & MSG_TRUNC || msg.msg_flags & MSG_CTRUNC) { in RecvMsgWithFlags()
/external/libusb/libusb/os/
Dlinux_netlink.c317 if (len < 32 || (msg.msg_flags & MSG_TRUNC)) { in linux_netlink_read_message()
/external/iptables/libipq/
Dlibipq.c186 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > status) { in ipq_netlink_recvfrom()

123