Lines Matching refs:lifetime
284 uint32_t lifetime) {
291 assert(lifetime);
301 addr->cinfo.ifa_prefered = lifetime;
302 addr->cinfo.ifa_valid = lifetime;
306 /* allow reusing an existing address and simply update its lifetime
319 uint32_t lifetime = CACHE_INFO_INFINITY_LIFE_TIME;
344 r = sd_dhcp_lease_get_lifetime(link->dhcp_lease, &lifetime);
346 return log_link_warning_errno(link, r, "DHCP error: no lifetime: %m");
349 r = dhcp4_update_address(link, &address, &netmask, lifetime);
365 uint32_t lifetime = CACHE_INFO_INFINITY_LIFE_TIME;
452 r = sd_dhcp_lease_get_lifetime(link->dhcp_lease, &lifetime);
454 log_link_warning_errno(link, r, "DHCP error: no lifetime: %m");
459 r = dhcp4_update_address(link, &address, &netmask, lifetime);