mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-04 14:20:40 +02:00
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. |
||
|---|---|---|
| .. | ||
| tests | ||
| nm-fake-ndisc.c | ||
| nm-fake-ndisc.h | ||
| nm-lndp-ndisc.c | ||
| nm-lndp-ndisc.h | ||
| nm-ndisc-private.h | ||
| nm-ndisc.c | ||
| nm-ndisc.h | ||