Lines Matching refs:in6_addr

18 #define SUBNET_ROUTER_ANYCAST_ADDRESS            ((const struct in6_addr) { .s6_addr = { 0x00, 0x00…
20 #define RESERVED_INTERFACE_IDENTIFIERS_ADDRESS ((const struct in6_addr) { .s6_addr = { 0x02, 0x00…
22 #define RESERVED_SUBNET_ANYCAST_ADDRESSES ((const struct in6_addr) { .s6_addr = { 0xFD, 0xFF…
39 struct in6_addr address;
43 static int generate_eui64_address(const Link *link, const struct in6_addr *prefix, struct in6_addr in generate_eui64_address()
76 static bool stable_private_address_is_valid(const struct in6_addr *addr) { in stable_private_address_is_valid()
96 const struct in6_addr *prefix, in generate_stable_private_address_one()
98 struct in6_addr *ret) { in generate_stable_private_address_one()
132 const struct in6_addr *prefix, in generate_stable_private_address()
133 struct in6_addr *ret) { in generate_stable_private_address()
136 struct in6_addr addr; in generate_stable_private_address()
177 const struct in6_addr *prefix, in generate_addresses()
182 struct in6_addr masked; in generate_addresses()
196 struct in6_addr addr, *copy; in generate_addresses()
222 copy = newdup(struct in6_addr, &addr, 1); in generate_addresses()
233 _cleanup_free_ struct in6_addr *addr = NULL; in generate_addresses()
235 addr = new(struct in6_addr, 1); in generate_addresses()
255 int dhcp_pd_generate_addresses(Link *link, const struct in6_addr *prefix, Set **ret) { in dhcp_pd_generate_addresses()
259 int ndisc_generate_addresses(Link *link, const struct in6_addr *prefix, uint8_t prefixlen, Set **re… in ndisc_generate_addresses()
263 int radv_generate_addresses(Link *link, Set *tokens, const struct in6_addr *prefix, uint8_t prefixl… in radv_generate_addresses()
280 r = memcmp(&a->address, &b->address, sizeof(struct in6_addr)); in ipv6_token_compare_func()
294 static int ipv6_token_add(Set **tokens, AddressGenerationType type, const struct in6_addr *addr, co… in ipv6_token_add()