X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=system.h;h=0fde7f1f5e8f91f6e8fecb68be7bd7e6d180a5f6;hp=76eee23fb522806952233507c8a70446cf031319;hb=a3bf8cbe10b0bad85475f4c3dc2bae4afb65774b;hpb=59217785704fca27d2c7a19e279d27c384a452cd diff --git a/system.h b/system.h index 76eee23..0fde7f1 100644 --- a/system.h +++ b/system.h @@ -128,7 +128,9 @@ int system_add_route(struct device *dev, struct device_route *route); 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_table(const char *name, unsigned int *id); +bool system_is_default_rt_table(unsigned int id); int system_del_ip_tunnel(const char *name); int system_add_ip_tunnel(const char *name, struct blob_attr *attr);