X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=system-dummy.c;h=95546bf5200a6d043d885c63a0d1235f4526cb31;hp=14c7a97414beadb1dde52f45789e9bd0d282ed9c;hb=2674941b06c1ec67f1aff1bff9212e1372106641;hpb=d7f7f002e3d168aedb5f2bc92180f5966482d7d9 diff --git a/system-dummy.c b/system-dummy.c index 14c7a97..95546bf 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -191,6 +191,33 @@ int system_flush_routes(void) return 0; } +bool system_resolve_rt_table(const char *name, unsigned int *id) +{ + *id = 0; + return true; +} + +int system_add_iprule(struct iprule *rule) +{ + return 0; +} + +int system_del_iprule(struct iprule *rule) +{ + return 0; +} + +int system_flush_iprules(void) +{ + return 0; +} + +bool system_resolve_iprule_action(const char *action, unsigned int *id) +{ + *id = 0; + return true; +} + time_t system_get_rtime(void) { struct timeval tv;