Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd-network/
Dsd-dhcp6-client.c988 usec_t lifetime_t1, lifetime_t2, lifetime_valid; in client_enter_bound_state() local
1002 r = dhcp6_lease_get_lifetime(client->lease, &lifetime_t1, &lifetime_t2, &lifetime_valid); in client_enter_bound_state()
1006 lifetime_t2 = client_timeout_compute_random(lifetime_t2); in client_enter_bound_state()
1007 lifetime_t1 = client_timeout_compute_random(MIN(lifetime_t1, lifetime_t2)); in client_enter_bound_state()
1023 if (lifetime_t2 == USEC_INFINITY) { in client_enter_bound_state()
1027 … log_dhcp6_client(client, "T2 expires in %s", FORMAT_TIMESPAN(lifetime_t2, USEC_PER_SEC)); in client_enter_bound_state()
1030 lifetime_t2, 10 * USEC_PER_SEC, in client_enter_bound_state()
Dsd-dhcp6-lease.c50 t2 = MIN(t2, be32toh(lease->ia_na->header.lifetime_t2)); in dhcp6_lease_set_lifetime()
58 t2 = MIN(t2, be32toh(lease->ia_pd->header.lifetime_t2)); in dhcp6_lease_set_lifetime()
73 lease->lifetime_t2 = sec2usec(t2); in dhcp6_lease_set_lifetime()
85 *ret_t2 = lease->lifetime_t2; in dhcp6_lease_get_lifetime()
Ddhcp6-lease-internal.h27 usec_t lifetime_t2; member
Ddhcp6-option.h59 be32_t lifetime_t2; member
Ddhcp6-option.c734 lt_t2 = be32toh(ia->header.lifetime_t2); in dhcp6_option_parse_ia()
Dtest-dhcp6-client.c367 assert_se(memcmp(&ia->header.lifetime_t2, &option4[12], 4) == 0); in TEST()