diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-12 01:41:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-12 01:54:40 +0200 |
commit | ee8c45689526ca973407cbb77bce7b96a062c40b (patch) | |
tree | 789e44a352ce3a0a5a88af6339117e8deaff0950 /src/libsystemd/sd-rtnl/local-addresses.h | |
parent | 1cb5d1f31909c731d93568eb4838cb86e033d783 (diff) |
networkd: add minimal client tool "networkd" to query network status
In the long run this should become a full fledged client to networkd
(but not before networkd learns bus support). For now, just pull
interesting data out of networkd, udev, and rtnl and present it to the
user, in a simple but useful output.
Diffstat (limited to 'src/libsystemd/sd-rtnl/local-addresses.h')
-rw-r--r-- | src/libsystemd/sd-rtnl/local-addresses.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/local-addresses.h b/src/libsystemd/sd-rtnl/local-addresses.h index c6e3559bf1..b1ed6341f6 100644 --- a/src/libsystemd/sd-rtnl/local-addresses.h +++ b/src/libsystemd/sd-rtnl/local-addresses.h @@ -26,6 +26,7 @@ #include <assert.h> #include <sys/socket.h> +#include "sd-rtnl.h" #include "in-addr-util.h" struct local_address { @@ -34,4 +35,4 @@ struct local_address { union in_addr_union address; }; -int local_addresses(struct local_address **ret); +int local_addresses(sd_rtnl *rtnl, int ifindex, struct local_address **ret); |