Lines Matching refs:ifa_family
970 if (flag_l && addrinfo.label && ifa->ifa_family == AF_INET6) return 0;
996 if (ifa->ifa_family == AF_INET) strcpy(family, " inet ");
997 else if (ifa->ifa_family == AF_INET6) strcpy(family, " inet6 ");
998 else sprintf(family, " family %d", ifa->ifa_family);
1001 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]),
1009 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ADDRESS]),
1019 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_BROADCAST]),
1025 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ANYCAST]),
1030 if (ifa->ifa_family == AF_INET)
1034 if (TT.singleline && (ifa->ifa_family == AF_INET)) xputc('\n');
1078 req.ifadd.ifa_family = TT.addressfamily;
1095 req.ifadd.ifa_family);
1097 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6);
1114 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family))
1118 if (req.ifadd.ifa_family == AF_UNSPEC)
1119 req.ifadd.ifa_family = af;
1134 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family))
1137 if (req.ifadd.ifa_family == AF_UNSPEC)
1138 req.ifadd.ifa_family = af;
1158 req.ifadd.ifa_family);
1160 req.ifadd.ifa_family = ((len == 4) ? AF_INET : AF_INET6);
1165 local.family = req.ifadd.ifa_family;
1185 if (req.ifadd.ifa_family != AF_INET)
1357 if (TT.addressfamily && TT.addressfamily != addressInfo->ifa_family)
1382 addressInfo->ifa_family &&