Lines Matching refs:ifa_family
975 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()
1083 req.ifadd.ifa_family = TT.addressfamily; in ipaddrupdate()
1100 req.ifadd.ifa_family); in ipaddrupdate()
1102 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1119 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1123 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1124 req.ifadd.ifa_family = af; in ipaddrupdate()
1139 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1142 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1143 req.ifadd.ifa_family = af; in ipaddrupdate()
1163 req.ifadd.ifa_family); in ipaddrupdate()
1165 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1170 local.family = req.ifadd.ifa_family; in ipaddrupdate()
1190 if (req.ifadd.ifa_family != AF_INET) in ipaddrupdate()
1362 if (TT.addressfamily && TT.addressfamily != addressInfo->ifa_family) in ipaddr_print()
1387 addressInfo->ifa_family && in ipaddr_print()