HomeSort by relevance Sort by last modified time
    Searched refs:cmptr (Results 1 - 4 of 4) sorted by null

  /external/dnsmasq/src/
tftp.c 94 struct cmsghdr *cmptr; local
99 for (cmptr = CMSG_FIRSTHDR(&msg); cmptr; cmptr = CMSG_NXTHDR(&msg, cmptr))
100 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO)
102 addr.sin_addr = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_spec_dst;
103 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex;
107 for (cmptr = CMSG_FIRSTHDR(&msg); cmptr; cmptr = CMSG_NXTHDR(&msg, cmptr)
    [all...]
forward.c 60 struct cmsghdr *cmptr; local
63 cmptr = CMSG_FIRSTHDR(&msg);
68 struct in_pktinfo *pkt = (struct in_pktinfo *)CMSG_DATA(cmptr);
71 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));
72 cmptr->cmsg_level = SOL_IP;
73 cmptr->cmsg_type = IP_PKTINFO;
75 struct in_addr *a = (struct in_addr *)CMSG_DATA(cmptr);
77 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_addr));
78 cmptr->cmsg_level = IPPROTO_IP;
79 cmptr->cmsg_type = IP_SENDSRCADDR
586 struct cmsghdr *cmptr; local
    [all...]
dhcp.c 110 struct cmsghdr *cmptr; local
175 for (cmptr = CMSG_FIRSTHDR(&msg); cmptr; cmptr = CMSG_NXTHDR(&msg, cmptr))
176 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO)
178 iface_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex;
179 if (((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_addr.s_addr != INADDR_BROADCAST)
185 for (cmptr = CMSG_FIRSTHDR(&msg); cmptr; cmptr = CMSG_NXTHDR(&msg, cmptr)
    [all...]
  /external/mdnsresponder/mDNSPosix/
mDNSUNP.c 524 struct cmsghdr *cmptr; local
575 for (cmptr = CMSG_FIRSTHDR(&msg); cmptr != NULL;
576 cmptr = CMSG_NXTHDR(&msg, cmptr)) {
587 if (cmptr->cmsg_level == IPPROTO_IP &&
588 cmptr->cmsg_type == IP_PKTINFO) {
592 tmp = (struct in_pktinfo *) CMSG_DATA(cmptr);
602 if (cmptr->cmsg_level == IPPROTO_IP &&
603 cmptr->cmsg_type == IP_RECVDSTADDR)
    [all...]

Completed in 276 milliseconds