diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-04-04 14:41:39 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-04-04 15:06:02 +0200 |
commit | a47c3353cdf46b730f43198052c8f807e2bd313f (patch) | |
tree | d823e8d658d662e90e02531aeab997629e02e7d1 /system-dummy.c | |
parent | 09ae3bfa2ad7a3a9630fdf290b872a2d7673843f (diff) |
Add support for ip rules
Diffstat (limited to 'system-dummy.c')
-rw-r--r-- | system-dummy.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/system-dummy.c b/system-dummy.c index 2c15e2c..d692b79 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -196,6 +196,27 @@ int system_resolve_rt_table(const char *name, struct device_route *route) return 0; } +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; |