Home
last modified time | relevance | path

Searched refs:IFA_LOCAL (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/net/mctp/
Ddevice.c80 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-6.12.1/net/phonet/
Dpn_netlink.c48 [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-6.12.1/include/uapi/linux/
Dif_addr.h29 IFA_LOCAL, enumerator
/linux-6.12.1/net/ipv4/
Ddevinet.c99 [IFA_LOCAL] = { .type = NLA_U32 },
697 if (tb[IFA_LOCAL] && in inet_rtm_deladdr()
698 ifa->ifa_local != nla_get_in_addr(tb[IFA_LOCAL])) in inet_rtm_deladdr()
876 if (!tb[IFA_LOCAL]) { in rtm_to_ifaddr()
905 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in rtm_to_ifaddr()
912 ifa->ifa_local = nla_get_in_addr(tb[IFA_LOCAL]); in rtm_to_ifaddr()
1750 nla_put_in_addr(skb, IFA_LOCAL, ifa->ifa_local)) || in inet_fill_ifaddr()
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dnetlink.c219 if (rtattr_pack(&req.nh, sizeof(req), IFA_LOCAL, &addr, addr_len)) in __ip_addr_add()
/linux-6.12.1/net/ipv6/
Daddrconf.c4767 [IFA_LOCAL] = { .len = sizeof(struct in6_addr) },
4792 pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_deladdr()
4992 cfg.pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_newaddr()
5178 if (nla_put_in6_addr(skb, IFA_LOCAL, &ifa->addr) < 0 || in inet6_fill_ifaddr()
5513 case IFA_LOCAL: in inet6_rtm_valid_getaddr_req()
5556 addr = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer); in inet6_rtm_getaddr()
/linux-6.12.1/tools/testing/selftests/net/
Dipsec.c386 if (rtattr_pack(&req.nh, sizeof(req), IFA_LOCAL, &addr, sizeof(addr))) in ip4_addr_set()