summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-netlink/netlink-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-12-17 10:28:36 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-12-17 16:05:50 +0100
commitb04c5e51da7a61d41d564e73a1e92bd8b29b0223 (patch)
tree7bf6b520d6233d8fd60c6333f7a196e05be7f039 /src/libsystemd/sd-netlink/netlink-util.h
parentMerge pull request #14267 from poettering/pkcs11-cryptsetup (diff)
downloadsystemd-b04c5e51da7a61d41d564e73a1e92bd8b29b0223.tar.xz
systemd-b04c5e51da7a61d41d564e73a1e92bd8b29b0223.zip
sd-netlink: introduce rtnl_resolve_link_alternative_names()
Diffstat (limited to 'src/libsystemd/sd-netlink/netlink-util.h')
-rw-r--r--src/libsystemd/sd-netlink/netlink-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-util.h b/src/libsystemd/sd-netlink/netlink-util.h
index 42c8917219..8c43fafec7 100644
--- a/src/libsystemd/sd-netlink/netlink-util.h
+++ b/src/libsystemd/sd-netlink/netlink-util.h
@@ -50,6 +50,7 @@ static inline bool rtnl_message_type_is_qdisc(uint16_t type) {
int rtnl_set_link_name(sd_netlink **rtnl, int ifindex, const char *name);
int rtnl_set_link_properties(sd_netlink **rtnl, int ifindex, const char *alias, const struct ether_addr *mac, uint32_t mtu);
int rtnl_set_link_alternative_names(sd_netlink **rtnl, int ifindex, char * const *alternative_names);
+int rtnl_resolve_link_alternative_name(sd_netlink **rtnl, const char *name, int *ret);
int rtnl_log_parse_error(int r);
int rtnl_log_create_error(int r);