mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 20:40:18 +01:00
The netlink code for WG_CMD_SET_DEVICE is strongly inspired by
WireGuard ([1]) and systemd ([2]).
Currently, nm_platform_link_wireguard_change() always aims to reset
all peers and allowed-ips settings. I think that should be improved
in the future, to support only partial updates.
[1] https://git.zx2c4.com/WireGuard/tree/contrib/examples/embeddable-wg-library/wireguard.c?id=5e99a6d43fe2351adf36c786f5ea2086a8fe7ab8#n1073
[2]
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| meson.build | ||
| monitor.c | ||
| test-address.c | ||
| test-cleanup.c | ||
| test-common.c | ||
| test-common.h | ||
| test-general.c | ||
| test-link.c | ||
| test-nmp-object.c | ||
| test-route.c | ||