summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-neighbor.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-07-10 04:30:11 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-07-30 17:00:07 +0200
commitaa9626ee3b96e0d2a9a816b5efd38fd7dc829def (patch)
treeaebb11e6e7ef27ad53268053a046761af02a6ea6 /src/network/networkd-neighbor.h
parentnetwork/neighbor: skip to request neighbors with unmatching link layer addres... (diff)
downloadsystemd-aa9626ee3b96e0d2a9a816b5efd38fd7dc829def.tar.xz
systemd-aa9626ee3b96e0d2a9a816b5efd38fd7dc829def.zip
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.
Diffstat (limited to 'src/network/networkd-neighbor.h')
-rw-r--r--src/network/networkd-neighbor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-neighbor.h b/src/network/networkd-neighbor.h
index 758475a8ff..683a310b3f 100644
--- a/src/network/networkd-neighbor.h
+++ b/src/network/networkd-neighbor.h
@@ -28,7 +28,7 @@ typedef struct Neighbor {
Neighbor *neighbor_free(Neighbor *neighbor);
-void network_drop_invalid_neighbors(Network *network);
+int network_drop_invalid_neighbors(Network *network);
int link_drop_managed_neighbors(Link *link);
int link_drop_foreign_neighbors(Link *link);