summaryrefslogtreecommitdiff
path: root/src/network/networkd-route.h
diff options
context:
space:
mode:
authorJens Kuske <jenskuske@gmail.com>2015-09-23 17:26:36 +0200
committerJens Kuske <jenskuske@gmail.com>2015-09-24 14:04:51 +0200
commit0d07e595cc22379ec7388406c2f4f2a74eea9083 (patch)
tree2cfe9970d51c035b03ffdbebb9cb37841f55df1d /src/network/networkd-route.h
parent2e396de8b2317fdd1cb2f5eb1df8dffd13bf1e80 (diff)
networkd: add support to configure preferred source of static 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 d090b9c91e..11e94d44fb 100644
--- a/src/network/networkd-route.h
+++ b/src/network/networkd-route.h
@@ -55,6 +55,7 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(Route*, route_free);
#define _cleanup_route_free_ _cleanup_(route_freep)
int config_parse_gateway(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
+int config_parse_preferred_src(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_destination(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_route_priority(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_route_scope(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);