diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-09-29 22:06:17 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-06 19:44:42 +0200 |
commit | d349f5026e2131395f63b3a7dbeaded88d14833d (patch) | |
tree | 6956c83cef88c147f94705c0834df6d511ada01c /src/network/networkd-ipv6-proxy-ndp.h | |
parent | network: move functions (diff) | |
download | systemd-d349f5026e2131395f63b3a7dbeaded88d14833d.tar.xz systemd-d349f5026e2131395f63b3a7dbeaded88d14833d.zip |
network: drop struct IPv6ProxyNDPAddress
Its only important value is in6_addr. So, let's just use struct in6_addr
and drop IPv6ProxyNDPAddress.
Diffstat (limited to 'src/network/networkd-ipv6-proxy-ndp.h')
-rw-r--r-- | src/network/networkd-ipv6-proxy-ndp.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/network/networkd-ipv6-proxy-ndp.h b/src/network/networkd-ipv6-proxy-ndp.h index d6666beab5..c7590001ff 100644 --- a/src/network/networkd-ipv6-proxy-ndp.h +++ b/src/network/networkd-ipv6-proxy-ndp.h @@ -2,24 +2,9 @@ #pragma once #include "conf-parser.h" -#include "list.h" -#include "macro.h" -typedef struct Network Network; -typedef struct IPv6ProxyNDPAddress IPv6ProxyNDPAddress; typedef struct Link Link; -struct IPv6ProxyNDPAddress { - Network *network; - struct in6_addr in_addr; - - LIST_FIELDS(IPv6ProxyNDPAddress, ipv6_proxy_ndp_addresses); -}; - -void ipv6_proxy_ndp_address_free(IPv6ProxyNDPAddress *ipv6_proxy_ndp_address); -int ipv6_proxy_ndp_address_configure(Link *link, IPv6ProxyNDPAddress *ipv6_proxy_ndp_address); int ipv6_proxy_ndp_addresses_configure(Link *link); -DEFINE_TRIVIAL_CLEANUP_FUNC(IPv6ProxyNDPAddress*, ipv6_proxy_ndp_address_free); - CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_proxy_ndp_address); |