Searched refs:timestamp_usec (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/network/ |
D | networkd-ndisc.c | 297 usec_t lifetime_usec, timestamp_usec; in ndisc_router_process_default() local 319 r = sd_ndisc_router_get_timestamp(rt, CLOCK_BOOTTIME, ×tamp_usec); in ndisc_router_process_default() 323 lifetime_usec = usec_add(timestamp_usec, lifetime_sec * USEC_PER_SEC); in ndisc_router_process_default() 400 usec_t lifetime_valid_usec, lifetime_preferred_usec, timestamp_usec; in ndisc_router_process_autonomous_prefix() local 413 r = sd_ndisc_router_get_timestamp(rt, CLOCK_BOOTTIME, ×tamp_usec); 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() 452 lifetime_preferred_usec = usec_add(lifetime_preferred_sec * USEC_PER_SEC, timestamp_usec); in ndisc_router_process_autonomous_prefix() 480 if (e->lifetime_valid_usec < timestamp_usec) in ndisc_router_process_autonomous_prefix() 494 usec_t timestamp_usec; in ndisc_router_process_onlink_prefix() local 513 r = sd_ndisc_router_get_timestamp(rt, CLOCK_BOOTTIME, ×tamp_usec); in ndisc_router_process_onlink_prefix() [all …]
|
D | networkd-dhcp-prefix-delegation.c | 1037 usec_t timestamp_usec; in dhcp6_pd_assign_subnet_prefixes() local 1048 r = sd_dhcp6_lease_get_timestamp(uplink->dhcp6_lease, CLOCK_BOOTTIME, ×tamp_usec); in dhcp6_pd_assign_subnet_prefixes() 1071 … lifetime_preferred_usec = usec_add(lifetime_preferred_sec * USEC_PER_SEC, timestamp_usec); 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() 1086 usec_t timestamp_usec; in dhcp6_pd_prefix_acquired() local 1097 r = sd_dhcp6_lease_get_timestamp(uplink->dhcp6_lease, CLOCK_BOOTTIME, ×tamp_usec); 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-dhcp6.c | 247 usec_t timestamp_usec; in dhcp6_address_acquired() local 261 r = sd_dhcp6_lease_get_timestamp(link->dhcp6_lease, CLOCK_BOOTTIME, ×tamp_usec); in dhcp6_address_acquired() 274 … usec_add(lifetime_preferred_sec * USEC_PER_SEC, timestamp_usec), in dhcp6_address_acquired() 275 … usec_add(lifetime_valid_sec * USEC_PER_SEC, timestamp_usec)); in dhcp6_address_acquired()
|