diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-13 23:13:11 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-13 23:13:11 +0200 |
commit | 8ac814e3d02fd3c8be2798814c085dc2c65c5c49 (patch) | |
tree | 18b08f730d9b049289289c68854d104157bef580 /system.h | |
parent | 71427e54fa17dacd1ace6077bffb9f9b9d456ebb (diff) |
add functions for setting v4 addresses
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ #ifndef __NETIFD_SYSTEM_H #define __NETIFD_SYSTEM_H +#include <sys/socket.h> #include "device.h" int system_bridge_addbr(struct device *bridge); @@ -15,4 +16,7 @@ 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, int family, void *addr, int prefixlen); +int system_del_address(struct device *dev, int family, void *addr); + #endif |