/openbmc/phosphor-networkd/test/ |
H A D | test_rtnetlink.cpp | 28 msg.hdr.ifi_index = 1; in TEST() 48 msg.hdr.ifi_index = 1; in TEST()
|
H A D | mock_syscall.cpp | 110 info.ifi_index = i.idx; in sendmsg_link_dump()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns/ |
H A D | 0005-Use-list-for-changed-interfaces.patch | 81 - result |= 1 << ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index; 82 … AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index);
|
H A D | 0007-Mark-deleted-interfaces-as-being-changed.patch | 35 … AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index);
|
/openbmc/phosphor-networkd/src/ |
H A D | system_queries.cpp | 123 msg.ifi_index = idx; in deleteIntf()
|
H A D | rtnetlink_server.cpp | 33 return extractRtData<ifinfomsg>(data).ifi_index; in getIfIdx()
|
H A D | rtnetlink.cpp | 59 ret.idx = ifinfo.ifi_index; in intfFromRtm()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | netlink_dumper.c | 77 return do_xdp_dump_one(tb[IFLA_XDP], ifinfo->ifi_index, in do_xdp_dump()
|
H A D | net.c | 364 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 D | rtnetlink.c | 1826 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 D | inarp.c | 305 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 D | fd-trans.c | 1248 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 D | vxcan.c | 222 peer->ifindex = ifmp->ifi_index; in vxcan_newlink()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 298 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 D | rtnetlink.h | 561 int ifi_index; /* Link index */ member
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | tap.c | 108 req.info.ifi_index = 0; in dev_create()
|
H A D | ipsec.c | 414 req.info.ifi_index = if_nametoindex(intf); in link_set_up()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xsk.c | 405 req.msg.ifi_index = ifindex; in xsk_set_mtu()
|
/openbmc/linux/net/wireless/ |
H A D | wext-core.c | 433 r->ifi_index = dev->ifindex; in rtnetlink_ifinfo_prep()
|
/openbmc/linux/net/bridge/ |
H A D | br_netlink.c | 481 hdr->ifi_index = dev->ifindex; in br_fill_ifinfo()
|
/openbmc/linux/drivers/net/ |
H A D | veth.c | 1867 peer->ifindex = ifmp->ifi_index; in veth_newlink()
|
/openbmc/linux/net/ipv4/ |
H A D | ipmr.c | 2835 ifm->ifi_change || ifm->ifi_index) { in ipmr_valid_dumplink()
|
/openbmc/linux/net/ipv6/ |
H A D | addrconf.c | 6021 hdr->ifi_index = dev->ifindex; in inet6_fill_ifinfo() 6067 ifm->ifi_change || ifm->ifi_index) { in inet6_valid_dump_ifinfo()
|