Lines Matching refs:alternative_names
14 _cleanup_strv_free_ char **alternative_names = NULL; in rtnl_set_link_name() local
25 r = rtnl_get_link_alternative_names(rtnl, ifindex, &alternative_names); in rtnl_set_link_name()
30 if (strv_contains(alternative_names, name)) { in rtnl_set_link_name()
187 …ative_names(sd_netlink **rtnl, uint16_t nlmsg_type, int ifindex, char * const *alternative_names) { in rtnl_update_link_alternative_names() argument
195 if (strv_isempty(alternative_names)) in rtnl_update_link_alternative_names()
212 r = sd_netlink_message_append_strv(message, IFLA_ALT_IFNAME, alternative_names); in rtnl_update_link_alternative_names()
227 int rtnl_set_link_alternative_names(sd_netlink **rtnl, int ifindex, char * const *alternative_names… in rtnl_set_link_alternative_names() argument
228 … return rtnl_update_link_alternative_names(rtnl, RTM_NEWLINKPROP, ifindex, alternative_names); in rtnl_set_link_alternative_names()
231 …nl_delete_link_alternative_names(sd_netlink **rtnl, int ifindex, char * const *alternative_names) { in rtnl_delete_link_alternative_names() argument
232 … return rtnl_update_link_alternative_names(rtnl, RTM_DELLINKPROP, ifindex, alternative_names); in rtnl_delete_link_alternative_names()
235 …ternative_names_by_ifname(sd_netlink **rtnl, const char *ifname, char * const *alternative_names) { in rtnl_set_link_alternative_names_by_ifname() argument
242 if (strv_isempty(alternative_names)) in rtnl_set_link_alternative_names_by_ifname()
263 r = sd_netlink_message_append_strv(message, IFLA_ALT_IFNAME, alternative_names); in rtnl_set_link_alternative_names_by_ifname()