fix interface object type name
[project/netifd.git] / system.h
1 #ifndef __NETIFD_SYSTEM_H
2 #define __NETIFD_SYSTEM_H
3
4 #include "device.h"
5
6 int system_bridge_addbr(struct device *bridge);
7 int system_bridge_delbr(struct device *bridge);
8 int system_bridge_addif(struct device *bridge, struct device *dev);
9 int system_bridge_delif(struct device *bridge, struct device *dev);
10
11 int system_vlan_add(struct device *dev, int id);
12 int system_vlan_del(struct device *dev);
13
14 int system_if_up(struct device *dev);
15 int system_if_down(struct device *dev);
16 int system_if_check(struct device *dev);
17
18 #endif