Searched refs:IFA_LOCAL (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/net/phonet/ |
D | pn_netlink.c | 48 [IFA_LOCAL] = { .type = NLA_U8 }, 75 if (tb[IFA_LOCAL] == NULL) in addr_doit() 77 pnaddr = nla_get_u8(tb[IFA_LOCAL]); in addr_doit() 111 if (nla_put_u8(skb, IFA_LOCAL, addr)) in fill_addr()
|
/Linux-v5.10/include/uapi/linux/ |
D | if_addr.h | 29 IFA_LOCAL, enumerator
|
/Linux-v5.10/net/decnet/ |
D | dn_dev.c | 560 [IFA_LOCAL] = { .type = NLA_U16 }, 597 if (tb[IFA_LOCAL] && in dn_nl_deladdr() 598 nla_memcmp(tb[IFA_LOCAL], &ifa->ifa_local, 2)) in dn_nl_deladdr() 634 if (tb[IFA_LOCAL] == NULL) in dn_nl_newaddr() 651 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in dn_nl_newaddr() 653 ifa->ifa_local = nla_get_le16(tb[IFA_LOCAL]); in dn_nl_newaddr() 702 nla_put_le16(skb, IFA_LOCAL, ifa->ifa_local)) || in dn_nl_fill_ifaddr()
|
/Linux-v5.10/net/ipv4/ |
D | devinet.c | 97 [IFA_LOCAL] = { .type = NLA_U32 }, 672 if (tb[IFA_LOCAL] && in inet_rtm_deladdr() 673 ifa->ifa_local != nla_get_in_addr(tb[IFA_LOCAL])) in inet_rtm_deladdr() 841 if (ifm->ifa_prefixlen > 32 || !tb[IFA_LOCAL]) in rtm_to_ifaddr() 867 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in rtm_to_ifaddr() 877 ifa->ifa_local = nla_get_in_addr(tb[IFA_LOCAL]); in rtm_to_ifaddr() 1696 nla_put_in_addr(skb, IFA_LOCAL, ifa->ifa_local)) || in inet_fill_ifaddr()
|
/Linux-v5.10/net/ipv6/ |
D | addrconf.c | 4599 [IFA_LOCAL] = { .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() 4984 if (nla_put_in6_addr(skb, IFA_LOCAL, &ifa->addr) < 0 || in inet6_fill_ifaddr() 5331 case IFA_LOCAL: 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 | 348 if (rtattr_pack(&req.nh, sizeof(req), IFA_LOCAL, &addr, sizeof(addr))) in ip4_addr_set()
|