Home
last modified time | relevance | path

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

/linux-6.15/tools/bpf/bpftool/
H A Dnetlink_dumper.c77 return do_xdp_dump_one(tb[IFLA_XDP], (unsigned int)ifinfo->ifi_index, in do_xdp_dump()
H A Dnet.c370 if (netinfo->filter_idx > 0 && netinfo->filter_idx != ifinfo->ifi_index) in dump_link_nlmsg()
382 netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index; in dump_link_nlmsg()
/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c323 req.info.ifi_index = if_nametoindex(intf); in __link_set_up()
367 req.info.ifi_index = ifindex; in __add_vrf()
/linux-6.15/net/core/
H A Drtnetlink.c2404 if (ifm->ifi_index) { in rtnl_valid_dump_ifinfo_req()
2531 if (ifmp->ifi_index < 0) { in rtnl_nla_parse_ifinfomsg()
3458 if (ifm->ifi_index > 0) in rtnl_setlink()
3558 if (ifm->ifi_index > 0) in rtnl_dellink()
3830 dev->ifindex = ifm->ifi_index; in rtnl_newlink_create()
3913 if (ifm->ifi_index > 0) { in __rtnl_newlink()
3916 } else if (ifm->ifi_index < 0) { in __rtnl_newlink()
4159 if (ifm->ifi_index > 0) in rtnl_getlink()
4262 if (ifm->ifi_index > 0) in rtnl_linkprop()
4962 *brport_idx = ifm->ifi_index; in valid_fdb_dump_legacy()
[all …]
/linux-6.15/drivers/net/can/
H A Dvxcan.c214 peer->ifindex = ifmp->ifi_index; in vxcan_newlink()
/linux-6.15/tools/lib/bpf/
H A 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.15/tools/testing/selftests/net/
H A Dtap.c108 req.info.ifi_index = 0; in dev_create()
H A Dipsec.c415 req.info.ifi_index = if_nametoindex(intf); in link_set_up()
/linux-6.15/include/uapi/linux/
H A Drtnetlink.h575 int ifi_index; /* Link index */ member
/linux-6.15/tools/testing/selftests/bpf/
H A Dxsk.c408 req.msg.ifi_index = ifindex; in xsk_set_mtu()
/linux-6.15/net/wireless/
H A Dwext-core.c433 r->ifi_index = dev->ifindex; in rtnetlink_ifinfo_prep()
/linux-6.15/drivers/net/
H A Dnetkit.c413 peer->ifindex = ifmp->ifi_index; in netkit_new_link()
H A Dveth.c1814 peer->ifindex = ifmp->ifi_index; in veth_newlink()
/linux-6.15/net/bridge/
H A Dbr_netlink.c481 hdr->ifi_index = dev->ifindex; in br_fill_ifinfo()
/linux-6.15/net/ipv4/
H A Dipmr.c2841 ifm->ifi_change || ifm->ifi_index) { in ipmr_valid_dumplink()
/linux-6.15/net/ipv6/
H A Daddrconf.c6083 hdr->ifi_index = ifindex; in inet6_fill_ifinfo()
6130 ifm->ifi_change || ifm->ifi_index) { in inet6_valid_dump_ifinfo()