]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/networkd-ipv6-proxy-ndp.h
network: make reading PrivateKeyFile= failure always fatal
[thirdparty/systemd.git] / src / network / networkd-ipv6-proxy-ndp.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
a0e5c15d
FK
2#pragma once
3
a2106925 4#include "conf-parser.h"
a0e5c15d
FK
5#include "list.h"
6#include "macro.h"
7
8typedef struct Network Network;
9typedef struct IPv6ProxyNDPAddress IPv6ProxyNDPAddress;
10typedef struct Link Link;
11
12struct IPv6ProxyNDPAddress {
fcbf4cb7
YW
13 Network *network;
14 struct in6_addr in_addr;
a0e5c15d 15
fcbf4cb7 16 LIST_FIELDS(IPv6ProxyNDPAddress, ipv6_proxy_ndp_addresses);
a0e5c15d
FK
17};
18
a0e5c15d
FK
19void ipv6_proxy_ndp_address_free(IPv6ProxyNDPAddress *ipv6_proxy_ndp_address);
20int ipv6_proxy_ndp_address_configure(Link *link, IPv6ProxyNDPAddress *ipv6_proxy_ndp_address);
21int ipv6_proxy_ndp_addresses_configure(Link *link);
22
23DEFINE_TRIVIAL_CLEANUP_FUNC(IPv6ProxyNDPAddress*, ipv6_proxy_ndp_address_free);
24
a2106925 25CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_proxy_ndp_address);