]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: add basic Varlink interface
authorLennart Poettering <lennart@poettering.net>
Mon, 20 Nov 2023 11:07:13 +0000 (12:07 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 22 Dec 2023 02:54:43 +0000 (11:54 +0900)
commitc5c74d85d302d95d2b0f2b938c4f178e428e19a3
treef9b7e963015ea081356dcc8ba128f717cd65386e
parent8017ed7e0e0ffaafcf9856f963928ca2a21340b6
networkd: add basic Varlink interface

Let's get networkd onto Varlink. This only adds the most basic of
operations.

I'd love to see networkd do Varlink for all its basic operations so that
networkctl can use that, and work correctly before D-Bus is up. Right
now, many of networkctls calls simply don't work before D-Bus, and I'd
like to see that improved.
src/network/meson.build
src/network/networkd-manager-varlink.c [new file with mode: 0644]
src/network/networkd-manager-varlink.h [new file with mode: 0644]
src/network/networkd-manager.c
src/network/networkd-manager.h
src/shared/meson.build
src/shared/varlink-io.systemd.Network.c [new file with mode: 0644]
src/shared/varlink-io.systemd.Network.h [new file with mode: 0644]
src/test/test-varlink-idl.c