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