summaryrefslogtreecommitdiff
path: root/interface-ip.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2015-01-12 20:07:55 +0100
committerSteven Barth <steven@midlink.org>2015-01-19 09:35:08 +0100
commit0b0e5e2fc5b065092644a5c4717c0a03a9098dcf (patch)
treed4bedf0e41e1a86faebe412fdf5abf656e8640b8 /interface-ip.h
parente9d2014a478807c7fac0581bb4a145901a3f23b4 (diff)
downloadnetifd-0b0e5e2fc5b065092644a5c4717c0a03a9098dcf.tar.gz
netifd: Make interface identifier of delegated IPv6 address configurable
The ip6ifaceid UCI interface parameter makes the interface identifier of the delegated IPv6 address configurable. The parameter can have the following values: eui64 : Interface identifier is generated from the interface's MAC address random : Interface identifier is generated randomly fixed value : Interface identifier is a fixed value (eg ::1:2) The latter is the default value with a fixed value of ::1 for backwards compatibility Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Signed-off-by: Joeri Barbarien <joeri.barbarien@gmail.com>
Diffstat (limited to 'interface-ip.h')
-rw-r--r--interface-ip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-ip.h b/interface-ip.h
index a5612e5..7c4a8ae 100644
--- a/interface-ip.h
+++ b/interface-ip.h
@@ -59,6 +59,7 @@ struct device_prefix_assignment {
struct list_head head;
int32_t assigned;
uint8_t length;
+ struct in6_addr addr;
bool enabled;
char name[];
};