Searched refs:ip_idx (Results 1 – 2 of 2) sorted by relevance
1541 int ip_idx, s_ip_idx; in inet_dump_ifaddr() local1549 s_ip_idx = ip_idx = cb->args[2]; in inet_dump_ifaddr()1566 for (ifa = in_dev->ifa_list, ip_idx = 0; ifa; in inet_dump_ifaddr()1567 ifa = ifa->ifa_next, ip_idx++) { in inet_dump_ifaddr()1568 if (ip_idx < s_ip_idx) in inet_dump_ifaddr()1588 cb->args[2] = ip_idx; in inet_dump_ifaddr()
4221 int ip_idx = *p_ip_idx; in in6_dump_addrs() local4230 if (++ip_idx < s_ip_idx) in in6_dump_addrs()4246 ifmca = ifmca->next, ip_idx++) { in in6_dump_addrs()4247 if (ip_idx < s_ip_idx) in in6_dump_addrs()4261 ifaca = ifaca->aca_next, ip_idx++) { in in6_dump_addrs()4262 if (ip_idx < s_ip_idx) in in6_dump_addrs()4277 *p_ip_idx = ip_idx; in in6_dump_addrs()4286 int idx, ip_idx; in inet6_dump_addr() local4294 s_ip_idx = ip_idx = cb->args[2]; in inet6_dump_addr()4306 ip_idx = 0; in inet6_dump_addr()[all …]