Home
last modified time | relevance | path

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

/external/iproute2/ip/
Dipaddress.c555 dst.family = ifa->ifa_family; in print_addrinfo()
562 if (filter.family && filter.family != ifa->ifa_family) in print_addrinfo()
587 if (ifa->ifa_family == AF_INET) in print_addrinfo()
589 else if (ifa->ifa_family == AF_INET6) in print_addrinfo()
591 else if (ifa->ifa_family == AF_DECnet) in print_addrinfo()
593 else if (ifa->ifa_family == AF_IPX) in print_addrinfo()
596 fprintf(fp, " family %d ", ifa->ifa_family); in print_addrinfo()
599 fprintf(fp, "%s", rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
609 rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
619 rt_addr_n2a(ifa->ifa_family, in print_addrinfo()
[all …]
/external/toybox/toys/pending/
Dip.c975 if (flag_l && addrinfo.label && ifa->ifa_family == AF_INET6) return 0; in print_addrinfo()
1001 if (ifa->ifa_family == AF_INET) strcpy(family, " inet "); in print_addrinfo()
1002 else if (ifa->ifa_family == AF_INET6) strcpy(family, " inet6 "); in print_addrinfo()
1003 else sprintf(family, " family %d", ifa->ifa_family); in print_addrinfo()
1006 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1014 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ADDRESS]), in print_addrinfo()
1024 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_BROADCAST]), in print_addrinfo()
1030 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ANYCAST]), in print_addrinfo()
1035 if (ifa->ifa_family == AF_INET) in print_addrinfo()
1039 if (TT.singleline && (ifa->ifa_family == AF_INET)) xputc('\n'); in print_addrinfo()
[all …]
/external/libnl/include/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.c170 if (m->ifa_family != AF_INET && in recvaddrs()
171 m->ifa_family != AF_INET6) in recvaddrs()
192 I->ifa_addr->sa_family = m->ifa_family; in recvaddrs()
193 if (m->ifa_family == AF_INET) { in recvaddrs()
/external/android-clat/
Dgetaddr.c113 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.c209 addr->a_family = family = ifa->ifa_family; in addr_msg_parser()
563 .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/
Dif-linux.c515 nlm->ifa.ifa_family = AF_INET; in if_address()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c1049 printf("ifaddrmsg family=%d, index=%d, flags=0x%x\n", pIfAddr->ifa_family, in PrintNetLinkMsg()