Home
last modified time | relevance | path

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

/Linux-v5.15/net/mctp/
Ddevice.c62 hdr->ifa_index = mdev->dev->ifindex; in mctp_fill_addrinfo()
107 ifindex = hdr->ifa_index; in mctp_dump_addrinfo()
171 dev = __dev_get_by_index(net, ifm->ifa_index); in mctp_rtm_newaddr()
233 dev = __dev_get_by_index(net, ifm->ifa_index); in mctp_rtm_deladdr()
/Linux-v5.15/include/uapi/linux/
Dif_addr.h13 __u32 ifa_index; /* Link index */ member
/Linux-v5.15/net/phonet/
Dpn_netlink.c82 dev = __dev_get_by_index(net, ifm->ifa_index); in addr_doit()
110 ifm->ifa_index = dev->ifindex; in fill_addr()
/Linux-v5.15/net/decnet/
Ddn_dev.c588 if ((dn_db = dn_dev_by_index(ifm->ifa_index)) == NULL) in dn_nl_deladdr()
636 if ((dev = __dev_get_by_index(&init_net, ifm->ifa_index)) == NULL) in dn_nl_newaddr()
695 ifm->ifa_index = ifa->ifa_dev->dev->ifindex; in dn_nl_fill_ifaddr()
/Linux-v5.15/net/ipv4/
Ddevinet.c663 in_dev = inetdev_by_index(net, ifm->ifa_index); in inet_rtm_deladdr()
843 dev = __dev_get_by_index(net, ifm->ifa_index); in rtm_to_ifaddr()
1665 ifm->ifa_index = ifa->ifa_dev->dev->ifindex; in inet_fill_ifaddr()
1736 fillargs->ifindex = ifm->ifa_index; in inet_valid_dump_ifaddr_req()
/Linux-v5.15/net/ipv6/
Daddrconf.c4654 return inet6_addr_del(net, ifm->ifa_index, ifa_flags, pfx, in inet6_rtm_deladdr()
4854 dev = __dev_get_by_index(net, ifm->ifa_index); in inet6_rtm_newaddr()
4887 return inet6_addr_add(net, ifm->ifa_index, &cfg, extack); in inet6_rtm_newaddr()
4911 ifm->ifa_index = ifindex; in put_ifaddrmsg()
5184 fillargs->ifindex = ifm->ifa_index; in inet6_valid_dump_ifaddr_req()
5403 if (ifm->ifa_index) in inet6_rtm_getaddr()
5404 dev = dev_get_by_index(tgt_net, ifm->ifa_index); in inet6_rtm_getaddr()
/Linux-v5.15/tools/testing/selftests/net/
Dipsec.c336 req.info.ifa_index = if_nametoindex(intf); in ip4_addr_set()