]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: Add hashmap to store prefixes and associated link
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 4 Jan 2018 13:11:58 +0000 (15:11 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 4 Jan 2018 13:22:44 +0000 (15:22 +0200)
commite133b289aa50b18fb10285fa27d2daef1ddbafde
tree965a62c9308211c41f6c4e2b3bdd89c4e78299a8
parentde661ccec7b75f196dff5cd2546a94a4fbf46c82
networkd: Add hashmap to store prefixes and associated link

Add a hashmap to the Manager struct that stores the association
between an IPv6 prefix and the network Link it is assigned to.
This is added in order to keep assigning the same prefixes with
the same links even though they are delegated at different times
or by different DHCPv6 clients.
src/network/networkd-manager.c
src/network/networkd-manager.h