Searched refs:IFA_LOCAL (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/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-6.12.1/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-6.12.1/include/uapi/linux/ |
D | if_addr.h | 29 IFA_LOCAL, enumerator
|
/linux-6.12.1/net/ipv4/ |
D | devinet.c | 99 [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/ |
D | netlink.c | 219 if (rtattr_pack(&req.nh, sizeof(req), IFA_LOCAL, &addr, addr_len)) in __ip_addr_add()
|
/linux-6.12.1/net/ipv6/ |
D | addrconf.c | 4767 [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/ |
D | ipsec.c | 386 if (rtattr_pack(&req.nh, sizeof(req), IFA_LOCAL, &addr, sizeof(addr))) in ip4_addr_set()
|