Home
last modified time | relevance | path

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

/linux-6.6.21/tools/bpf/bpftool/
Dnetlink_dumper.c77 return do_xdp_dump_one(tb[IFLA_XDP], ifinfo->ifi_index, in do_xdp_dump()
Dnet.c364 if (netinfo->filter_idx > 0 && netinfo->filter_idx != ifinfo->ifi_index) in dump_link_nlmsg()
376 netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index; in dump_link_nlmsg()
/linux-6.6.21/net/core/
Drtnetlink.c1797 ifm->ifi_index = dev->ifindex; in rtnl_fill_ifinfo()
2144 if (ifm->ifi_index) { in rtnl_valid_dump_ifinfo_req()
2281 if (ifmp->ifi_index < 0) { in rtnl_nla_parse_ifinfomsg()
2852 if (ifm->ifi_index > 0 && ifname[0]) { in do_setlink()
3160 if (ifm->ifi_index > 0) in rtnl_setlink()
3161 dev = __dev_get_by_index(net, ifm->ifi_index); in rtnl_setlink()
3263 if (ifm->ifi_index > 0) in rtnl_dellink()
3264 dev = __dev_get_by_index(tgt_net, ifm->ifi_index); in rtnl_dellink()
3273 if (tb[IFLA_IFNAME] || tb[IFLA_ALT_IFNAME] || ifm->ifi_index > 0) in rtnl_dellink()
3482 dev->ifindex = ifm->ifi_index; in rtnl_newlink_create()
[all …]
/linux-6.6.21/drivers/net/can/
Dvxcan.c222 peer->ifindex = ifmp->ifi_index; in vxcan_newlink()
/linux-6.6.21/tools/lib/bpf/
Dnetlink.c298 req.ifinfo.ifi_index = ifindex; in __bpf_set_link_xdp_fd_replace()
367 if (xdp_id->ifindex && xdp_id->ifindex != ifinfo->ifi_index) in get_xdp_info()
/linux-6.6.21/include/uapi/linux/
Drtnetlink.h561 int ifi_index; /* Link index */ member
/linux-6.6.21/tools/testing/selftests/net/
Dtap.c108 req.info.ifi_index = 0; in dev_create()
Dipsec.c414 req.info.ifi_index = if_nametoindex(intf); in link_set_up()
/linux-6.6.21/tools/testing/selftests/bpf/
Dxsk.c405 req.msg.ifi_index = ifindex; in xsk_set_mtu()
/linux-6.6.21/net/wireless/
Dwext-core.c432 r->ifi_index = dev->ifindex; in rtnetlink_ifinfo_prep()
/linux-6.6.21/drivers/net/
Dveth.c1884 peer->ifindex = ifmp->ifi_index; in veth_newlink()
/linux-6.6.21/net/bridge/
Dbr_netlink.c480 hdr->ifi_index = dev->ifindex; in br_fill_ifinfo()
/linux-6.6.21/net/ipv4/
Dipmr.c2819 ifm->ifi_change || ifm->ifi_index) { in ipmr_valid_dumplink()
/linux-6.6.21/net/ipv6/
Daddrconf.c6002 hdr->ifi_index = dev->ifindex; in inet6_fill_ifinfo()
6048 ifm->ifi_change || ifm->ifi_index) { in inet6_valid_dump_ifinfo()