summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-routing-policy-rule.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-09-29 09:23:57 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-06 19:36:29 +0200
commit51a0dc4a151bb3e6e439b6a62b64f84717214e77 (patch)
treefc1261081a386fd13f5653475c6ed08e97b16090 /src/network/networkd-routing-policy-rule.h
parentnetwork: use typesafe macro netlink_add_match() (diff)
downloadsystemd-51a0dc4a151bb3e6e439b6a62b64f84717214e77.tar.xz
systemd-51a0dc4a151bb3e6e439b6a62b64f84717214e77.zip
network: move manager_rtnl_process_rule() to networkd-routing-policy-rule.[ch]
Diffstat (limited to 'src/network/networkd-routing-policy-rule.h')
-rw-r--r--src/network/networkd-routing-policy-rule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-routing-policy-rule.h b/src/network/networkd-routing-policy-rule.h
index 431a3b6724..1eaae2ec15 100644
--- a/src/network/networkd-routing-policy-rule.h
+++ b/src/network/networkd-routing-policy-rule.h
@@ -57,8 +57,8 @@ int routing_policy_rule_section_verify(RoutingPolicyRule *rule);
int link_set_routing_policy_rules(Link *link);
-int routing_policy_rule_add_foreign(Manager *m, RoutingPolicyRule *rule, RoutingPolicyRule **ret);
-int routing_policy_rule_get(Manager *m, RoutingPolicyRule *rule, RoutingPolicyRule **ret);
+int manager_rtnl_process_rule(sd_netlink *rtnl, sd_netlink_message *message, Manager *m);
+
int routing_policy_serialize_rules(Set *rules, FILE *f);
int routing_policy_load_rules(const char *state_file, Set **rules);