summaryrefslogtreecommitdiff
path: root/system-dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'system-dummy.c')
-rw-r--r--system-dummy.c21
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;