NetworkManager/src/core/ndisc
Thomas Haller a8866095dd
core/ndisc: move nm_lndp_ndisc_get_sysctl() to "nm-ndisc.[ch]"
NMNDisc has two implementations: lndp and fake. Fake only exists as a
stub for unit tests, otherwise there is no purpose to it. Also, we won't
ever add another implementation beside lndp. If lndp is not suitable, it
would be replaced, but not accompanied by a second implementation.

As such, nm_lndp_ndisc_get_sysctl() has no purpose to be in
"nm-lndp-ndisc.c". This split does not exist to abstract "nm-ndisc.c"
from NMPlatform. It exists to make it easier to test.
2021-09-20 13:59:10 +02:00
..
tests core/ndisc: move nm_lndp_ndisc_get_sysctl() to "nm-ndisc.[ch]" 2021-09-20 13:59:10 +02:00
nm-fake-ndisc.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-fake-ndisc.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-lndp-ndisc.c core/ndisc: move nm_lndp_ndisc_get_sysctl() to "nm-ndisc.[ch]" 2021-09-20 13:59:10 +02:00
nm-lndp-ndisc.h core/ndisc: move nm_lndp_ndisc_get_sysctl() to "nm-ndisc.[ch]" 2021-09-20 13:59:10 +02:00
nm-ndisc-private.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-ndisc.c core/ndisc: move nm_lndp_ndisc_get_sysctl() to "nm-ndisc.[ch]" 2021-09-20 13:59:10 +02:00
nm-ndisc.h core/ndisc: move nm_lndp_ndisc_get_sysctl() to "nm-ndisc.[ch]" 2021-09-20 13:59:10 +02:00