Searched refs:IFA_LOCAL (Results 1 – 13 of 13) sorted by relevance
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 101 #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/ |
D | ipaddress.c | 530 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/ |
D | grabmyaddr.c | 180 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/ |
D | if_addr.h | 26 IFA_LOCAL, enumerator
|
/external/iproute2/include/linux/ |
D | if_addr.h | 25 IFA_LOCAL, enumerator
|
/external/kernel-headers/original/uapi/linux/ |
D | if_addr.h | 28 IFA_LOCAL, enumerator
|
/external/android-clat/ |
D | getaddr.c | 69 case IFA_LOCAL: in getaddr_cb()
|
D | setif.c | 66 if(nla_put(msg, IFA_LOCAL, addr_size, address) < 0) { in add_address()
|
/external/libnl/lib/route/ |
D | addr.c | 234 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/ |
D | ip.c | 970 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/ |
D | if-linux.c | 330 case IFA_LOCAL: in link_addr() 520 add_attr_l(&nlm->hdr, sizeof(*nlm), IFA_LOCAL, in if_address()
|
/external/dnsmasq/src/ |
D | netlink.c | 202 if (rta->rta_type == IFA_LOCAL) in iface_enumerate()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 236 if (rta->rta_type == IFA_LOCAL) in find_interface()
|