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.c530 if (!rta_tb[IFA_LOCAL]) in print_addrinfo()
531 rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in print_addrinfo()
533 rta_tb[IFA_ADDRESS] = rta_tb[IFA_LOCAL]; in print_addrinfo()
552 if (rta_tb[IFA_LOCAL]) { in print_addrinfo()
556 memcpy(&dst.data, RTA_DATA(rta_tb[IFA_LOCAL]), RTA_PAYLOAD(rta_tb[IFA_LOCAL])); in print_addrinfo()
598 if (rta_tb[IFA_LOCAL]) { in print_addrinfo()
600 RTA_PAYLOAD(rta_tb[IFA_LOCAL]), in print_addrinfo()
601 RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
605 memcmp(RTA_DATA(rta_tb[IFA_ADDRESS]), RTA_DATA(rta_tb[IFA_LOCAL]), 4) == 0) { in print_addrinfo()
980 if (!tb[IFA_LOCAL]) in ipaddr_list_or_flush()
[all …]
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c180 if (rta_tb[IFA_LOCAL] == NULL) in recvaddrs()
181 rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in recvaddrs()
182 if (rta_tb[IFA_LOCAL] == NULL) in recvaddrs()
195 memcpy(&sin->sin_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 4); in recvaddrs()
198 memcpy(&sin->sin6_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 16); in recvaddrs()
/external/libnl/include/linux/
Dif_addr.h26 IFA_LOCAL, enumerator
/external/iproute2/include/linux/
Dif_addr.h25 IFA_LOCAL, enumerator
/external/kernel-headers/original/uapi/linux/
Dif_addr.h28 IFA_LOCAL, enumerator
/external/android-clat/
Dgetaddr.c69 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.c234 if (tb[IFA_LOCAL]) { in addr_msg_parser()
235 addr->a_local = nl_addr_alloc_attr(tb[IFA_LOCAL], family); in addr_msg_parser()
251 if (!tb[IFA_LOCAL] || !nl_addr_cmp(a, addr->a_local)) { in addr_msg_parser()
588 NLA_PUT_ADDR(msg, IFA_LOCAL, tmpl->a_local); in build_addr_msg()
/external/toybox/toys/pending/
Dip.c970 if (!rta_tb[IFA_LOCAL]) rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in print_addrinfo()
971 if (!rta_tb[IFA_ADDRESS]) rta_tb[IFA_ADDRESS] = rta_tb[IFA_LOCAL]; in print_addrinfo()
1005 if (rta_tb[IFA_LOCAL]) { in print_addrinfo()
1006 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1011 RTA_DATA(rta_tb[IFA_LOCAL]), 4)) in print_addrinfo()
1172 IFA_LOCAL, &local.data, local.bytelen); in ipaddrupdate()
1373 if (!rta_tb[IFA_LOCAL]) rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in ipaddr_print()
1374 if (rta_tb[IFA_LOCAL]) { in ipaddr_print()
1375 if (!inet_ntop(TT.addressfamily, RTA_DATA(rta_tb[IFA_LOCAL]), in ipaddr_print()
/external/dhcpcd/
Dif-linux.c330 case IFA_LOCAL: in link_addr()
520 add_attr_l(&nlm->hdr, sizeof(*nlm), IFA_LOCAL, in if_address()
/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()