X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=system-dummy.c;h=95546bf5200a6d043d885c63a0d1235f4526cb31;hp=2c15e2c89dc2a98ab3d1c890adf424999dd9d87a;hb=9585227f1141d9da5a3186df5e10c4521e65083e;hpb=09ae3bfa2ad7a3a9630fdf290b872a2d7673843f diff --git a/system-dummy.c b/system-dummy.c index 2c15e2c..95546bf 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -191,11 +191,33 @@ 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) +{ + *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;