summaryrefslogtreecommitdiff
path: root/src/network/networkd-route.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-10-02 11:56:12 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-07 02:44:42 +0900
commit565194127a92fe80b6254b4ed9482c8473197586 (patch)
tree59fb62e04e249929c75bcfbf0c798a0b5fa4475d /src/network/networkd-route.h
parent731ff05b3218aa7dce03bf53ff1be41e56212b5b (diff)
downloadsystemd-565194127a92fe80b6254b4ed9482c8473197586.tar.gz
network: introduce link_serialize_routes()
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r--src/network/networkd-route.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h
index 02b7c1b3ad..3cff8bba41 100644
--- a/src/network/networkd-route.h
+++ b/src/network/networkd-route.h
@@ -74,6 +74,7 @@ int route_remove(Route *route, Link *link, link_netlink_message_handler_t callba
int link_set_routes(Link *link);
int link_drop_routes(Link *link);
int link_drop_foreign_routes(Link *link);
+int link_serialize_routes(Link *link, FILE *f);
int link_deserialize_routes(Link *link, const char *routes);
int manager_rtnl_process_route(sd_netlink *rtnl, sd_netlink_message *message, Manager *m);