Home
last modified time | relevance | path

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

/linux/net/core/
A Drtnetlink.c1711 ifm->ifi_index = dev->ifindex; in rtnl_fill_ifinfo()
2042 if (ifm->ifi_index) { in rtnl_valid_dump_ifinfo_req()
2698 if (ifm->ifi_index > 0 && ifname[0]) { in do_setlink()
3000 if (ifm->ifi_index > 0) in rtnl_setlink()
3098 if (ifm->ifi_index > 0) in rtnl_dellink()
3289 if (ifm->ifi_index > 0) in __rtnl_newlink()
3455 dev->ifindex = ifm->ifi_index; in __rtnl_newlink()
3592 if (ifm->ifi_index > 0) in rtnl_getlink()
3677 if (ifm->ifi_index > 0) in rtnl_linkprop()
4327 *brport_idx = ifm->ifi_index; in valid_fdb_dump_legacy()
[all …]
/linux/tools/bpf/bpftool/
A Dnetlink_dumper.c77 return do_xdp_dump_one(tb[IFLA_XDP], ifinfo->ifi_index, in do_xdp_dump()
A Dnet.c357 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()
/linux/drivers/net/can/
A Dvxcan.c214 peer->ifindex = ifmp->ifi_index; in vxcan_newlink()
/linux/tools/lib/bpf/
A Dnetlink.c196 req.ifinfo.ifi_index = ifindex; in __bpf_set_link_xdp_fd_replace()
268 if (xdp_id->ifindex && xdp_id->ifindex != ifinfo->ifi_index) in get_xdp_info()
/linux/include/uapi/linux/
A Drtnetlink.h552 int ifi_index; /* Link index */ member
/linux/net/wireless/
A Dwext-core.c432 r->ifi_index = dev->ifindex; in rtnetlink_ifinfo_prep()
/linux/drivers/net/
A Dveth.c1694 peer->ifindex = ifmp->ifi_index; in veth_newlink()
/linux/net/bridge/
A Dbr_netlink.c459 hdr->ifi_index = dev->ifindex; in br_fill_ifinfo()
/linux/tools/testing/selftests/net/
A Dipsec.c376 req.info.ifi_index = if_nametoindex(intf); in link_set_up()
/linux/net/ipv4/
A Dipmr.c2800 ifm->ifi_change || ifm->ifi_index) { in ipmr_valid_dumplink()
/linux/net/ipv6/
A Daddrconf.c5895 hdr->ifi_index = dev->ifindex; in inet6_fill_ifinfo()
5941 ifm->ifi_change || ifm->ifi_index) { in inet6_valid_dump_ifinfo()

Completed in 63 milliseconds