netifd: Make interface identifier of delegated IPv6 address configurable
authorHans Dedecker <[email protected]>
Mon, 12 Jan 2015 19:07:55 +0000 (20:07 +0100)
committerSteven Barth <[email protected]>
Mon, 19 Jan 2015 08:35:08 +0000 (09:35 +0100)
commit0b0e5e2fc5b065092644a5c4717c0a03a9098dcf
treed4bedf0e41e1a86faebe412fdf5abf656e8640b8
parente9d2014a478807c7fac0581bb4a145901a3f23b4
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 <[email protected]>
Signed-off-by: Joeri Barbarien <[email protected]>
interface-ip.c
interface-ip.h
interface.c
interface.h