Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Drtnetlink.c1597 ifm->ifi_index = dev->ifindex; in rtnl_fill_ifinfo()
2403 if (ifm->ifi_index > 0 && ifname[0]) { in do_setlink()
2672 if (ifm->ifi_index > 0) in rtnl_setlink()
2673 dev = __dev_get_by_index(net, ifm->ifi_index); in rtnl_setlink()
2773 if (ifm->ifi_index > 0) in rtnl_dellink()
2774 dev = __dev_get_by_index(tgt_net, ifm->ifi_index); in rtnl_dellink()
2783 if (tb[IFLA_IFNAME] || ifm->ifi_index > 0) in rtnl_dellink()
2933 if (ifm->ifi_index > 0) in rtnl_newlink()
2934 dev = __dev_get_by_index(net, ifm->ifi_index); in rtnl_newlink()
3048 if (ifm->ifi_index == 0 && tb[IFLA_GROUP]) in rtnl_newlink()
[all …]
/Linux-v4.19/drivers/net/can/
Dvxcan.c217 peer->ifindex = ifmp->ifi_index; in vxcan_newlink()
/Linux-v4.19/include/uapi/linux/
Drtnetlink.h512 int ifi_index; /* Link index */ member
/Linux-v4.19/tools/lib/bpf/
Dbpf.c554 req.ifinfo.ifi_index = ifindex; in bpf_set_link_xdp_fd()
/Linux-v4.19/net/wireless/
Dwext-core.c432 r->ifi_index = dev->ifindex; in rtnetlink_ifinfo_prep()
/Linux-v4.19/drivers/net/
Dveth.c1138 peer->ifindex = ifmp->ifi_index; in veth_newlink()
/Linux-v4.19/net/bridge/
Dbr_netlink.c401 hdr->ifi_index = dev->ifindex; in br_fill_ifinfo()
/Linux-v4.19/net/ipv6/
Daddrconf.c5503 hdr->ifi_index = dev->ifindex; in inet6_fill_ifinfo()