Searched refs:dhcp6_lease (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/network/ |
D | networkd-dhcp6.c | 252 assert(link->dhcp6_lease); in dhcp6_address_acquired() 257 r = sd_dhcp6_lease_get_server_address(link->dhcp6_lease, &server_address); in dhcp6_address_acquired() 261 r = sd_dhcp6_lease_get_timestamp(link->dhcp6_lease, CLOCK_BOOTTIME, ×tamp_usec); in dhcp6_address_acquired() 265 for (sd_dhcp6_lease_reset_address_iter(link->dhcp6_lease);;) { in dhcp6_address_acquired() 269 …r = sd_dhcp6_lease_get_address(link->dhcp6_lease, &ip6_addr, &lifetime_preferred_sec, &lifetime_va… in dhcp6_address_acquired() 284 (void) sd_dhcp6_lease_get_fqdn(link->dhcp6_lease, &dhcpname); in dhcp6_address_acquired() 315 lease_old = TAKE_PTR(link->dhcp6_lease); in dhcp6_lease_ip_acquired() 316 link->dhcp6_lease = sd_dhcp6_lease_ref(lease); in dhcp6_lease_ip_acquired() 358 if (dhcp6_lease_has_pd_prefix(link->dhcp6_lease)) in dhcp6_lease_lost() 361 link->dhcp6_lease = sd_dhcp6_lease_unref(link->dhcp6_lease); in dhcp6_lease_lost()
|
D | networkd-dhcp-prefix-delegation.c | 1042 assert(uplink->dhcp6_lease); in dhcp6_pd_assign_subnet_prefixes() 1048 r = sd_dhcp6_lease_get_timestamp(uplink->dhcp6_lease, CLOCK_BOOTTIME, ×tamp_usec); in dhcp6_pd_assign_subnet_prefixes() 1052 for (sd_dhcp6_lease_reset_pd_prefix_iter(uplink->dhcp6_lease);;) { in dhcp6_pd_assign_subnet_prefixes() 1058 r = sd_dhcp6_lease_get_pd(uplink->dhcp6_lease, &pd_prefix, &pd_prefix_len, in dhcp6_pd_assign_subnet_prefixes() 1091 assert(uplink->dhcp6_lease); in dhcp6_pd_prefix_acquired() 1093 r = sd_dhcp6_lease_get_server_address(uplink->dhcp6_lease, &server_address.in6); in dhcp6_pd_prefix_acquired() 1097 r = sd_dhcp6_lease_get_timestamp(uplink->dhcp6_lease, CLOCK_BOOTTIME, ×tamp_usec); in dhcp6_pd_prefix_acquired() 1102 for (sd_dhcp6_lease_reset_pd_prefix_iter(uplink->dhcp6_lease);;) { in dhcp6_pd_prefix_acquired() 1108 r = sd_dhcp6_lease_get_pd(uplink->dhcp6_lease, &pd_prefix, &pd_prefix_len, in dhcp6_pd_prefix_acquired() 1192 if (!link->dhcp6_lease) in dhcp6_pd_uplink_is_ready() [all …]
|
D | networkd-json.c | 599 if (link->dhcp6_lease && link->network->dhcp6_use_dns) { in dns_build_json() 604 r = sd_dhcp6_lease_get_server_address(link->dhcp6_lease, &s.in6); in dns_build_json() 608 n_dns = sd_dhcp6_lease_get_dns(link->dhcp6_lease, &dns); in dns_build_json() 754 if (link->dhcp6_lease && link->network->dhcp6_use_ntp) { in ntp_build_json() 760 r = sd_dhcp6_lease_get_server_address(link->dhcp6_lease, &s.in6); in ntp_build_json() 764 n_ntp = sd_dhcp6_lease_get_ntp_addrs(link->dhcp6_lease, &ntp_addr); in ntp_build_json() 782 n_ntp = sd_dhcp6_lease_get_ntp_fqdn(link->dhcp6_lease, &ntp_fqdn); in ntp_build_json() 948 if (link->dhcp6_lease && in domains_build_json() 950 r = sd_dhcp6_lease_get_server_address(link->dhcp6_lease, &s.in6); in domains_build_json() 954 if (sd_dhcp6_lease_get_domains(link->dhcp6_lease, &domains) >= 0) { in domains_build_json()
|
D | networkd-state-file.c | 450 if (link->dhcp6_lease && link->network->dhcp6_use_domains == use_domains) { in link_save_domains() 453 if (sd_dhcp6_lease_get_domains(link->dhcp6_lease, &domains) >= 0) in link_save_domains() 558 link->dhcp6_lease, in link_save() 585 link->dhcp6_lease, in link_save()
|
D | networkd-link.h | 157 sd_dhcp6_lease *dhcp6_lease; member
|
D | networkd-link.c | 198 link->dhcp6_lease = sd_dhcp6_lease_unref(link->dhcp6_lease); in link_free_engines()
|