Searched refs:t1 (Results 1 - 5 of 5) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | dhcp-lease-internal.h | 50 uint32_t t1; member in struct:sd_dhcp_lease
|
H A D | sd-dhcp-lease.c | 77 int sd_dhcp_lease_get_t1(sd_dhcp_lease *lease, uint32_t *t1) { argument 79 assert_return(t1, -EINVAL); 81 if (lease->t1 <= 0) 84 *t1 = lease->t1; 607 r = lease_parse_u32(option, len, &lease->t1, 1); 737 uint32_t t1, t2, lifetime; local 780 r = sd_dhcp_lease_get_t1(lease, &t1); 782 fprintf(f, "T1=%" PRIu32 "\n", t1); 894 *t1 local [all...] |
H A D | sd-dhcp-client.c | 797 time_left = (client->lease->t2 - client->lease->t1) / 2; 1261 if (client->lease->t1 > 0 && client->lease->t2 > 0) { 1263 if (client->lease->t1 < client->lease->t2 && 1267 t1_timeout = client_compute_timeout(client, client->lease->t1, 1); 1273 client->lease->t1 = client->lease->lifetime / 2; 1279 client->lease->t1 = client->lease->lifetime / 2; 1285 } else if (client->lease->t1 > 0 && client->lease->t1 < client->lease->lifetime) { 1287 t1_timeout = client_compute_timeout(client, client->lease->t1, 1); 1298 client->lease->t1 [all...] |
/systemd/src/systemd/ |
H A D | sd-dhcp-lease.h | 41 int sd_dhcp_lease_get_t1(sd_dhcp_lease *lease, uint32_t *t1);
|
/systemd/src/test/ |
H A D | test-util.c | 253 _cleanup_free_ char *t1, *t2, *t3, *t4; local 255 t1 = strappend(NULL, NULL); 256 assert_se(streq(t1, ""));
|
Completed in 121 milliseconds