summaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-01-08 18:52:32 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-15 11:12:53 +0100
commitd7f7f002e3d168aedb5f2bc92180f5966482d7d9 (patch)
tree05b56547fd087c3865416e290d7e8289d41f2860 /interface.h
parent9908adbd9a31c92f13b05f0c057d4429edbc5184 (diff)
Initial IPv6 prefix support
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index efd3560..b8c9cad 100644
--- a/interface.h
+++ b/interface.h
@@ -59,9 +59,11 @@ struct interface_ip_settings {
bool enabled;
bool no_defaultroute;
bool no_dns;
+ uint8_t assignment_length;
struct vlist_tree addr;
struct vlist_tree route;
+ struct vlist_tree prefix;
struct vlist_simple_tree dns_servers;
struct vlist_simple_tree dns_search;
@@ -125,6 +127,7 @@ struct interface {
struct ubus_object ubus;
};
+
extern struct vlist_tree interfaces;
extern const struct config_param_list interface_attr_list;