1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 #include "conf-parser.h"
5 #include "in-addr-util.h"
6 #include "set.h"
7 
8 typedef struct Link Link;
9 
10 int dhcp_pd_generate_addresses(Link *link, const struct in6_addr *prefix, Set **ret);
11 int ndisc_generate_addresses(Link *link, const struct in6_addr *prefix, uint8_t prefixlen, Set **ret);
12 int radv_generate_addresses(Link *link, Set *tokens, const struct in6_addr *prefix, uint8_t prefixlen, Set **ret);
13 
14 CONFIG_PARSER_PROTOTYPE(config_parse_address_generation_type);
15