system-linux: fix memory leak in system_bridge_vlan_check
[project/netifd.git] / system-dummy.c
index ab178f3ce9d3f4b6fc218f467d005505a9c44976..b13bc876d509c13ba683634cbba67c1c4b07fa39 100644 (file)
@@ -66,11 +66,25 @@ int system_bridge_vlan(const char *iface, uint16_t vid, bool add, unsigned int v
        return 0;
 }
 
+void system_bridge_set_stp_state(struct device *dev, bool val)
+{
+}
+
 int system_bridge_vlan_check(struct device *dev, char *ifname)
 {
        return 0;
 }
 
+int system_bonding_set_device(struct device *dev, struct bonding_config *cfg)
+{
+       return 0;
+}
+
+int system_bonding_set_port(struct device *dev, struct device *port, bool add, bool primary)
+{
+       return 0;
+}
+
 int system_link_netns_move(struct device *dev, int netns_fd, const char *target_ifname)
 {
        D(SYSTEM, "ip link set %s name %s netns %d\n", dev->ifname, target_ifname, netns_fd);
@@ -321,12 +335,12 @@ time_t system_get_rtime(void)
        return 0;
 }
 
-int system_del_ip_tunnel(const char *name, struct blob_attr *attr)
+int system_del_ip_tunnel(const struct device *dev)
 {
        return 0;
 }
 
-int system_add_ip_tunnel(const char *name, struct blob_attr *attr)
+int system_add_ip_tunnel(const struct device *dev, struct blob_attr *attr)
 {
        return 0;
 }