Searched refs:IFA_ADDRESS (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/include/uapi/linux/ |
D | if_addr.h | 28 IFA_ADDRESS, enumerator
|
/Linux-v5.10/net/decnet/ |
D | dn_dev.c | 559 [IFA_ADDRESS] = { .type = NLA_U16 }, 650 if (tb[IFA_ADDRESS] == NULL) in dn_nl_newaddr() 651 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in dn_nl_newaddr() 654 ifa->ifa_address = nla_get_le16(tb[IFA_ADDRESS]); in dn_nl_newaddr() 700 nla_put_le16(skb, IFA_ADDRESS, ifa->ifa_address)) || in dn_nl_fill_ifaddr()
|
/Linux-v5.10/net/ipv4/ |
D | devinet.c | 98 [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() 1694 nla_put_in_addr(skb, IFA_ADDRESS, ifa->ifa_address)) || in inet_fill_ifaddr()
|
/Linux-v5.10/net/ipv6/ |
D | addrconf.c | 4598 [IFA_ADDRESS] = { .len = sizeof(struct in6_addr) }, 4623 pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_deladdr() 4812 cfg.pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_newaddr() 4985 nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->peer_addr) < 0) in inet6_fill_ifaddr() 4988 if (nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->addr) < 0) in inet6_fill_ifaddr() 5330 case IFA_ADDRESS: in inet6_rtm_valid_getaddr_req() 5375 addr = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer); in inet6_rtm_getaddr()
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | ipsec.c | 351 if (rtattr_pack(&req.nh, sizeof(req), IFA_ADDRESS, &addr, sizeof(addr))) in ip4_addr_set()
|