]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit - src/dhcpcd.conf.5.in
Refactor Prefix Delegation configuration so we use integers instead
authorRoy Marples <roy@marples.name>
Sat, 1 Jun 2013 21:30:18 +0000 (21:30 +0000)
committerRoy Marples <roy@marples.name>
Sat, 1 Jun 2013 21:30:18 +0000 (21:30 +0000)
commit367f7b11b4ddedc7e4aeb058925ad79c1cec15dc
treef1468ee16cc450dafbd0fe074ec3339ad070a3aa
parente59ebd36109de5505d068da6b2e5572bfb63d30e
Refactor Prefix Delegation configuration so we use integers instead
of hex based arrays.
The SLA can now be applied to any router given prefix length provided the
SLA can fit into the prefix and desired prefix length.
We now wait for a carrier and LL address before adding the addresses from the
delegated prefix. Before adding this code, I added some code to generate a
LL address from the hardware address. This is now #ifdef'ed out as I don't
want to throw it away in-case dhcpcd ever needs to create LL addresses
itself.

Many thanks to Martin Husemann who developed code for these functions:
ipv6_userprefix, in6_to_h64 and h64_to_in6
which are used to generate a prefix from the delegated prefix and the SLA
dhcp6.c
dhcpcd.conf.5.in
if-options.c
if-options.h
ipv6.c
ipv6.h