projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add helper function for adding/removing devices to interfaces
[project/netifd.git]
/
system-dummy.c
diff --git
a/system-dummy.c
b/system-dummy.c
index
d692b79
..
c8379ff
100644
(file)
--- a/
system-dummy.c
+++ b/
system-dummy.c
@@
-191,9
+191,10
@@
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
)
{
{
- return 0;
+ *id = 0;
+ return true;
}
int system_add_iprule(struct iprule *rule)
}
int system_add_iprule(struct iprule *rule)
@@
-241,3
+242,13
@@
int system_update_ipv6_mtu(struct device *dev, int mtu)
{
return 0;
}
{
return 0;
}
+
+int system_macvlan_add(struct device *macvlan, struct device *dev, struct macvlan_config *cfg)
+{
+ return 0;
+}
+
+int system_macvlan_del(struct device *macvlan)
+{
+ return 0;
+}