X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=system.h;h=c9b28c8bed6a02f113c76fe2ce1ee4a9c56135ef;hp=f8428ccbe6fee423616c3da8bfb6b3b4c6a38ab1;hb=98565127c60cba3d5b747bb9eb698e06d187f45b;hpb=5d1fff7af6f77c9bf0d46572c7af563cd9fc55b3;ds=sidebyside diff --git a/system.h b/system.h index f8428cc..c9b28c8 100644 --- a/system.h +++ b/system.h @@ -1,7 +1,11 @@ #ifndef __NETIFD_SYSTEM_H #define __NETIFD_SYSTEM_H +#include #include "device.h" +#include "interface-ip.h" + +int system_init(void); int system_bridge_addbr(struct device *bridge); int system_bridge_delbr(struct device *bridge); @@ -15,4 +19,10 @@ int system_if_up(struct device *dev); int system_if_down(struct device *dev); int system_if_check(struct device *dev); +int system_add_address(struct device *dev, struct device_addr *addr); +int system_del_address(struct device *dev, struct device_addr *addr); + +int system_add_route(struct device *dev, struct device_route *route); +int system_del_route(struct device *dev, struct device_route *route); + #endif