projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change IP reloading order
[project/netifd.git]
/
system-dummy.c
diff --git
a/system-dummy.c
b/system-dummy.c
index
2c15e2c
..
95546bf
100644
(file)
--- a/
system-dummy.c
+++ b/
system-dummy.c
@@
-191,11
+191,33
@@
int system_flush_routes(void)
return 0;
}
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;
}
{
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;
time_t system_get_rtime(void)
{
struct timeval tv;