Home
last modified time | relevance | path

Searched refs:IFA_ADDRESS (Results 1 – 6 of 6) sorted by relevance

/linux/net/mctp/
A Ddevice.c59 if (nla_put_u8(skb, IFA_ADDRESS, eid)) in mctp_fill_addrinfo()
131 [IFA_ADDRESS] = { .type = NLA_U8 },
157 else if (tb[IFA_ADDRESS]) in mctp_rtm_newaddr()
158 addr = nla_data(tb[IFA_ADDRESS]); in mctp_rtm_newaddr()
219 else if (tb[IFA_ADDRESS]) in mctp_rtm_deladdr()
220 addr = nla_data(tb[IFA_ADDRESS]); in mctp_rtm_deladdr()
/linux/include/uapi/linux/
A Dif_addr.h28 IFA_ADDRESS, enumerator
/linux/net/decnet/
A Ddn_dev.c557 [IFA_ADDRESS] = { .type = NLA_U16 },
648 if (tb[IFA_ADDRESS] == NULL) in dn_nl_newaddr()
649 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in dn_nl_newaddr()
652 ifa->ifa_address = nla_get_le16(tb[IFA_ADDRESS]); in dn_nl_newaddr()
698 nla_put_le16(skb, IFA_ADDRESS, ifa->ifa_address)) || in dn_nl_fill_ifaddr()
/linux/net/ipv4/
A Ddevinet.c100 [IFA_ADDRESS] = { .type = NLA_U32 },
680 if (tb[IFA_ADDRESS] && in inet_rtm_deladdr()
682 !inet_ifa_match(nla_get_in_addr(tb[IFA_ADDRESS]), ifa))) in inet_rtm_deladdr()
867 if (!tb[IFA_ADDRESS]) in rtm_to_ifaddr()
868 tb[IFA_ADDRESS] = tb[IFA_LOCAL]; in rtm_to_ifaddr()
879 ifa->ifa_address = nla_get_in_addr(tb[IFA_ADDRESS]); in rtm_to_ifaddr()
1695 nla_put_in_addr(skb, IFA_ADDRESS, ifa->ifa_address)) || in inet_fill_ifaddr()
/linux/net/ipv6/
A Daddrconf.c4625 [IFA_ADDRESS] = { .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()
5012 nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->peer_addr) < 0) in inet6_fill_ifaddr()
5015 if (nla_put_in6_addr(skb, IFA_ADDRESS, &ifa->addr) < 0) in inet6_fill_ifaddr()
5359 case IFA_ADDRESS: 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.c351 if (rtattr_pack(&req.nh, sizeof(req), IFA_ADDRESS, &addr, sizeof(addr))) in ip4_addr_set()

Completed in 30 milliseconds