Home
last modified time | relevance | path

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

/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc37 } else if (cmsg->cmsg_type == IP_PKTINFO) { in GetAddressFromMsghdr()
73 return setsockopt(fd, IPPROTO_IP, IP_PKTINFO, in SetGetAddressInfo()
174 cmsg->cmsg_type = IP_PKTINFO; in WritePacket()
Dquic_server.cc113 rc = setsockopt(fd_, IPPROTO_IP, IP_PKTINFO, in Listen()
Dquic_client.cc98 rc = setsockopt(fd_, IPPROTO_IP, IP_PKTINFO, in Initialize()
/external/kernel-headers/original/linux/
Din.h65 #define IP_PKTINFO 8 macro
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c571 #ifdef IP_PKTINFO in recvfrom_flags()
581 cmptr->cmsg_type == IP_PKTINFO) { in recvfrom_flags()
DmDNSPosix.c264 #if HAVE_BROKEN_RECVDSTADDR || (!defined(IP_PKTINFO) && !defined(IP_RECVDSTADDR)) in SocketDataReady()
649 #if defined(IP_PKTINFO) // Linux in SetupSocket()
650 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()
640 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in receive_query()
Dnetwork.c351 setsockopt(fd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 || in create_wildcard_listeners()
369 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/ipsec-tools/src/racoon/
Dsockmisc.c461 && cm->cmsg_type == IP_PKTINFO
658 cm->cmsg_type = IP_PKTINFO;
Disakmp.c1640 IP_PKTINFO, in isakmp_open()
/external/strace/
Dnet.c770 #ifdef IP_PKTINFO
771 { IP_PKTINFO, "IP_PKTINFO" },
/external/iputils/
Dping.c109 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},
/external/iproute2/doc/
Dip-cref.tex2728 \verb|IP_PKTINFO|. In this case the kernel only checks the validity