Searched refs:lifetime_valid_sec (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/network/ |
D | networkd-dhcp-prefix-delegation.c | 62 uint32_t lifetime_preferred_sec, lifetime_valid_sec; in dhcp6_lease_has_pd_prefix() local 71 …lease_get_pd(lease, &pd_prefix, &pd_prefix_len, &lifetime_preferred_sec, &lifetime_valid_sec) >= 0; in dhcp6_lease_has_pd_prefix() 1053 uint32_t lifetime_preferred_sec, lifetime_valid_sec; in dhcp6_pd_assign_subnet_prefixes() local 1059 &lifetime_preferred_sec, &lifetime_valid_sec); in dhcp6_pd_assign_subnet_prefixes() 1072 lifetime_valid_usec = usec_add(lifetime_valid_sec * USEC_PER_SEC, timestamp_usec); in dhcp6_pd_assign_subnet_prefixes() 1103 uint32_t lifetime_preferred_sec, lifetime_valid_sec; in dhcp6_pd_prefix_acquired() local 1109 &lifetime_preferred_sec, &lifetime_valid_sec); in dhcp6_pd_prefix_acquired() 1118 lifetime_valid_usec = usec_add(lifetime_valid_sec * USEC_PER_SEC, timestamp_usec); in dhcp6_pd_prefix_acquired()
|
D | networkd-ndisc.c | 399 uint32_t lifetime_valid_sec, lifetime_preferred_sec; in ndisc_router_process_autonomous_prefix() local 434 r = sd_ndisc_router_prefix_get_valid_lifetime(rt, &lifetime_valid_sec); in ndisc_router_process_autonomous_prefix() 438 if (lifetime_valid_sec == 0) { in ndisc_router_process_autonomous_prefix() 448 if (lifetime_preferred_sec > lifetime_valid_sec) in ndisc_router_process_autonomous_prefix() 451 lifetime_valid_usec = usec_add(lifetime_valid_sec * USEC_PER_SEC, timestamp_usec); in ndisc_router_process_autonomous_prefix()
|
D | networkd-dhcp6.c | 266 uint32_t lifetime_preferred_sec, lifetime_valid_sec; in dhcp6_address_acquired() local 269 …hcp6_lease_get_address(link->dhcp6_lease, &ip6_addr, &lifetime_preferred_sec, &lifetime_valid_sec); in dhcp6_address_acquired() 275 … usec_add(lifetime_valid_sec * USEC_PER_SEC, timestamp_usec)); in dhcp6_address_acquired()
|