Searched refs:ifi_index (Results 1 – 13 of 13) sorted by relevance
77 return do_xdp_dump_one(tb[IFLA_XDP], ifinfo->ifi_index, in do_xdp_dump()
357 if (netinfo->filter_idx > 0 && netinfo->filter_idx != ifinfo->ifi_index) in dump_link_nlmsg()369 netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index; in dump_link_nlmsg()
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()[all …]
227 peer->ifindex = ifmp->ifi_index; in vxcan_newlink()
253 req.ifinfo.ifi_index = ifindex; in __bpf_set_link_xdp_fd_replace()322 if (xdp_id->ifindex && xdp_id->ifindex != ifinfo->ifi_index) in get_xdp_info()
561 int ifi_index; /* Link index */ member
108 req.info.ifi_index = 0; in dev_create()
414 req.info.ifi_index = if_nametoindex(intf); in link_set_up()
432 r->ifi_index = dev->ifindex; in rtnetlink_ifinfo_prep()
1761 peer->ifindex = ifmp->ifi_index; in veth_newlink()
464 hdr->ifi_index = dev->ifindex; in br_fill_ifinfo()
2806 ifm->ifi_change || ifm->ifi_index) { in ipmr_valid_dumplink()
5938 hdr->ifi_index = dev->ifindex; in inet6_fill_ifinfo()5984 ifm->ifi_change || ifm->ifi_index) { in inet6_valid_dump_ifinfo()