Home
last modified time | relevance | path

Searched refs:alternative_names (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-util.c14 _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()
[all …]
Dnetlink-util.h85 int rtnl_set_link_alternative_names(sd_netlink **rtnl, int ifindex, char * const *alternative_names
86 …lternative_names_by_ifname(sd_netlink **rtnl, const char *ifname, char * const *alternative_names);
87 …tnl_delete_link_alternative_names(sd_netlink **rtnl, int ifindex, char * const *alternative_names);
/systemd-251/src/shared/
Dnet-condition.c77 …ondition_test_ifname(char * const *patterns, const char *ifname, char * const *alternative_names) { in net_condition_test_ifname() argument
81 STRV_FOREACH(p, alternative_names) in net_condition_test_ifname()
129 char * const *alternative_names, in net_match_config() argument
165 if (!net_condition_test_ifname(match->ifname, ifname, alternative_names)) in net_match_config()
Dnet-condition.h39 char * const *alternative_names,
/systemd-251/src/udev/net/
Dlink-config.h57 char **alternative_names; member
Dlink-config.c58 strv_free(config->alternative_names); in link_config_free()
811 if (config->alternative_names) { in link_apply_alternative_names()
812 altnames = strv_copy(config->alternative_names); in link_apply_alternative_names()
Dlink-config-gperf.gperf44 …se_ifnames, IFNAME_VALID_ALTERNATIVE, offsetof(LinkConfig, alternative_names)
/systemd-251/src/network/
Dnetworkd-link.c221 strv_free(link->alternative_names); in link_free()
935 STRV_FOREACH(n, link->alternative_names) in link_drop()
1170 link->alternative_names, in link_get_network()
2289 if (strv_equal(altnames, link->alternative_names)) in link_update_alternative_names()
2292 STRV_FOREACH(n, link->alternative_names) in link_update_alternative_names()
2295 strv_free_and_replace(link->alternative_names, altnames); in link_update_alternative_names()
2297 STRV_FOREACH(n, link->alternative_names) { in link_update_alternative_names()
Dnetworkd-link.h56 char **alternative_names; member
Dnetworkctl.c280 char **alternative_names; member
370 strv_free(array[i].alternative_names); in link_info_array_free()
547 info->alternative_names = TAKE_PTR(altnames); in decode_link()
1666 strv_sort(info->alternative_names); in link_status_one()
1667 r = dump_list(table, "Alternative Names:", info->alternative_names); in link_status_one()
Dnetworkd-dhcp-prefix-delegation.c42 … strv_contains(target->alternative_names, link->network->dhcp_pd_uplink_name); in dhcp_pd_is_uplink()
Dnetworkd-json.c1173 … JSON_BUILD_PAIR_STRV_NON_EMPTY("AlternativeNames", link->alternative_names), in link_build_json()