Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/include/uapi/linux/
Dif_addr.h28 IFA_ADDRESS, enumerator
/linux-6.6.21/net/ipv4/
Ddevinet.c100 [IFA_ADDRESS] = { .type = NLA_U32 },
682 if (tb[IFA_ADDRESS] && in inet_rtm_deladdr()
684 !inet_ifa_match(nla_get_in_addr(tb[IFA_ADDRESS]), ifa))) in inet_rtm_deladdr()
880 if (!tb[IFA_ADDRESS]) in rtm_to_ifaddr()
881 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in rtm_to_ifaddr()
892 ifa->ifa_address = nla_get_in_addr(tb[IFA_ADDRESS]); in rtm_to_ifaddr()
1719 nla_put_in_addr(skb, IFA_ADDRESS, ifa->ifa_address)) || in inet_fill_ifaddr()
/linux-6.6.21/net/ipv6/
Daddrconf.c4712 [IFA_ADDRESS] = { .len = sizeof(struct in6_addr) },
4738 pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_deladdr()
4929 cfg.pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_newaddr()
5112 nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->peer_addr) < 0) in inet6_fill_ifaddr()
5115 if (nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->addr) < 0) in inet6_fill_ifaddr()
5463 case IFA_ADDRESS: in inet6_rtm_valid_getaddr_req()
5507 addr = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer); in inet6_rtm_getaddr()
/linux-6.6.21/tools/testing/selftests/net/
Dipsec.c389 if (rtattr_pack(&req.nh, sizeof(req), IFA_ADDRESS, &addr, sizeof(addr))) in ip4_addr_set()