Home
last modified time | relevance | path

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

/external/strace/xlat/
Dip_cmsg_types.h14 #if !(defined(IP_PKTINFO) || (defined(HAVE_DECL_IP_PKTINFO) && HAVE_DECL_IP_PKTINFO))
15 # define IP_PKTINFO 8 macro
39 XLAT(IP_PKTINFO),
Dsockipoptions.h41 #if defined(IP_PKTINFO) || (defined(HAVE_DECL_IP_PKTINFO) && HAVE_DECL_IP_PKTINFO)
42 XLAT(IP_PKTINFO),
Dip_cmsg_types.in5 IP_PKTINFO 8
Dsockipoptions.in11 IP_PKTINFO
/external/avahi/avahi-core/
Dsocket.c227 #ifdef IP_PKTINFO in ipv4_pktinfo()
229 if (setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &yes, sizeof(yes)) < 0) { in ipv4_pktinfo()
481 #ifdef IP_PKTINFO in avahi_send_dns_packet_ipv4()
512 #ifdef IP_PKTINFO in avahi_send_dns_packet_ipv4()
523 cmsg->cmsg_type = IP_PKTINFO; in avahi_send_dns_packet_ipv4()
725 #ifdef IP_PKTINFO in avahi_recv_dns_packet_ipv4()
726 case IP_PKTINFO: { in avahi_recv_dns_packet_ipv4()
/external/strace/tests/
Dinet-cmsg.c118 SETSOCKOPT(0, IP_PKTINFO); in main()
165 case IP_PKTINFO: in main()
/external/iproute2/include/linux/
Din.h96 #define IP_PKTINFO 8 macro
/external/kernel-headers/original/uapi/linux/
Din.h96 #define IP_PKTINFO 8 macro
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c578 #ifdef IP_PKTINFO in recvfrom_flags()
588 cmptr->cmsg_type == IP_PKTINFO) { in recvfrom_flags()
DmDNSPosix.c271 #if HAVE_BROKEN_RECVDSTADDR || (!defined(IP_PKTINFO) && !defined(IP_RECVDSTADDR)) in SocketDataReady()
667 #if defined(IP_PKTINFO) // Linux in SetupSocket()
668 err = setsockopt(*sktPtr, IPPROTO_IP, IP_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket()
/external/dnsmasq/src/
Ddhcp.c47 setsockopt(fd, SOL_IP, IP_PKTINFO, &oneopt, sizeof(oneopt)) == -1 || in dhcp_init()
176 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in dhcp_packet()
300 cmptr->cmsg_type = IP_PKTINFO; in dhcp_packet()
Dforward.c73 cmptr->cmsg_type = IP_PKTINFO; in send_from()
652 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in receive_query()
Dnetwork.c365 setsockopt(fd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
383 setsockopt(tftpfd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
Dtftp.c100 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in tftp_request()
/external/toybox/toys/pending/
Dtcpsvd.c249 if (TT.udp) setsockopt(sockfd, IPPROTO_IP, IP_PKTINFO, &set, sizeof(set)); in create_bind_sock()
/external/ipsec-tools/src/racoon/
Dsockmisc.c461 && cm->cmsg_type == IP_PKTINFO
658 cm->cmsg_type = IP_PKTINFO;
Disakmp.c1638 IP_PKTINFO, in isakmp_open()
/external/netperf/src/
Dnettest_omni.c713 #ifdef IP_PKTINFO
2843 #ifdef IP_PKTINFO in send_pktinfo()
2863 cmsg->cmsg_type = IP_PKTINFO; in send_pktinfo()
3085 #ifdef IP_PKTINFO in recv_pktinfo()
3108 setsockopt(data_socket, IPPROTO_IP, IP_PKTINFO, &onoff, sizeof(onoff)); in recv_pktinfo()
3119 if (cmsg->cmsg_level == IPPROTO_IP && cmsg->cmsg_type == IP_PKTINFO) { in recv_pktinfo()
3127 setsockopt(data_socket, IPPROTO_IP, IP_PKTINFO, &onoff, sizeof(onoff)); in recv_pktinfo()
/external/iputils/
Dping.c109 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},
/external/strace/
Dnet.c496 case IP_PKTINFO: in print_cmsg_type_data()
/external/c-ares/
Dacinclude.m4313 int dummy=2*IP_PKTINFO;
Dconfigure16294 int dummy=2*IP_PKTINFO;
18241 int dummy=2*IP_PKTINFO;
/external/curl/
Dacinclude.m4330 int dummy=2*IP_PKTINFO;
/external/iproute2/doc/
Dip-cref.tex2812 \verb|IP_PKTINFO|. In this case the kernel only checks the validity