Branch data Line data Source code
1 : : /* SPDX-License-Identifier: LGPL-2.1+ */ 2 : : #pragma once 3 : : 4 : : #include "conf-parser.h" 5 : : #include "list.h" 6 : : #include "macro.h" 7 : : 8 : : typedef struct Network Network; 9 : : typedef struct IPv6ProxyNDPAddress IPv6ProxyNDPAddress; 10 : : typedef struct Link Link; 11 : : 12 : : struct IPv6ProxyNDPAddress { 13 : : Network *network; 14 : : struct in6_addr in_addr; 15 : : 16 : : LIST_FIELDS(IPv6ProxyNDPAddress, ipv6_proxy_ndp_addresses); 17 : : }; 18 : : 19 : : void ipv6_proxy_ndp_address_free(IPv6ProxyNDPAddress *ipv6_proxy_ndp_address); 20 : : int ipv6_proxy_ndp_address_configure(Link *link, IPv6ProxyNDPAddress *ipv6_proxy_ndp_address); 21 : : int ipv6_proxy_ndp_addresses_configure(Link *link); 22 : : 23 [ # # ]: 0 : DEFINE_TRIVIAL_CLEANUP_FUNC(IPv6ProxyNDPAddress*, ipv6_proxy_ndp_address_free); 24 : : 25 : : CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_proxy_ndp_address);