• Home
  • Raw
  • Download

Lines Matching refs:ifname

1706 		      struct nlattr **tb, char *ifname, int status)  in do_setlink()  argument
1726 err = dev_change_net_namespace(dev, net, ifname); in do_setlink()
1800 if (ifm->ifi_index > 0 && ifname[0]) { in do_setlink()
1801 err = dev_change_name(dev, ifname); in do_setlink()
1981 char ifname[IFNAMSIZ]; in rtnl_setlink() local
1988 nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_setlink()
1990 ifname[0] = '\0'; in rtnl_setlink()
1997 dev = __dev_get_by_name(net, ifname); in rtnl_setlink()
2006 err = do_setlink(skb, dev, ifm, tb, ifname, 0); in rtnl_setlink()
2068 char ifname[IFNAMSIZ]; in rtnl_dellink() local
2077 nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_dellink()
2083 dev = __dev_get_by_name(net, ifname); in rtnl_dellink()
2118 const char *ifname, unsigned char name_assign_type, in rtnl_create_link() argument
2143 dev = alloc_netdev_mqs(ops->priv_size, ifname, name_assign_type, in rtnl_create_link()
2206 char ifname[IFNAMSIZ]; in rtnl_newlink() local
2220 nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_newlink()
2222 ifname[0] = '\0'; in rtnl_newlink()
2228 if (ifname[0]) in rtnl_newlink()
2229 dev = __dev_get_by_name(net, ifname); in rtnl_newlink()
2331 return do_setlink(skb, dev, ifm, tb, ifname, status); in rtnl_newlink()
2362 if (!ifname[0]) { in rtnl_newlink()
2363 snprintf(ifname, IFNAMSIZ, "%s%%d", ops->kind); in rtnl_newlink()
2388 dev = rtnl_create_link(link_net ? : dest_net, ifname, in rtnl_newlink()
2420 err = dev_change_net_namespace(dev, dest_net, ifname); in rtnl_newlink()
2446 char ifname[IFNAMSIZ]; in rtnl_getlink() local
2458 nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_getlink()
2467 dev = __dev_get_by_name(net, ifname); in rtnl_getlink()