Home | History | Annotate | Download | only in ninfod

Lines Matching full:in_addr

316 int filter_ipv4addr(const struct in_addr *ifaddr, unsigned int flags)
328 if (subject && subjlen != sizeof(struct in_addr)) {
346 if ((((struct in_addr *)subject)->s_addr != htonl(INADDR_LOOPBACK)) &&
347 memcmp((struct in_addr *)ifa->ifa_addr,
348 (struct in_addr *)subject,
349 sizeof(struct in_addr)) == 0) {
396 if (filter_ipv4addr((struct in_addr *)ifa->ifa_addr, flags))
399 if (addrs0 + 1 >= ((MAX_REPLY_SIZE - sizeof(struct icmp6_nodeinfo)) / (sizeof(uint32_t) + sizeof(struct in_addr)))) {
416 p->replydatalen = (sizeof(uint32_t)+sizeof(struct in_addr)) * addrs0;
439 if (filter_ipv4addr((struct in_addr *)ifa->ifa_addr, flags))
454 (sizeof(uint32_t)+sizeof(struct in_addr)) * (ifa->ifa_flags & IFA_F_DEPRECATED ? paddrs0+daddrs : paddrs));
456 memcpy(cp + sizeof(ttl), ifa->ifa_addr, sizeof(struct in_addr));