Searched refs:time_now (Results 1 - 9 of 9) sorted by relevance
/systemd/src/network/ |
H A D | networkd-ndisc.c | 55 usec_t time_now; local 71 assert_se(sd_event_now(link->manager->event, clock_boottime_or_monotonic(), &time_now) >= 0); 107 usec_t time_now; local 122 assert_se(sd_event_now(link->manager->event, clock_boottime_or_monotonic(), &time_now) >= 0); 130 route->lifetime = time_now + lifetime * USEC_PER_SEC; 145 usec_t time_now; local 173 assert_se(sd_event_now(link->manager->event, clock_boottime_or_monotonic(), &time_now) >= 0); 180 route->lifetime = time_now + lifetime * USEC_PER_SEC;
|
/systemd/src/libsystemd-network/ |
H A D | sd-ndisc.c | 303 usec_t time_now; local 308 r = sd_event_now(nd->event, clock_boottime_or_monotonic(), &time_now); 313 if (prefix->valid_until < time_now) { 331 usec_t time_now; local 398 r = sd_event_now(nd->event, clock_boottime_or_monotonic(), &time_now); 402 prefix->valid_until = time_now + lifetime_valid * USEC_PER_SEC; 603 uint64_t time_now, next_timeout; local 627 assert_se(sd_event_now(nd->event, clock_boottime_or_monotonic(), &time_now) >= 0); 629 next_timeout = time_now + NDISC_ROUTER_SOLICITATION_INTERVAL;
|
H A D | test-ndisc-rs.c | 119 usec_t time_now = now(clock_boottime_or_monotonic()); local 138 time_now + 2 *USEC_PER_SEC, 0,
|
H A D | sd-dhcp6-client.c | 333 static int client_send_message(sd_dhcp6_client *client, usec_t time_now) { argument 419 elapsed_usec = time_now - client->transaction_start; 508 usec_t time_now, init_retransmit_time = 0, max_retransmit_time = 0; local 583 r = sd_event_now(client->event, clock_boottime_or_monotonic(), &time_now); 587 r = client_send_message(client, time_now); 611 time_now + client->retransmit_time, 634 time_now + max_retransmit_duration, 1011 usec_t timeout, time_now; local 1025 r = sd_event_now(client->event, clock_boottime_or_monotonic(), &time_now); 1071 clock_boottime_or_monotonic(), time_now [all...] |
H A D | sd-dhcp-client.c | 414 usec_t time_now; local 439 r = sd_event_now(client->event, clock_boottime_or_monotonic(), &time_now); 442 assert(time_now >= client->start_time); 446 secs = ((time_now - client->start_time) / USEC_PER_SEC) ? : 1; 782 uint64_t time_now; local 790 r = sd_event_now(client->event, clock_boottime_or_monotonic(), &time_now); 801 next_timeout = time_now + time_left * USEC_PER_SEC; 811 next_timeout = time_now + time_left * USEC_PER_SEC; 837 next_timeout = time_now + (client->attempt - 1) * USEC_PER_SEC; 898 client->request_sent = time_now; 1234 usec_t time_now; local [all...] |
H A D | sd-ipv4acd.c | 190 usec_t time_now; local 202 assert_se(sd_event_now(ll->event, clock_boottime_or_monotonic(), &time_now) >= 0); 205 time_now + next_timeout, 0, ipv4acd_on_timeout, ll);
|
H A D | sd-dhcp-server.c | 849 usec_t time_now = 0; local 869 &time_now); 876 lease->expiration = req->lifetime * USEC_PER_SEC + time_now;
|
H A D | test-dhcp-client.c | 447 usec_t time_now = now(clock_boottime_or_monotonic()); local 470 time_now + 2 * USEC_PER_SEC, 0,
|
H A D | test-dhcp6-client.c | 703 usec_t time_now = now(clock_boottime_or_monotonic()); local 730 time_now + 2 * USEC_PER_SEC, 0,
|
Completed in 2190 milliseconds