Lines Matching refs:lifetime
774 ends += MSEC_PER_SEC * router->lifetime; in iface_router_ends()
844 uint16_t lifetime) in iface_router_add() argument
860 if (lifetime) { in iface_router_add()
863 routers[i].lifetime = lifetime; in iface_router_add()
873 routers[i].lifetime = 0; in iface_router_add()
887 lifetime, routers[i].is_default); in iface_router_add()
901 lifetime, is_default); in iface_router_add()
1696 &ifaddr->lifetime.node); in address_expired()
1698 net_timeout_set(&ifaddr->lifetime, 0, 0); in address_expired()
1722 current, next, lifetime.node) { in address_lifetime_timeout()
1723 struct net_timeout *timeout = ¤t->lifetime; in address_lifetime_timeout()
1763 &ifaddr->lifetime.node); in address_start_timer()
1766 &ifaddr->lifetime.node); in address_start_timer()
1768 net_timeout_set(&ifaddr->lifetime, vlifetime, k_uptime_get_32()); in address_start_timer()
2511 info.lifetime = 0; in prefix_lifetime_expired()
2533 &ifprefix->lifetime.node); in prefix_timer_remove()
2535 net_timeout_set(&ifprefix->lifetime, 0, 0); in prefix_timer_remove()
2554 current, next, lifetime.node) { in prefix_lifetime_timeout()
2555 struct net_timeout *timeout = ¤t->lifetime; in prefix_lifetime_timeout()
2562 ¤t->lifetime.node); in prefix_lifetime_timeout()
2564 ¤t->lifetime.node); in prefix_lifetime_timeout()
2583 SYS_SLIST_FOR_EACH_CONTAINER(&expired_list, current, lifetime.node) { in prefix_lifetime_timeout()
2589 uint32_t lifetime) in prefix_start_timer() argument
2594 &ifprefix->lifetime.node); in prefix_start_timer()
2596 &ifprefix->lifetime.node); in prefix_start_timer()
2598 net_timeout_set(&ifprefix->lifetime, lifetime, k_uptime_get_32()); in prefix_start_timer()
2631 uint32_t lifetime) in net_if_ipv6_prefix_init() argument
2638 if (lifetime == NET_IPV6_ND_INFINITE_LIFETIME) { in net_if_ipv6_prefix_init()
2648 uint32_t lifetime) in net_if_ipv6_prefix_add() argument
2674 len, lifetime); in net_if_ipv6_prefix_add()
2684 info.lifetime = lifetime; in net_if_ipv6_prefix_add()
2740 info.lifetime = 0; in net_if_ipv6_prefix_rm()
2874 uint32_t lifetime) in net_if_ipv6_prefix_set_timer() argument
2877 if (lifetime == 0xffffffff) { in net_if_ipv6_prefix_set_timer()
2881 NET_DBG("Prefix lifetime %u sec", lifetime); in net_if_ipv6_prefix_set_timer()
2883 prefix_start_timer(prefix, lifetime); in net_if_ipv6_prefix_set_timer()
2908 uint16_t lifetime) in net_if_ipv6_router_update_lifetime() argument
2912 lifetime); in net_if_ipv6_router_update_lifetime()
2915 router->lifetime = lifetime; in net_if_ipv6_router_update_lifetime()
2922 uint16_t lifetime) in net_if_ipv6_router_add() argument
2924 return iface_router_add(iface, AF_INET6, addr, false, lifetime); in net_if_ipv6_router_add()
4786 uint16_t lifetime) in net_if_ipv4_router_add() argument
4788 return iface_router_add(iface, AF_INET, addr, is_default, lifetime); in net_if_ipv4_router_add()
5085 &ifaddr->lifetime.node); in remove_ipv6_ifaddr()