Home
last modified time | relevance | path

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

/external/iputils/ninfod/
Dninfod_addrs.c219 unsigned int addrs0 = 0, paddrs0 = 0; in pr_nodeinfo_ipv6addr() local
236 …if (addrs0 + 1 >= ((MAX_REPLY_SIZE - sizeof(struct icmp6_nodeinfo)) / (sizeof(uint32_t) + sizeof(s… in pr_nodeinfo_ipv6addr()
241 addrs0++; in pr_nodeinfo_ipv6addr()
256 p->replydatalen = (sizeof(uint32_t)+sizeof(struct in6_addr)) * addrs0; in pr_nodeinfo_ipv6addr()
261 addrs0 = paddrs0 = 0; in pr_nodeinfo_ipv6addr()
265 ifa && addrs < addrs0; in pr_nodeinfo_ipv6addr()
379 unsigned int addrs0 = 0, paddrs0 = 0; in pr_nodeinfo_ipv4addr() local
399 …if (addrs0 + 1 >= ((MAX_REPLY_SIZE - sizeof(struct icmp6_nodeinfo)) / (sizeof(uint32_t) + sizeof(s… in pr_nodeinfo_ipv4addr()
404 addrs0++; in pr_nodeinfo_ipv4addr()
416 p->replydatalen = (sizeof(uint32_t)+sizeof(struct in_addr)) * addrs0; in pr_nodeinfo_ipv4addr()
[all …]