X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=system-dummy.c;h=c8379ffc910f97e429a8bc77771a425f3699862b;hp=d692b79886a695ce5441101507f68c63a3482e49;hb=45e9c1a9a4df8580a9c1117c225d5e9ec73694c4;hpb=a47c3353cdf46b730f43198052c8f807e2bd313f diff --git a/system-dummy.c b/system-dummy.c index d692b79..c8379ff 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -191,9 +191,10 @@ int system_flush_routes(void) return 0; } -int system_resolve_rt_table(const char *name, struct device_route *route) +bool system_resolve_rt_table(const char *name, unsigned int *id) { - return 0; + *id = 0; + return true; } int system_add_iprule(struct iprule *rule) @@ -241,3 +242,13 @@ int system_update_ipv6_mtu(struct device *dev, int mtu) { return 0; } + +int system_macvlan_add(struct device *macvlan, struct device *dev, struct macvlan_config *cfg) +{ + return 0; +} + +int system_macvlan_del(struct device *macvlan) +{ + return 0; +}