Home
last modified time | relevance | path

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

/openbmc/phosphor-networkd/test/
H A Dtest_rtnetlink.cpp28 msg.hdr.ifi_index = 1; in TEST()
48 msg.hdr.ifi_index = 1; in TEST()
H A Dmock_syscall.cpp110 info.ifi_index = i.idx; in sendmsg_link_dump()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns/
H A D0005-Use-list-for-changed-interfaces.patch81 - result |= 1 << ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index;
82 … AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index);
H A D0007-Mark-deleted-interfaces-as-being-changed.patch35 … AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index);
/openbmc/phosphor-networkd/src/
H A Dsystem_queries.cpp123 msg.ifi_index = idx; in deleteIntf()
H A Drtnetlink_server.cpp33 return extractRtData<ifinfomsg>(data).ifi_index; in getIfIdx()
H A Drtnetlink.cpp59 ret.idx = ifinfo.ifi_index; in intfFromRtm()
/openbmc/linux/tools/bpf/bpftool/
H A Dnetlink_dumper.c77 return do_xdp_dump_one(tb[IFLA_XDP], ifinfo->ifi_index, in do_xdp_dump()
H A 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()
/openbmc/linux/net/core/
H A Drtnetlink.c1826 ifm->ifi_index = dev->ifindex; in rtnl_fill_ifinfo()
2173 if (ifm->ifi_index) { in rtnl_valid_dump_ifinfo_req()
2310 if (ifmp->ifi_index < 0) { in rtnl_nla_parse_ifinfomsg()
2881 if (ifm->ifi_index > 0 && ifname[0]) { in do_setlink()
3189 if (ifm->ifi_index > 0) in rtnl_setlink()
3190 dev = __dev_get_by_index(net, ifm->ifi_index); in rtnl_setlink()
3292 if (ifm->ifi_index > 0) in rtnl_dellink()
3293 dev = __dev_get_by_index(tgt_net, ifm->ifi_index); in rtnl_dellink()
3302 if (tb[IFLA_IFNAME] || tb[IFLA_ALT_IFNAME] || ifm->ifi_index > 0) in rtnl_dellink()
3511 dev->ifindex = ifm->ifi_index; in rtnl_newlink_create()
[all …]
/openbmc/inarp/
H A Dinarp.c305 iface->ifindex = ifmsg->ifi_index; in netlink_nlmsg_newlink()
337 iface = find_interface_by_ifindex(inarp, ifmsg->ifi_index); in netlink_nlmsg()
/openbmc/qemu/linux-user/
H A Dfd-trans.c1248 ifi->ifi_index = tswap32(ifi->ifi_index); in host_to_target_data_route()
1471 ifi->ifi_index = tswap32(ifi->ifi_index); in target_to_host_data_route()
/openbmc/linux/drivers/net/can/
H A Dvxcan.c222 peer->ifindex = ifmp->ifi_index; in vxcan_newlink()
/openbmc/linux/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()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h561 int ifi_index; /* Link index */ member
/openbmc/linux/tools/testing/selftests/net/
H A Dtap.c108 req.info.ifi_index = 0; in dev_create()
H A Dipsec.c414 req.info.ifi_index = if_nametoindex(intf); in link_set_up()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxsk.c405 req.msg.ifi_index = ifindex; in xsk_set_mtu()
/openbmc/linux/net/wireless/
H A Dwext-core.c433 r->ifi_index = dev->ifindex; in rtnetlink_ifinfo_prep()
/openbmc/linux/net/bridge/
H A Dbr_netlink.c481 hdr->ifi_index = dev->ifindex; in br_fill_ifinfo()
/openbmc/linux/drivers/net/
H A Dveth.c1867 peer->ifindex = ifmp->ifi_index; in veth_newlink()
/openbmc/linux/net/ipv4/
H A Dipmr.c2835 ifm->ifi_change || ifm->ifi_index) { in ipmr_valid_dumplink()
/openbmc/linux/net/ipv6/
H A Daddrconf.c6021 hdr->ifi_index = dev->ifindex; in inet6_fill_ifinfo()
6067 ifm->ifi_change || ifm->ifi_index) { in inet6_valid_dump_ifinfo()