6 int system_bridge_addbr(struct device *bridge)
8 DPRINTF("brctl addbr %s\n", bridge->ifname);
12 int system_bridge_delbr(struct device *bridge)
14 DPRINTF("brctl delbr %s\n", bridge->ifname);
18 int system_bridge_addif(struct device *bridge, struct device *dev)
20 DPRINTF("brctl addif %s %s\n", bridge->ifname, dev->ifname);
24 int system_bridge_delif(struct device *bridge, struct device *dev)
26 DPRINTF("brctl delif %s %s\n", bridge->ifname, dev->ifname);
30 int system_vlan_add(struct device *dev, int id)
32 DPRINTF("vconfig add %s %d\n", dev->ifname, id);
36 int system_vlan_del(struct device *dev)
38 DPRINTF("vconfig rem %s\n", dev->ifname);
42 int system_if_up(struct device *dev)
44 DPRINTF("ifconfig %s up\n", dev->ifname);
48 int system_if_down(struct device *dev)
50 DPRINTF("ifconfig %s down\n", dev->ifname);
54 int system_if_check(struct device *dev)
58 if (!strcmp(dev->ifname, "eth0"))
59 set_device_present(dev, true);