Home
last modified time | relevance | path

Searched refs:IP_PKTINFO (Results 1 – 25 of 49) sorted by relevance

12

/external/strace/xlat/
Dip_cmsg_types.h34 #if defined(IP_PKTINFO) || (defined(HAVE_DECL_IP_PKTINFO) && HAVE_DECL_IP_PKTINFO)
36 static_assert((IP_PKTINFO) == (8), "IP_PKTINFO != 8");
39 # define IP_PKTINFO 8
77 XLAT(IP_PKTINFO),
Dsock_ip_options.h47 #if defined(IP_PKTINFO) || (defined(HAVE_DECL_IP_PKTINFO) && HAVE_DECL_IP_PKTINFO)
48 XLAT(IP_PKTINFO),
Dip_cmsg_types.in5 IP_PKTINFO 8
Dsock_ip_options.in11 IP_PKTINFO
/external/strace/tests-mx32/
Dinet-cmsg.c118 SETSOCKOPT(0, IP_PKTINFO); in main()
166 case IP_PKTINFO: in main()
/external/strace/tests/
Dinet-cmsg.c118 SETSOCKOPT(0, IP_PKTINFO); in main()
166 case IP_PKTINFO: in main()
/external/strace/tests-m32/
Dinet-cmsg.c118 SETSOCKOPT(0, IP_PKTINFO); in main()
166 case IP_PKTINFO: in main()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_linux_socket_utils.cc50 self_address, GetNextCmsgData<in_pktinfo>(IPPROTO_IP, IP_PKTINFO)); in SetIpInNextCmsg()
113 self_address, GetNextCmsgData<in_pktinfo>(i, IPPROTO_IP, IP_PKTINFO)); in SetIpInNextCmsg()
238 cmsg->cmsg_type = IP_PKTINFO; in SetIpInfoInCmsg()
Dquic_udp_socket_posix.cc143 if (cmsg->cmsg_level == IPPROTO_IP && cmsg->cmsg_type == IP_PKTINFO) { in PopulatePacketInfoFromControlMessage()
351 return 0 == setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &get_self_ip, in EnableReceiveSelfIpAddressForV4()
634 IP_PKTINFO, sizeof(in_pktinfo), &cmsg)) { in WritePacket()
Dquic_linux_socket_utils_test.cc61 EXPECT_EQ(cmsg->cmsg_type, is_ipv4 ? IP_PKTINFO : IPV6_PKTINFO); in CheckIpAndTtlInCbuf()
112 EXPECT_EQ(cmsg->cmsg_type, is_ipv4 ? IP_PKTINFO : IPV6_PKTINFO); in CheckIpAndGsoSizeInCbuf()
/external/oss-fuzz/projects/dnsmasq/
Dfuzz_patch.patch61 - if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_PKTINFO)
79 + if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_PKTINFO)
/external/linux-kselftest/tools/testing/selftests/net/
Dtimestamping.c238 case IP_PKTINFO: { in printpacket()
465 if (setsockopt(sock, SOL_IP, IP_PKTINFO, in main()
Dtxtimestamp.c336 cm->cmsg_type == IP_PKTINFO) { in __recv_errmsg_cmsg()
557 if (setsockopt(fd, SOL_IP, IP_PKTINFO, in do_test()
Dnettest.c420 rc = setsockopt(sd, SOL_IP, IP_PKTINFO, &one, sizeof(one)); in set_pktinfo_v4()
869 cm->cmsg_type == IP_PKTINFO) { in get_index_from_cmsg()
937 cm->cmsg_type = IP_PKTINFO; in send_msg_cmsg()
/external/iproute2/include/uapi/linux/
Din.h97 #define IP_PKTINFO 8 macro
/external/libnl/include/linux-private/linux/
Din.h97 #define IP_PKTINFO 8 macro
/external/kernel-headers/original/uapi/linux/
Din.h104 #define IP_PKTINFO 8 macro
/external/dnsmasq/src/
Ddhcp.c45 setsockopt(fd, SOL_IP, IP_PKTINFO, &oneopt, sizeof(oneopt)) == -1 || in dhcp_init()
150 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) { in dhcp_packet()
240 cmptr->cmsg_type = IP_PKTINFO; in dhcp_packet()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c578 #ifdef IP_PKTINFO in recvfrom_flags()
588 cmptr->cmsg_type == IP_PKTINFO) { in recvfrom_flags()
/external/openscreen/platform/impl/
Dudp_socket_posix.cc273 if (setsockopt(handle_.fd, IPPROTO_IP, IP_PKTINFO, &enable_pktinfo, in JoinMulticastGroup()
373 return cmh->cmsg_level == IPPROTO_IP && cmh->cmsg_type == IP_PKTINFO; in IsPacketInfo()
/external/musl/include/netinet/
Din.h186 #define IP_PKTINFO 8 macro
/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc91 if (0 != setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &get_local_ip, in grpc_set_socket_ip_pktinfo_if_possible()
/external/strace/
Dmsghdr.c224 [IP_PKTINFO] = { print_cmsg_ip_pktinfo, sizeof(struct in_pktinfo) },
/external/python/cpython2/Lib/plat-linux2/
DIN.py492 IP_PKTINFO = 8 variable
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc116 if (0 != setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &get_local_ip, in grpc_set_socket_ip_pktinfo_if_possible()

12