Searched refs:altifname (Results 1 – 1 of 1) sorted by relevance
106 static int set_alternative_ifname(sd_netlink *rtnl, const char *ifname, const char *altifname) { in set_alternative_ifname() argument112 if (!altifname) in set_alternative_ifname()115 if (strlen(altifname) >= ALTIFNAMSIZ) in set_alternative_ifname()118 altifname, ifname); in set_alternative_ifname()120 r = rtnl_set_link_alternative_names_by_ifname(&rtnl, ifname, STRV_MAKE(altifname)); in set_alternative_ifname()124 altifname, ifname); in set_alternative_ifname()