Lines Matching refs:is_used
720 if (!routers[i].is_used || in iface_router_lookup()
833 router->is_used = false; in iface_router_expired()
852 if (routers[i].is_used) { in iface_router_add()
856 routers[i].is_used = true; in iface_router_add()
920 if (!router->is_used) { in iface_router_rm()
931 router->is_used = false; in iface_router_rm()
944 router->is_used = false; in net_if_router_rm()
963 if (!routers[i].is_used || in iface_router_find_default()
1186 if (!ipv6->mcast[i].is_used || in leave_mcast_all()
1373 if (!ipv6->unicast[i].is_used || in net_if_start_dad()
1629 if (!ipv6->unicast[i].is_used) { in rejoin_ipv6_mcast_groups()
1640 if (!ipv6->mcast[i].is_used || in rejoin_ipv6_mcast_groups()
1679 if (!ipv6->mcast[i].is_used) { in clear_joined_ipv6_mcast_groups()
1798 if (!ipv6->unicast[i].is_used || in net_if_ipv6_addr_lookup()
1839 if (!ipv6->unicast[i].is_used || in net_if_ipv6_addr_lookup_by_iface()
1907 if (!ipv6->unicast[i].is_used) { in ipv6_addr_find()
1926 ifaddr->is_used = true; in net_if_addr_init()
1969 if (ipv6->unicast[i].is_used) { in net_if_ipv6_addr_add()
2148 if (!if_addr->is_used) { in net_if_ipv6_addr_foreach()
2184 if (ipv6->mcast[i].is_used) { in net_if_ipv6_maddr_add()
2188 ipv6->mcast[i].is_used = true; in net_if_ipv6_maddr_add()
2224 if (!ipv6->mcast[i].is_used) { in net_if_ipv6_maddr_rm()
2233 ipv6->mcast[i].is_used = false; in net_if_ipv6_maddr_rm()
2271 if (!ipv6->mcast[i].is_used) { in net_if_ipv6_maddr_foreach()
2303 if (!ipv6->mcast[i].is_used || in net_if_ipv6_maddr_lookup()
2365 if (!ipv6->unicast[i].is_used || in net_if_ipv6_get_ll()
2419 if (!ipv6->unicast[i].is_used || in check_global_addr()
2469 if (!ipv6->unicast[i].is_used || in remove_prefix_addresses()
2495 ifprefix->is_used = false; in prefix_lifetime_expired()
2615 if (!ipv6->prefix[i].is_used) { in ipv6_prefix_find()
2633 ifprefix->is_used = true; in net_if_ipv6_prefix_init()
2669 if (ipv6->prefix[i].is_used) { in net_if_ipv6_prefix_add()
2717 if (!ipv6->prefix[i].is_used) { in net_if_ipv6_prefix_rm()
2728 ipv6->prefix[i].is_used = false; in net_if_ipv6_prefix_rm()
2781 if (!ipv6->prefix[i].is_used) { in net_if_ipv6_prefix_get()
2815 if (!ipv6->prefix[i].is_used) { in net_if_ipv6_prefix_lookup()
2852 if (ipv6->prefix[i].is_used && in net_if_ipv6_addr_onlink()
2888 if (!prefix->is_used) { in net_if_ipv6_prefix_unset_timer()
3018 if (addr->is_used && addr->addr_state == NET_ADDR_PREFERRED && in is_proper_ipv6_address()
3294 if (ipv6->unicast[i].is_used && in iface_ipv6_stop()
3468 if (!ipv4->unicast[i].ipv4.is_used || in net_if_ipv4_addr_mask_cmp()
3505 if (!ipv4->unicast[i].ipv4.is_used || in ipv4_is_broadcast_address()
3570 if (addr->is_used && addr->addr_state == NET_ADDR_PREFERRED && in is_proper_ipv4_address()
3637 if (!ipv4->unicast[i].ipv4.is_used || in if_ipv4_get_addr()
3771 if (!ipv4->unicast[i].ipv4.is_used || in net_if_ipv4_addr_get_first_by_index()
3803 if (!ipv4->unicast[i].ipv4.is_used || in net_if_ipv4_addr_lookup()
3873 if (!ipv4->unicast[i].ipv4.is_used || in net_if_ipv4_get_netmask_by_addr()
3914 if (!ipv4->unicast[i].ipv4.is_used || in net_if_ipv4_set_netmask_by_addr()
3958 if (!ipv4->unicast[i].ipv4.is_used || in net_if_ipv4_get_netmask()
3995 if (!ipv4->unicast[i].ipv4.is_used || in net_if_ipv4_set_netmask_deprecated()
4169 if (!ipv4->unicast[i].ipv4.is_used) { in ipv4_addr_find()
4270 if (!ipv4->unicast[i].ipv4.is_used || in net_if_start_acd()
4327 if (!ipv4->unicast[i].ipv4.is_used) { in net_if_ipv4_addr_add()
4335 ifaddr->is_used = true; in net_if_ipv4_addr_add()
4509 if (!if_addr->is_used) { in net_if_ipv4_addr_foreach()
4521 bool is_used, in ipv4_maddr_find() argument
4531 if ((is_used && !ipv4->mcast[i].is_used) || in ipv4_maddr_find()
4532 (!is_used && ipv4->mcast[i].is_used)) { in ipv4_maddr_find()
4567 maddr->is_used = true; in net_if_ipv4_maddr_add()
4596 maddr->is_used = false; in net_if_ipv4_maddr_rm()
4632 if (!ipv4->mcast[i].is_used) { in net_if_ipv4_maddr_foreach()
4824 if (!ipv4->mcast[i].is_used || in leave_ipv4_mcast_all()
4865 if (!ipv4->mcast[i].is_used || in rejoin_ipv4_mcast_groups()
4904 if (!ipv4->mcast[i].is_used) { in clear_joined_ipv4_mcast_groups()
5004 if (!ipv6->unicast[i].is_used) { in get_ifaddr()
5046 if (!ipv4->unicast[i].ipv4.is_used) { in get_ifaddr()
5274 ifaddr->is_used = false; in net_if_addr_unref_debug()