Home
last modified time | relevance | path

Searched refs:ifa_index (Results 1 – 15 of 15) sorted by relevance

/external/dnsmasq/src/
Dnetlink.c211 if (!((*ipv4_callback)(addr, ifa->ifa_index, netmask, broadcast, parm))) in iface_enumerate()
227 if (!((*ipv6_callback)(addrp, ifa->ifa_index, ifa->ifa_index, parm))) in iface_enumerate()
/external/libnl/include/linux-private/linux/
Dif_addr.h12 __u32 ifa_index; /* Link index */ member
/external/webrtc/webrtc/base/
Difaddrs-android.cc77 sa->sin6_scope_id = msg->ifa_index; in set_addresses()
120 if (set_ifname(ifaddr, msg->ifa_index) != 0) { in populate_ifaddrs()
/external/iproute2/include/linux/
Dif_addr.h12 __u32 ifa_index; /* Link index */ member
/external/kernel-headers/original/uapi/linux/
Dif_addr.h12 __u32 ifa_index; /* Link index */ member
/external/android-clat/
Dgetaddr.c54 if(ifa_p->ifa_index != targ_p->ifindex) in getaddr_cb()
Dsetif.c52 if (!(ifa.ifa_index = if_nametoindex(ifname))) { in add_address()
/external/iproute2/ip/
Dipaddress.c975 if (filter.ifindex && filter.ifindex != ifa->ifa_index) in print_addrinfo()
987 label = ll_idx_n2a(ifa->ifa_index, b1); in print_addrinfo()
1027 fprintf(fp, "%u: %s", ifa->ifa_index, ll_index_to_name(ifa->ifa_index)); in print_addrinfo()
1186 if (ifa->ifa_index != ifi->ifi_index || in print_selected_addrinfo()
1285 printf("if%d:\n", ifa->ifa_index); in show_handler()
1350 if (ifa->ifa_index != ifi->ifi_index) in ipaddr_filter()
1381 label = ll_idx_n2a(ifa->ifa_index, b1); in ipaddr_filter()
1936 if ((req.ifa.ifa_index = ll_name_to_index(d)) == 0) { in ipaddr_modify()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c228 if (ifa->ifa_index == index && ifa->ifa_family == AF_INET) in find_interface()
/external/toybox/toys/pending/
Dip.c968 if (addrinfo.ifindex && addrinfo.ifindex != ifa->ifa_index) return 0; in print_addrinfo()
979 if (ifa->ifa_index == addrinfo.ifindex) { in print_addrinfo()
990 if (!if_indextoname(ifa->ifa_index, lbuf)) perror_exit(NULL); in print_addrinfo()
991 printf("%u: %s",ifa->ifa_index, lbuf); in print_addrinfo()
1205 req.ifadd.ifa_index = get_ifaceindex(dev, 1); in ipaddrupdate()
1359 if (addrinfo.ifindex && addrinfo.ifindex != addressInfo->ifa_index) in ipaddr_print()
1383 (addrinfo.ifindex == addressInfo->ifa_index)) { in ipaddr_print()
1391 (addrinfo.ifindex == addressInfo->ifa_index) && in ipaddr_print()
/external/libnl/lib/route/
Daddr.c222 addr->a_ifindex = ifa->ifa_index; in addr_msg_parser()
554 .ifa_index = tmpl->a_ifindex, in build_addr_msg()
/external/iputils/ninfod/
Dni_ifaddrs.c411 nlm_index = ifam->ifa_index; in ni_ifaddrs()
/external/dhcpcd-6.8.2/
Dif-linux.c600 if ((ifp = if_findindex(ctx->ifaces, ifa->ifa_index)) == NULL) { in link_addr()
1301 nlm.ifa.ifa_index = iface->index; in if_address()
1452 nlm.ifa.ifa_index = ap->iface->index; in if_address6()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c1050 pIfAddr->ifa_index, pIfAddr->ifa_flags); in PrintNetLinkMsg()
1101 result |= 1 << ((struct ifaddrmsg*) NLMSG_DATA(pNLMsg))->ifa_index; in ProcessRoutingNotification()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c194 I->ifa_ifindex = m->ifa_index; in recvaddrs()