Lines Matching refs:ifa_family
970 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()
1078 req.ifadd.ifa_family = TT.addressfamily; in ipaddrupdate()
1095 req.ifadd.ifa_family); in ipaddrupdate()
1097 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1114 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1118 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1119 req.ifadd.ifa_family = af; in ipaddrupdate()
1134 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1137 if (req.ifadd.ifa_family == AF_UNSPEC) in ipaddrupdate()
1138 req.ifadd.ifa_family = af; in ipaddrupdate()
1158 req.ifadd.ifa_family); in ipaddrupdate()
1160 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6); in ipaddrupdate()
1165 local.family = req.ifadd.ifa_family; in ipaddrupdate()
1185 if (req.ifadd.ifa_family != AF_INET) in ipaddrupdate()
1357 if (TT.addressfamily && TT.addressfamily != addressInfo->ifa_family) in ipaddr_print()
1382 addressInfo->ifa_family && in ipaddr_print()