Home
last modified time | relevance | path

Searched refs:ifa_index (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dif_addr.h13 __u32 ifa_index; /* Link index */ member
/openbmc/linux/net/mctp/
H A Ddevice.c78 hdr->ifa_index = mdev->dev->ifindex; in mctp_fill_addrinfo()
127 ifindex = hdr->ifa_index; in mctp_dump_addrinfo()
218 dev = __dev_get_by_index(net, ifm->ifa_index); in mctp_rtm_newaddr()
281 dev = __dev_get_by_index(net, ifm->ifa_index); in mctp_rtm_deladdr()
/openbmc/phosphor-networkd/test/
H A Dtest_rtnetlink.cpp90 msg.ifa.ifa_index = 10; in TEST()
97 EXPECT_EQ(msg.ifa.ifa_index, ret.ifidx); in TEST()
/openbmc/linux/net/phonet/
H A Dpn_netlink.c82 dev = __dev_get_by_index(net, ifm->ifa_index); in addr_doit()
110 ifm->ifa_index = dev->ifindex; in fill_addr()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns/
H A D0007-Mark-deleted-interfaces-as-being-changed.patch37 … AddInterfaceIndexToList(changedInterfaces, ((struct ifaddrmsg*) NLMSG_DATA(pNLMsg))->ifa_index);
H A D0005-Use-list-for-changed-interfaces.patch84 - result |= 1 << ((struct ifaddrmsg*) NLMSG_DATA(pNLMsg))->ifa_index;
85 … AddInterfaceIndexToList(changedInterfaces, ((struct ifaddrmsg*) NLMSG_DATA(pNLMsg))->ifa_index);
/openbmc/phosphor-networkd/src/
H A Drtnetlink_server.cpp36 return extractRtData<ifaddrmsg>(data).ifa_index; in getIfIdx()
H A Drtnetlink.cpp156 return AddressInfo{.ifidx = ifa.ifa_index, in addrFromRtm()
/openbmc/qemu/linux-user/
H A Dfd-trans.c1260 ifa->ifa_index = tswap32(ifa->ifa_index); in host_to_target_data_route()
1483 ifa->ifa_index = tswap32(ifa->ifa_index); in target_to_host_data_route()
/openbmc/linux/net/ipv4/
H A Ddevinet.c677 in_dev = inetdev_by_index(net, ifm->ifa_index); in inet_rtm_deladdr()
867 dev = __dev_get_by_index(net, ifm->ifa_index); in rtm_to_ifaddr()
1704 ifm->ifa_index = ifa->ifa_dev->dev->ifindex; in inet_fill_ifaddr()
1777 fillargs->ifindex = ifm->ifa_index; in inet_valid_dump_ifaddr_req()
/openbmc/linux/net/ipv6/
H A Daddrconf.c4768 return inet6_addr_del(net, ifm->ifa_index, ifa_flags, pfx, in inet6_rtm_deladdr()
4971 dev = __dev_get_by_index(net, ifm->ifa_index); in inet6_rtm_newaddr()
5006 return inet6_addr_add(net, ifm->ifa_index, &cfg, extack); in inet6_rtm_newaddr()
5032 ifm->ifa_index = ifindex; in put_ifaddrmsg()
5312 fillargs->ifindex = ifm->ifa_index; in inet6_valid_dump_ifaddr_req()
5532 if (ifm->ifa_index) in inet6_rtm_getaddr()
5533 dev = dev_get_by_index(tgt_net, ifm->ifa_index); in inet6_rtm_getaddr()
/openbmc/linux/tools/testing/selftests/net/
H A Dipsec.c374 req.info.ifa_index = if_nametoindex(intf); in ip4_addr_set()