Home
last modified time | relevance | path

Searched refs:ia_pd (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/libsystemd-network/
Dsd-dhcp6-lease.c46 assert(lease->ia_na || lease->ia_pd); in dhcp6_lease_set_lifetime()
56 if (lease->ia_pd) { in dhcp6_lease_set_lifetime()
57 t1 = MIN(t1, be32toh(lease->ia_pd->header.lifetime_t1)); in dhcp6_lease_set_lifetime()
58 t2 = MIN(t2, be32toh(lease->ia_pd->header.lifetime_t2)); in dhcp6_lease_set_lifetime()
60 LIST_FOREACH(addresses, a, lease->ia_pd->addresses) in dhcp6_lease_set_lifetime()
79 if (!lease->ia_na && !lease->ia_pd) in dhcp6_lease_get_lifetime()
273 lease->prefix_iter = lease->ia_pd ? lease->ia_pd->addresses : NULL; in sd_dhcp6_lease_reset_pd_prefix_iter()
551 … r = dhcp6_option_parse_ia(client, client->ia_pd.header.id, optcode, optlen, optval, &ia); in dhcp6_lease_parse_message()
557 if (lease->ia_pd) { in dhcp6_lease_parse_message()
562 dhcp6_ia_free(lease->ia_pd); in dhcp6_lease_parse_message()
[all …]
Dsd-dhcp6-client.c138 dhcp6_ia_clear_addresses(&client->ia_pd); in sd_dhcp6_client_set_prefix_delegation_hint()
153 LIST_PREPEND(addresses, client->ia_pd.addresses, TAKE_PTR(prefix)); in sd_dhcp6_client_set_prefix_delegation_hint()
288 client->ia_pd.header.id = htobe32(iaid); in sd_dhcp6_client_set_iaid()
311 client->ia_pd.header.id = iaid; in client_ensure_iaid()
567 const DHCP6IA *ia_pd) { in client_append_common_options_in_managed_mode() argument
586 if (FLAGS_SET(client->request_ia, DHCP6_REQUEST_IA_PD) && ia_pd) { in client_append_common_options_in_managed_mode()
587 r = dhcp6_option_append_ia(opt, optlen, ia_pd); in client_append_common_options_in_managed_mode()
722 &client->ia_na, &client->ia_pd); in dhcp6_client_send_message()
742 … client->lease->ia_na, client->lease->ia_pd); in dhcp6_client_send_message()
1445 dhcp6_ia_clear_addresses(&client->ia_pd); in dhcp6_client_free()
[all …]
Ddhcp6-internal.h62 DHCP6IA ia_pd; member
Ddhcp6-lease-internal.h32 DHCP6IA *ia_pd; /* Identity association prefix delegation */ member
Ddhcp6-option.c22 #define DHCP6_OPTION_IA_PD_LEN (sizeof(struct ia_pd))