Searched refs:lease_file (Results 1 - 5 of 5) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | dhcp-lease-internal.h | 101 int dhcp_lease_save(sd_dhcp_lease *lease, const char *lease_file); 102 int dhcp_lease_load(sd_dhcp_lease **ret, const char *lease_file);
|
H A D | sd-dhcp-lease.c | 726 int dhcp_lease_save(sd_dhcp_lease *lease, const char *lease_file) { argument 741 assert(lease_file); 743 r = fopen_temporary(lease_file, &f, &temp_path); 863 if (rename(temp_path, lease_file) < 0) { 874 return log_error_errno(r, "Failed to save lease data %s: %m", lease_file); 877 int dhcp_lease_load(sd_dhcp_lease **ret, const char *lease_file) { argument 900 assert(lease_file); 907 r = parse_env_file(lease_file, NEWLINE,
|
/systemd/test/ |
H A D | networkd-test.py | 250 lease_file = os.path.join(self.workdir, 'dnsmasq.leases') 258 '--dhcp-leasefile=' + lease_file, '--bind-interfaces',
|
/systemd/src/network/ |
H A D | networkd-link.h | 92 char *lease_file; member in struct:Link
|
H A D | networkd-link.c | 346 r = asprintf(&link->lease_file, "/run/systemd/netif/leases/%d", 402 free(link->lease_file); 2703 assert(link->lease_file); 2929 r = dhcp_lease_save(link->dhcp_lease, link->lease_file); 2935 link->lease_file); 2937 unlink(link->lease_file);
|
Completed in 1984 milliseconds