Home
last modified time | relevance | path

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

/systemd-251/src/network/
Dnetworkd-dhcp-prefix-delegation.c376 FORMAT_LIFETIME(address->lifetime_valid_usec), in log_dhcp_pd_address()
384 usec_t lifetime_valid_usec) { in dhcp_pd_request_address() argument
414 address->lifetime_valid_usec = lifetime_valid_usec; in dhcp_pd_request_address()
524 usec_t lifetime_valid_usec, in dhcp_pd_assign_subnet_prefix() argument
545 … r = radv_add_prefix(link, &prefix, 64, lifetime_preferred_usec, lifetime_valid_usec); in dhcp_pd_assign_subnet_prefix()
553 r = dhcp_pd_request_route(link, &prefix, lifetime_valid_usec); in dhcp_pd_assign_subnet_prefix()
559 r = dhcp_pd_request_address(link, &prefix, lifetime_preferred_usec, lifetime_valid_usec); in dhcp_pd_assign_subnet_prefix()
1054 usec_t lifetime_preferred_usec, lifetime_valid_usec; in dhcp6_pd_assign_subnet_prefixes() local
1072 lifetime_valid_usec = usec_add(lifetime_valid_sec * USEC_PER_SEC, timestamp_usec); in dhcp6_pd_assign_subnet_prefixes()
1075 lifetime_preferred_usec, lifetime_valid_usec, in dhcp6_pd_assign_subnet_prefixes()
[all …]
Dnetworkd-dhcp6.c184 FORMAT_LIFETIME(address->lifetime_valid_usec), in verify_dhcp6_address()
196 FORMAT_LIFETIME(address->lifetime_valid_usec), in verify_dhcp6_address()
206 usec_t lifetime_valid_usec) { in dhcp6_request_address() argument
223 addr->lifetime_valid_usec = lifetime_valid_usec; in dhcp6_request_address()
Dnetworkd-ndisc.c400 usec_t lifetime_valid_usec, lifetime_preferred_usec, timestamp_usec; in ndisc_router_process_autonomous_prefix() local
451 lifetime_valid_usec = usec_add(lifetime_valid_sec * USEC_PER_SEC, timestamp_usec); in ndisc_router_process_autonomous_prefix()
470 address->lifetime_valid_usec = lifetime_valid_usec; in ndisc_router_process_autonomous_prefix()
480 if (e->lifetime_valid_usec < timestamp_usec) in ndisc_router_process_autonomous_prefix()
Dnetworkd-radv.h68 usec_t lifetime_preferred_usec, usec_t lifetime_valid_usec);
Dnetworkd-address.c68 .lifetime_valid_usec = USEC_INFINITY, in address_new()
224 … .ifa_valid = MIN(usec_sub_unsigned(a->lifetime_valid_usec, now_usec) / USEC_PER_SEC, UINT32_MAX), in address_set_cinfo()
240 a->lifetime_valid_usec = USEC_INFINITY; in address_set_lifetime()
242 a->lifetime_valid_usec = usec_add(cinfo->ifa_valid * USEC_PER_SEC, now_usec); in address_set_lifetime()
671 FORMAT_LIFETIME(address->lifetime_valid_usec), in log_address_debug()
1189 existing->lifetime_valid_usec = address->lifetime_valid_usec; in link_request_address()
Dnetworkd-address.h51 usec_t lifetime_valid_usec; member
Dnetworkd-radv.c661 usec_t lifetime_valid_usec) { in radv_add_prefix() argument
683 … r = sd_radv_prefix_set_valid_lifetime(p, RADV_DEFAULT_VALID_LIFETIME_USEC, lifetime_valid_usec); in radv_add_prefix()
Dnetworkd-json.c54 … JSON_BUILD_PAIR_FINITE_USEC("ValidLifetimeUsec", address->lifetime_valid_usec), in address_build_json()
Dnetworkd-dhcp4.c908 addr->lifetime_valid_usec = lifetime_usec; in dhcp4_request_address()
/systemd-251/src/libsystemd-network/
Dsd-radv.c211 usec_t lifetime_valid_usec, lifetime_preferred_usec; in radv_send() local
213 lifetime_valid_usec = MIN(usec_sub_unsigned(p->valid_until, time_now), in radv_send()
214 p->lifetime_valid_usec); in radv_send()
218 lifetime_valid_usec); in radv_send()
220 p->opt.lifetime_valid = usec_to_be32_sec(lifetime_valid_usec); in radv_send()
629 FORMAT_TIMESPAN(p->lifetime_valid_usec, USEC_PER_SEC)); in sd_radv_add_prefix()
865 .lifetime_valid_usec = RADV_DEFAULT_VALID_LIFETIME_USEC, in sd_radv_prefix_new()
932 p->lifetime_valid_usec = lifetime_usec; in sd_radv_prefix_set_valid_lifetime()
Dradv-internal.h140 usec_t lifetime_valid_usec; member