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/systemd/sd-rtnl.h | |
parent | 1cb5d1f31909c731d93568eb4838cb86e033d783 (diff) | |
download | systemd-ee8c45689526ca973407cbb77bce7b96a062c40b.tar.gz |
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/systemd/sd-rtnl.h')
-rw-r--r-- | src/systemd/sd-rtnl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-rtnl.h b/src/systemd/sd-rtnl.h index 47bb232ff1..1e7eb811d1 100644 --- a/src/systemd/sd-rtnl.h +++ b/src/systemd/sd-rtnl.h @@ -95,6 +95,7 @@ int sd_rtnl_message_link_set_flags(sd_rtnl_message *m, unsigned flags, unsigned int sd_rtnl_message_link_set_type(sd_rtnl_message *m, unsigned type); int sd_rtnl_message_link_get_ifindex(sd_rtnl_message *m, int *ifindex); int sd_rtnl_message_link_get_flags(sd_rtnl_message *m, unsigned *flags); +int sd_rtnl_message_link_get_type(sd_rtnl_message *m, unsigned *type); int sd_rtnl_message_route_set_dst_prefixlen(sd_rtnl_message *m, unsigned char prefixlen); int sd_rtnl_message_route_set_scope(sd_rtnl_message *m, unsigned char scope); |