Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd-network/
Dsd-dhcp6-lease.c43 uint32_t t1 = UINT32_MAX, t2 = UINT32_MAX, min_valid_lt = UINT32_MAX; in dhcp6_lease_set_lifetime() local
53 min_valid_lt = MIN(min_valid_lt, be32toh(a->iaaddr.lifetime_valid)); in dhcp6_lease_set_lifetime()
61 min_valid_lt = MIN(min_valid_lt, be32toh(a->iapdprefix.lifetime_valid)); in dhcp6_lease_set_lifetime()
64 if (t2 == 0 || t2 > min_valid_lt) { in dhcp6_lease_set_lifetime()
67 t1 = min_valid_lt / 2; in dhcp6_lease_set_lifetime()
68 t2 = min_valid_lt / 10 * 8; in dhcp6_lease_set_lifetime()
71 lease->lifetime_valid = sec2usec(min_valid_lt); in dhcp6_lease_set_lifetime()