Home
last modified time | relevance | path

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

/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/iproute2/ip/
Dipaddress.c970 if (!rta_tb[IFA_LOCAL]) in print_addrinfo()
971 rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in print_addrinfo()
973 rta_tb[IFA_ADDRESS] = rta_tb[IFA_LOCAL]; in print_addrinfo()
992 if (rta_tb[IFA_LOCAL]) { in print_addrinfo()
996 memcpy(&dst.data, RTA_DATA(rta_tb[IFA_LOCAL]), RTA_PAYLOAD(rta_tb[IFA_LOCAL])); in print_addrinfo()
1040 if (rta_tb[IFA_LOCAL]) { in print_addrinfo()
1043 RTA_PAYLOAD(rta_tb[IFA_LOCAL]), in print_addrinfo()
1044 RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1048 RTA_PAYLOAD(rta_tb[IFA_LOCAL]), in print_addrinfo()
1049 RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
[all …]
/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/libnl/include/linux-private/linux/
Dif_addr.h28 IFA_LOCAL, enumerator
/external/iproute2/include/linux/
Dif_addr.h28 IFA_LOCAL, enumerator
/external/kernel-headers/original/uapi/linux/
Dif_addr.h28 IFA_LOCAL, enumerator
/external/android-clat/
Dgetaddr.c70 case IFA_LOCAL: in getaddr_cb()
Dsetif.c66 if(nla_put(msg, IFA_LOCAL, addr_size, address) < 0) { in add_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/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/dnsmasq/src/
Dnetlink.c202 if (rta->rta_type == IFA_LOCAL) in iface_enumerate()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c236 if (rta->rta_type == IFA_LOCAL) in find_interface()
/external/dhcpcd-6.8.2/
Dif-linux.c621 case IFA_LOCAL: in link_addr()
1307 add_attr_l(&nlm.hdr, sizeof(nlm), IFA_LOCAL, in if_address()
1472 add_attr_l(&nlm.hdr, sizeof(nlm), IFA_LOCAL, in if_address6()