Lines Matching refs:prefix

43 static int generate_eui64_address(const Link *link, const struct in6_addr *prefix, struct in6_addr …  in generate_eui64_address()  argument
45 assert(prefix); in generate_eui64_address()
48 memcpy(ret->s6_addr, prefix, 8); in generate_eui64_address()
96 const struct in6_addr *prefix, in generate_stable_private_address_one() argument
105 assert(prefix); in generate_stable_private_address_one()
113 siphash24_compress(prefix, 8, &state); in generate_stable_private_address_one()
124 memcpy(ret->s6_addr, prefix->s6_addr, 8); in generate_stable_private_address_one()
132 const struct in6_addr *prefix, in generate_stable_private_address() argument
143 assert(prefix); in generate_stable_private_address()
159 generate_stable_private_address_one(link, secret_key, prefix, i, &addr); in generate_stable_private_address()
177 const struct in6_addr *prefix, in generate_addresses() argument
188 assert(prefix); in generate_addresses()
192 masked = *prefix; in generate_addresses()
255 int dhcp_pd_generate_addresses(Link *link, const struct in6_addr *prefix, Set **ret) { in dhcp_pd_generate_addresses() argument
256 … return generate_addresses(link, link->network->dhcp_pd_tokens, &DHCP_PD_APP_ID, prefix, 64, 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() argument
260 …return generate_addresses(link, link->network->ndisc_tokens, &NDISC_APP_ID, prefix, prefixlen, ret… 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() argument
264 return generate_addresses(link, tokens, &RADV_APP_ID, prefix, prefixlen, ret); in radv_generate_addresses()