network/neighbor: follow the way how kernel distinguish neighbor settings
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 10 Jul 2023 02:30:11 +0000 (11:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 30 Jul 2023 15:00:07 +0000 (00:00 +0900)
commitaa9626ee3b96e0d2a9a816b5efd38fd7dc829def
treeaebb11e6e7ef27ad53268053a046761af02a6ea6
parentbbeceaf2956f6cc12d75d2dc571cfc9fb1d9d839
network/neighbor: follow the way how kernel distinguish neighbor settings

The kernel manages neighbors by the destination address, and the
LinkLayerAddress is mutable. Let's manage neighbors in the same way, and
dedup settings.
src/network/networkd-neighbor.c
src/network/networkd-neighbor.h
src/network/networkd-network.c
src/network/networkd-network.h