NetworkManager/src/libnm-systemd-core
Beniamino Galvani bb6881f88c format: run nm-code-format
Reformat with:

  clang-format version 19.1.0 (Fedora 19.1.0-1.fc41)

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2046
2024-10-04 11:07:35 +02:00
..
sd-adapt-core merge: branch 'systemd' into ff/fix_systemd 2024-03-04 18:19:25 +01:00
src libnm-systemd-core: Disable sd_dhcp6_client_set_duid_uuid function 2024-08-01 13:42:41 +00:00
meson.build merge: branch 'systemd' into ff/fix_systemd 2024-03-04 18:19:25 +01:00
nm-default-systemd-core.h systemd: move "src/core/systemd" to "src/libnm-systemd-core" 2021-05-30 09:45:05 +02:00
nm-sd.c format: run nm-code-format 2024-10-04 11:07:35 +02:00
nm-sd.h lldp: use new libnm-lldp instead of systemd's sd_lldp_rx 2022-10-25 10:59:01 +02:00
README.md systemd: describe import of systemd code in README.md 2022-04-04 21:33:06 +02:00

libnm-systemd-core

This is a fork of systemd source files that are compiled as a static library with network helpers.

We use systemd's DHCPv6 and LLDP library, by forking their code.

We also still use their DHCPv4 library, but that is about to be replaced by nettools' n-dhcp4 and not used unless you configure the undocumented [main].dhcp=systemd plugin.

This approach of code-reuse is very cumbersome, and we should replace systemd code by a proper library (like nettools).

We should not use systemd directly from our sources, beyond what we really need.

Reimport Upstream Code

Read here.