Lines Matching refs:ifi_index
1751 ifm->ifi_index = dev->ifindex; in rtnl_fill_ifinfo()
2091 if (ifm->ifi_index) { in rtnl_valid_dump_ifinfo_req()
2760 if (ifm->ifi_index > 0 && ifname[0]) { in do_setlink()
3060 if (ifm->ifi_index > 0) in rtnl_setlink()
3061 dev = __dev_get_by_index(net, ifm->ifi_index); in rtnl_setlink()
3158 if (ifm->ifi_index > 0) in rtnl_dellink()
3159 dev = __dev_get_by_index(tgt_net, ifm->ifi_index); in rtnl_dellink()
3168 if (tb[IFLA_IFNAME] || tb[IFLA_ALT_IFNAME] || ifm->ifi_index > 0) in rtnl_dellink()
3361 dev->ifindex = ifm->ifi_index; in rtnl_newlink_create()
3439 if (ifm->ifi_index > 0) { in __rtnl_newlink()
3441 dev = __dev_get_by_index(net, ifm->ifi_index); in __rtnl_newlink()
3680 if (ifm->ifi_index > 0) in rtnl_getlink()
3681 dev = __dev_get_by_index(tgt_net, ifm->ifi_index); in rtnl_getlink()
3775 if (ifm->ifi_index > 0) in rtnl_linkprop()
3776 dev = __dev_get_by_index(net, ifm->ifi_index); in rtnl_linkprop()
4454 *brport_idx = ifm->ifi_index; in valid_fdb_dump_legacy()
4750 ifm->ifi_index = dev->ifindex; in ndo_dflt_bridge_getlink()
4846 ifm->ifi_change || ifm->ifi_index) { in valid_bridge_getlink_req()
5012 dev = __dev_get_by_index(net, ifm->ifi_index); in rtnl_bridge_setlink()
5089 dev = __dev_get_by_index(net, ifm->ifi_index); in rtnl_bridge_dellink()