summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-radv.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-09-29 23:01:09 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-06 19:44:42 +0200
commit1a7deb2fcfe5641354770c00d266bd20e3e96d31 (patch)
treee1d5b7f58209679808fb9a9390a89e57f21eaefe /src/network/networkd-radv.h
parentnetwork: also check route prefixes are configured (diff)
downloadsystemd-1a7deb2fcfe5641354770c00d266bd20e3e96d31.tar.xz
systemd-1a7deb2fcfe5641354770c00d266bd20e3e96d31.zip
network: introduce network_verify_prefix() and network_verify_route_prefix()
Diffstat (limited to 'src/network/networkd-radv.h')
-rw-r--r--src/network/networkd-radv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-radv.h b/src/network/networkd-radv.h
index 6fe1c947ba..d549be5f8e 100644
--- a/src/network/networkd-radv.h
+++ b/src/network/networkd-radv.h
@@ -41,6 +41,9 @@ struct RoutePrefix {
Prefix *prefix_free(Prefix *prefix);
RoutePrefix *route_prefix_free(RoutePrefix *prefix);
+void network_verify_prefixes(Network *network);
+void network_verify_route_prefixes(Network *network);
+
int radv_emit_dns(Link *link);
int radv_configure(Link *link);
int radv_add_prefix(Link *link, const struct in6_addr *prefix, uint8_t prefix_len,