Lines Matching refs:addr
208 _cleanup_(address_freep) Address *addr = NULL; in dhcp6_request_address()
212 r = address_new(&addr); in dhcp6_request_address()
216 addr->source = NETWORK_CONFIG_SOURCE_DHCP6; in dhcp6_request_address()
217 addr->provider.in6 = *server_address; in dhcp6_request_address()
218 addr->family = AF_INET6; in dhcp6_request_address()
219 addr->in_addr.in6 = *ip6_addr; in dhcp6_request_address()
220 addr->flags = IFA_F_NOPREFIXROUTE; in dhcp6_request_address()
221 addr->prefixlen = 128; in dhcp6_request_address()
222 addr->lifetime_preferred_usec = lifetime_preferred_usec; in dhcp6_request_address()
223 addr->lifetime_valid_usec = lifetime_valid_usec; in dhcp6_request_address()
225 if (verify_dhcp6_address(link, addr) < 0) in dhcp6_request_address()
228 if (address_get(link, addr, &existing) < 0) in dhcp6_request_address()
233 r = link_request_address(link, TAKE_PTR(addr), true, &link->dhcp6_messages, in dhcp6_request_address()