Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Drtnl_addr_attrs.h20 #if defined(IFA_LOCAL) || (defined(HAVE_DECL_IFA_LOCAL) && HAVE_DECL_IFA_LOCAL)
22 static_assert((IFA_LOCAL) == (2), "IFA_LOCAL != 2");
25 # define IFA_LOCAL 2
89 XLAT(IFA_LOCAL),
Drtnl_addr_attrs.in3 IFA_LOCAL 2
/external/iputils/ninfod/
Dni_ifaddrs.c101 #ifndef IFA_LOCAL
356 #ifndef IFA_LOCAL in ni_ifaddrs()
395 #ifndef IFA_LOCAL in ni_ifaddrs()
445 #ifndef IFA_LOCAL in ni_ifaddrs()
450 case IFA_LOCAL: in ni_ifaddrs()
463 case IFA_LOCAL: in ni_ifaddrs()
485 #ifndef IFA_LOCAL in ni_ifaddrs()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c184 if (rta_tb[IFA_LOCAL] == NULL) in recvaddrs()
185 rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in recvaddrs()
186 if (rta_tb[IFA_LOCAL] == NULL) in recvaddrs()
199 memcpy(&sin->sin_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 4); in recvaddrs()
202 memcpy(&sin->sin6_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 16); in recvaddrs()
/external/iproute2/ip/
Dipaddress.c1504 if (!rta_tb[IFA_LOCAL]) in print_addrinfo()
1505 rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in print_addrinfo()
1507 rta_tb[IFA_ADDRESS] = rta_tb[IFA_LOCAL]; in print_addrinfo()
1527 if (rta_tb[IFA_LOCAL]) { in print_addrinfo()
1530 memcpy(&dst.data, RTA_DATA(rta_tb[IFA_LOCAL]), RTA_PAYLOAD(rta_tb[IFA_LOCAL])); in print_addrinfo()
1589 if (rta_tb[IFA_LOCAL]) { in print_addrinfo()
1594 rta_tb[IFA_LOCAL])); in print_addrinfo()
1597 RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1897 if (!tb[IFA_LOCAL]) in ipaddr_filter()
1898 tb[IFA_LOCAL] = tb[IFA_ADDRESS]; in ipaddr_filter()
[all …]
/external/libnl/include/linux-private/linux/
Dif_addr.h28 IFA_LOCAL, enumerator
/external/iproute2/include/uapi/linux/
Dif_addr.h29 IFA_LOCAL, enumerator
/external/kernel-headers/original/uapi/linux/
Dif_addr.h29 IFA_LOCAL, enumerator
/external/strace/
Drtnl_addr.c97 [IFA_LOCAL] = decode_ifa_address,
/external/libnl/lib/route/
Daddr.c244 if (tb[IFA_LOCAL]) { in addr_msg_parser()
245 addr->a_local = nl_addr_alloc_attr(tb[IFA_LOCAL], family); in addr_msg_parser()
262 if (!tb[IFA_LOCAL] || !nl_addr_cmp(a, addr->a_local)) { in addr_msg_parser()
579 NLA_PUT_ADDR(msg, IFA_LOCAL, tmpl->a_local); in build_addr_msg()
/external/android-clat/
Dgetaddr.c68 case IFA_LOCAL: in getaddr_cb()
Dsetif.c72 if (nla_put(msg, IFA_LOCAL, addr_size, address) < 0) { in add_address()
/external/toybox/toys/pending/
Dip.c965 if (!rta_tb[IFA_LOCAL]) rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in print_addrinfo()
966 if (!rta_tb[IFA_ADDRESS]) rta_tb[IFA_ADDRESS] = rta_tb[IFA_LOCAL]; in print_addrinfo()
1000 if (rta_tb[IFA_LOCAL]) { in print_addrinfo()
1001 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1006 RTA_DATA(rta_tb[IFA_LOCAL]), 4)) in print_addrinfo()
1167 IFA_LOCAL, &local.data, local.bytelen); in ipaddrupdate()
1368 if (!rta_tb[IFA_LOCAL]) rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in ipaddr_print()
1369 if (rta_tb[IFA_LOCAL]) { in ipaddr_print()
1370 if (!inet_ntop(TT.addressfamily, RTA_DATA(rta_tb[IFA_LOCAL]), in ipaddr_print()
/external/syzkaller/sys/linux/
Dsocket_netlink_route.txt408 IFA_LOCAL nlattr[IFA_LOCAL, ipv4_addr]
418 IFA_LOCAL nlattr[IFA_LOCAL, ipv6_addr]
Dsocket_netlink_route_amd64.const55 IFA_LOCAL = 2
Dsocket_netlink_route_arm.const55 IFA_LOCAL = 2
Dsocket_netlink_route_386.const55 IFA_LOCAL = 2
Dsocket_netlink_route_ppc64le.const55 IFA_LOCAL = 2
Dsocket_netlink_route_arm64.const55 IFA_LOCAL = 2
/external/dnsmasq/src/
Dnetlink.c185 if (rta->rta_type == IFA_LOCAL) in iface_enumerate()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dztypes_linux_sparc64.go381 IFA_LOCAL = 0x2 const
Dztypes_linux_s390x.go430 IFA_LOCAL = 0x2 const
Dztypes_linux_386.go426 IFA_LOCAL = 0x2 const
Dztypes_linux_mips.go427 IFA_LOCAL = 0x2 const
Dztypes_linux_amd64.go430 IFA_LOCAL = 0x2 const

12