Searched refs:IFA_LOCAL (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/net/mctp/ |
D | device.c | 80 if (nla_put_u8(skb, IFA_LOCAL, eid)) in mctp_fill_addrinfo() 187 [IFA_LOCAL] = { .type = NLA_U8 }, 210 if (tb[IFA_LOCAL]) in mctp_rtm_newaddr() 211 addr = nla_data(tb[IFA_LOCAL]); in mctp_rtm_newaddr() 273 if (tb[IFA_LOCAL]) in mctp_rtm_deladdr() 274 addr = nla_data(tb[IFA_LOCAL]); in mctp_rtm_deladdr()
|
/linux-5.19.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-5.19.10/include/uapi/linux/ |
D | if_addr.h | 29 IFA_LOCAL, enumerator
|
/linux-5.19.10/net/decnet/ |
D | dn_dev.c | 558 [IFA_LOCAL] = { .type = NLA_U16 }, 595 if (tb[IFA_LOCAL] && in dn_nl_deladdr() 596 nla_memcmp(tb[IFA_LOCAL], &ifa->ifa_local, 2)) in dn_nl_deladdr() 632 if (tb[IFA_LOCAL] == NULL) in dn_nl_newaddr() 649 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in dn_nl_newaddr() 651 ifa->ifa_local = nla_get_le16(tb[IFA_LOCAL]); in dn_nl_newaddr() 700 nla_put_le16(skb, IFA_LOCAL, ifa->ifa_local)) || in dn_nl_fill_ifaddr()
|
/linux-5.19.10/net/ipv4/ |
D | devinet.c | 99 [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() 1700 nla_put_in_addr(skb, IFA_LOCAL, ifa->ifa_local)) || in inet_fill_ifaddr()
|
/linux-5.19.10/net/ipv6/ |
D | addrconf.c | 4651 [IFA_LOCAL] = { .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() 5045 if (nla_put_in6_addr(skb, IFA_LOCAL, &ifa->addr) < 0 || in inet6_fill_ifaddr() 5398 case IFA_LOCAL: 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/ |
D | ipsec.c | 347 if (rtattr_pack(&req.nh, sizeof(req), IFA_LOCAL, &addr, sizeof(addr))) in ip4_addr_set()
|