From 650758b16e5185505a3fbc1307949340af70b611 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Thu, 19 Jan 2017 15:59:54 +0100 Subject: interface-ip: route proto config support (FS#170) Route proto support is usefull when using route distribution via a routing daemon. The route proto parameter can be specified via the route proto uci config parameter, it can hold a numerical value or the string values unspec, kernel, boot, static or a string present in /etc/iproute2/rt_protos. Signed-off-by: Hans Dedecker --- system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'system.h') diff --git a/system.h b/system.h index d5cb4e3..e810ed9 100644 --- a/system.h +++ b/system.h @@ -146,6 +146,7 @@ int system_del_route(struct device *dev, struct device_route *route); int system_flush_routes(void); bool system_resolve_rt_type(const char *type, unsigned int *id); +bool system_resolve_rt_proto(const char *type, unsigned int *id); bool system_resolve_rt_table(const char *name, unsigned int *id); bool system_is_default_rt_table(unsigned int id); bool system_resolve_rpfilter(const char *filter, unsigned int *id); -- cgit v1.2.1