Home
last modified time | relevance | path

Searched refs:ifa_family (Results 1 – 16 of 16) sorted by relevance

/external/iproute2/ip/
Dipaddress.c995 dst.family = ifa->ifa_family; in print_addrinfo()
1002 if (filter.family && filter.family != ifa->ifa_family) in print_addrinfo()
1028 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1030 else if (ifa->ifa_family == AF_INET6) in print_addrinfo()
1032 else if (ifa->ifa_family == AF_DECnet) in print_addrinfo()
1034 else if (ifa->ifa_family == AF_IPX) in print_addrinfo()
1037 fprintf(fp, " family %d ", ifa->ifa_family); in print_addrinfo()
1041 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1042 color_fprintf(fp, COLOR_INET, "%s", format_host(ifa->ifa_family, in print_addrinfo()
1046 else if (ifa->ifa_family == AF_INET6) in print_addrinfo()
[all …]
/external/webrtc/webrtc/base/
Difaddrs-android.cc69 if (msg->ifa_family == AF_INET) { in set_addresses()
74 } else if (msg->ifa_family == AF_INET6) { in set_addresses()
129 if (make_prefixes(ifaddr, msg->ifa_family, msg->ifa_prefixlen) != 0) { in populate_ifaddrs()
178 int family = address_msg->ifa_family; in getifaddrs()
/external/toybox/toys/pending/
Dip.c970 if (flag_l && addrinfo.label && ifa->ifa_family == AF_INET6) return 0; in print_addrinfo()
996 if (ifa->ifa_family == AF_INET) strcpy(family, " inet "); in print_addrinfo()
997 else if (ifa->ifa_family == AF_INET6) strcpy(family, " inet6 "); in print_addrinfo()
998 else sprintf(family, " family %d", ifa->ifa_family); in print_addrinfo()
1001 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1009 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ADDRESS]), in print_addrinfo()
1019 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_BROADCAST]), in print_addrinfo()
1025 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ANYCAST]), in print_addrinfo()
1030 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1034 if (TT.singleline && (ifa->ifa_family == AF_INET)) xputc('\n'); in print_addrinfo()
[all …]
/external/libnl/include/linux-private/linux/
Dif_addr.h8 __u8 ifa_family; member
/external/iproute2/include/linux/
Dif_addr.h8 __u8 ifa_family; member
/external/kernel-headers/original/uapi/linux/
Dif_addr.h8 __u8 ifa_family; member
/external/dnsmasq/src/
Dnetlink.c192 if (ifa->ifa_family == AF_INET) in iface_enumerate()
215 else if (ifa->ifa_family == AF_INET6) in iface_enumerate()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c174 if (m->ifa_family != AF_INET && in recvaddrs()
175 m->ifa_family != AF_INET6) in recvaddrs()
196 I->ifa_addr->sa_family = m->ifa_family; in recvaddrs()
197 if (m->ifa_family == AF_INET) { in recvaddrs()
/external/android-clat/
Dgetaddr.c114 ifa.ifa_family = targ.family; in getinterface_ip()
Dsetif.c56 ifa.ifa_family = family; in add_address()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c228 if (ifa->ifa_index == index && ifa->ifa_family == AF_INET) in find_interface()
/external/libnl/lib/route/
Daddr.c217 addr->a_family = family = ifa->ifa_family; in addr_msg_parser()
553 .ifa_family = tmpl->a_family, in build_addr_msg()
/external/iputils/ninfod/
Dni_ifaddrs.c409 nlm_family = ifam->ifa_family; in ni_ifaddrs()
/external/dhcpcd-6.8.2/
Dif-linux.c607 switch (ifa->ifa_family) { in link_addr()
1302 nlm.ifa.ifa_family = AF_INET; in if_address()
1453 nlm.ifa.ifa_family = AF_INET6; in if_address6()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c1049 printf("ifaddrmsg family=%d, index=%d, flags=0x%x\n", pIfAddr->ifa_family, in PrintNetLinkMsg()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc2518 req.r.ifa_family = AF_INET6; in LocalHostAddressIPV6()