Home
last modified time | relevance | path

Searched refs:in_pktinfo (Results 1 – 7 of 7) sorted by relevance

/external/dnsmasq/src/
Dforward.c38 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in send_from()
68 struct in_pktinfo *pkt = (struct in_pktinfo *)CMSG_DATA(cmptr); in send_from()
71 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in send_from()
581 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in receive_query()
642 dst_addr_4 = dst_addr.addr.addr4 = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; in receive_query()
643 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in receive_query()
Ddhcp.c120 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in dhcp_packet()
178 iface_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in dhcp_packet()
179 if (((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_addr.s_addr != INADDR_BROADCAST) in dhcp_packet()
291 struct in_pktinfo *pkt; in dhcp_packet()
295 pkt = (struct in_pktinfo *)CMSG_DATA(cmptr); in dhcp_packet()
298 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
Dtftp.c61 char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; in tftp_request()
102 addr.sin_addr = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst; in tftp_request()
103 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in tftp_request()
/external/ipsec-tools/src/racoon/
Dsockmisc.c463 struct in_pktinfo *pi = (struct in_pktinfo *)(CMSG_DATA(cm));
636 struct in_pktinfo *pi;
654 m.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
656 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));
659 pi = (struct in_pktinfo *)CMSG_DATA(cm);
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c573 struct in_pktinfo in recvfrom_flags() struct
582 struct in_pktinfo *tmp; in recvfrom_flags()
585 tmp = (struct in_pktinfo *) CMSG_DATA(cmptr); in recvfrom_flags()
/external/kernel-headers/original/linux/
Din.h169 struct in_pktinfo struct
/external/ping/
Dping.c958 struct in_pktinfo ipi;
959 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO},