Searched refs:iapdprefix (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | dhcp6-option.c | 303 static int option_append_pd_prefix(uint8_t **buf, size_t *buflen, const struct iapdprefix *prefix) { in option_append_pd_prefix() 304 struct iapdprefix p; in option_append_pd_prefix() 316 p = (struct iapdprefix) { in option_append_pd_prefix() 321 r = option_append_hdr(buf, buflen, SD_DHCP6_OPTION_IA_PD_PREFIX, sizeof(struct iapdprefix)); in option_append_pd_prefix() 325 *buf = mempcpy(*buf, &p, sizeof(struct iapdprefix)); in option_append_pd_prefix() 326 *buflen -= sizeof(struct iapdprefix); in option_append_pd_prefix() 328 return offsetof(DHCP6Option, data) + sizeof(struct iapdprefix); in option_append_pd_prefix() 380 r = option_append_pd_prefix(buf, buflen, &addr->iapdprefix); in dhcp6_option_append_ia() 643 if (len < sizeof(struct iapdprefix)) in dhcp6_option_parse_ia_pdprefix() 650 memcpy(&a->iapdprefix, data, sizeof(struct iapdprefix)); in dhcp6_option_parse_ia_pdprefix() [all …]
|
D | dhcp6-option.h | 38 struct iapdprefix { struct 52 struct iapdprefix iapdprefix; member
|
D | sd-dhcp6-lease.c | 61 min_valid_lt = MIN(min_valid_lt, be32toh(a->iapdprefix.lifetime_valid)); in dhcp6_lease_set_lifetime() 259 *ret_prefix = lease->prefix_iter->iapdprefix.address; in sd_dhcp6_lease_get_pd() 261 *ret_prefix_len = lease->prefix_iter->iapdprefix.prefixlen; in sd_dhcp6_lease_get_pd() 263 … *ret_lifetime_preferred = be32toh(lease->prefix_iter->iapdprefix.lifetime_preferred); in sd_dhcp6_lease_get_pd() 265 *ret_lifetime_valid = be32toh(lease->prefix_iter->iapdprefix.lifetime_valid); in sd_dhcp6_lease_get_pd()
|
D | sd-dhcp6-client.c | 149 .iapdprefix.address = *pd_prefix, in sd_dhcp6_client_set_prefix_delegation_hint() 150 .iapdprefix.prefixlen = prefixlen, in sd_dhcp6_client_set_prefix_delegation_hint()
|