Home
last modified time | relevance | path

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

/linux/net/mctp/
A Ddevice.c56 if (nla_put_u8(skb, IFA_LOCAL, eid)) in mctp_fill_addrinfo()
132 [IFA_LOCAL] = { .type = NLA_U8 },
155 if (tb[IFA_LOCAL]) in mctp_rtm_newaddr()
156 addr = nla_data(tb[IFA_LOCAL]); in mctp_rtm_newaddr()
217 if (tb[IFA_LOCAL]) in mctp_rtm_deladdr()
218 addr = nla_data(tb[IFA_LOCAL]); in mctp_rtm_deladdr()
/linux/net/phonet/
A 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/net/decnet/
A Ddn_dev.c558 [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/include/uapi/linux/
A Dif_addr.h29 IFA_LOCAL, enumerator
/linux/net/ipv4/
A Ddevinet.c99 [IFA_LOCAL] = { .type = NLA_U32 },
673 if (tb[IFA_LOCAL] && in inet_rtm_deladdr()
674 ifa->ifa_local != nla_get_in_addr(tb[IFA_LOCAL])) in inet_rtm_deladdr()
842 if (ifm->ifa_prefixlen > 32 || !tb[IFA_LOCAL]) in rtm_to_ifaddr()
868 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in rtm_to_ifaddr()
878 ifa->ifa_local = nla_get_in_addr(tb[IFA_LOCAL]); in rtm_to_ifaddr()
1697 nla_put_in_addr(skb, IFA_LOCAL, ifa->ifa_local)) || in inet_fill_ifaddr()
/linux/net/ipv6/
A Daddrconf.c4626 [IFA_LOCAL] = { .len = sizeof(struct in6_addr) },
4650 pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_deladdr()
4839 cfg.pfx = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer_pfx); in inet6_rtm_newaddr()
5011 if (nla_put_in6_addr(skb, IFA_LOCAL, &ifa->addr) < 0 || in inet6_fill_ifaddr()
5360 case IFA_LOCAL: in inet6_rtm_valid_getaddr_req()
5403 addr = extract_addr(tb[IFA_ADDRESS], tb[IFA_LOCAL], &peer); in inet6_rtm_getaddr()
/linux/tools/testing/selftests/net/
A Dipsec.c348 if (rtattr_pack(&req.nh, sizeof(req), IFA_LOCAL, &addr, sizeof(addr))) in ip4_addr_set()

Completed in 26 milliseconds