1 /* SPDX-License-Identifier: LGPL-2.1+ */
4 #include "conf-parser.h"
8 typedef struct Network Network
;
9 typedef struct IPv6ProxyNDPAddress IPv6ProxyNDPAddress
;
10 typedef struct Link Link
;
12 struct IPv6ProxyNDPAddress
{
14 struct in6_addr in_addr
;
16 LIST_FIELDS(IPv6ProxyNDPAddress
, ipv6_proxy_ndp_addresses
);
19 int ipv6_proxy_ndp_address_new_static(Network
*network
, IPv6ProxyNDPAddress
** ipv6_proxy_ndp_address
);
20 void ipv6_proxy_ndp_address_free(IPv6ProxyNDPAddress
*ipv6_proxy_ndp_address
);
21 int ipv6_proxy_ndp_address_configure(Link
*link
, IPv6ProxyNDPAddress
*ipv6_proxy_ndp_address
);
22 int ipv6_proxy_ndp_addresses_configure(Link
*link
);
24 DEFINE_TRIVIAL_CLEANUP_FUNC(IPv6ProxyNDPAddress
*, ipv6_proxy_ndp_address_free
);
26 CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_proxy_ndp_address
);