Home
last modified time | relevance | path

Searched refs:IFA_ADDRESS (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/net/mctp/
Ddevice.c83 if (nla_put_u8(skb, IFA_ADDRESS, eid)) in mctp_fill_addrinfo()
186 [IFA_ADDRESS] = { .type = NLA_U8 },
212 else if (tb[IFA_ADDRESS]) in mctp_rtm_newaddr()
213 addr = nla_data(tb[IFA_ADDRESS]); in mctp_rtm_newaddr()
275 else if (tb[IFA_ADDRESS]) in mctp_rtm_deladdr()
276 addr = nla_data(tb[IFA_ADDRESS]); in mctp_rtm_deladdr()
/linux-5.19.10/include/uapi/linux/
Dif_addr.h28 IFA_ADDRESS, enumerator
/linux-5.19.10/net/decnet/
Ddn_dev.c557 [IFA_ADDRESS] = { .type = NLA_U16 },
648 if (tb[IFA_ADDRESS] == NULL) in dn_nl_newaddr()
649 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in dn_nl_newaddr()
652 ifa->ifa_address = nla_get_le16(tb[IFA_ADDRESS]); in dn_nl_newaddr()
698 nla_put_le16(skb, IFA_ADDRESS, ifa->ifa_address)) || in dn_nl_fill_ifaddr()
/linux-5.19.10/net/ipv4/
Ddevinet.c100 [IFA_ADDRESS] = { .type = NLA_U32 },
679 if (tb[IFA_ADDRESS] && in inet_rtm_deladdr()
681 !inet_ifa_match(nla_get_in_addr(tb[IFA_ADDRESS]), ifa))) in inet_rtm_deladdr()
866 if (!tb[IFA_ADDRESS]) in rtm_to_ifaddr()
867 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in rtm_to_ifaddr()
878 ifa->ifa_address = nla_get_in_addr(tb[IFA_ADDRESS]); in rtm_to_ifaddr()
1698 nla_put_in_addr(skb, IFA_ADDRESS, ifa->ifa_address)) || in inet_fill_ifaddr()
/linux-5.19.10/net/ipv6/
Daddrconf.c4650 [IFA_ADDRESS] = { .len = sizeof(struct in6_addr) },
4676 pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_deladdr()
4867 cfg.pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_newaddr()
5046 nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->peer_addr) < 0) in inet6_fill_ifaddr()
5049 if (nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->addr) < 0) in inet6_fill_ifaddr()
5397 case IFA_ADDRESS: in inet6_rtm_valid_getaddr_req()
5441 addr = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer); in inet6_rtm_getaddr()
/linux-5.19.10/tools/testing/selftests/net/
Dipsec.c350 if (rtattr_pack(&req.nh, sizeof(req), IFA_ADDRESS, &addr, sizeof(addr))) in ip4_addr_set()