summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-13 23:13:11 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-13 23:13:11 +0200
commit8ac814e3d02fd3c8be2798814c085dc2c65c5c49 (patch)
tree18b08f730d9b049289289c68854d104157bef580 /system.h
parent71427e54fa17dacd1ace6077bffb9f9b9d456ebb (diff)
downloadnetifd-8ac814e3d02fd3c8be2798814c085dc2c65c5c49.tar.gz
add functions for setting v4 addresses
Diffstat (limited to 'system.h')
-rw-r--r--system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/system.h b/system.h
index f8428cc..35f0971 100644
--- a/system.h
+++ b/system.h
@@ -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