Lines Matching refs:ifa
184 struct ifaddr *ifa;
199 TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list)
201 if (ifa->ifa_addr->sa_family != AF_INET6)
204 in6_matchlen(&ipr->ipr_prefix.sin6_addr, IFA_IN6(ifa)))
207 if (ifa == NULL) {
212 rpp = ifpr2rp(((struct in6_ifaddr *)ifa)->ia6_ifpr);
224 if (ifpr->ifpr_plen <= in6_matchlen(IFA_IN6(ifa),
231 "has no pointer to prefix %s\n", ip6_sprintf(IFA_IN6(ifa)),
245 struct ifaddr *ifa;
272 TAILQ_FOREACH(ifa, &ifp->if_addrlist, ifa_list)
276 if (ifa->ifa_addr->sa_family != AF_INET6)
279 IFA_IN6(ifa));
283 rpp = ifpr2rp(((struct in6_ifaddr *)ifa)->ia6_ifpr);
293 ip6_sprintf(IFA_IN6(ifa)));
1056 struct ifaddr *ifa;
1058 for (ifa = rpp->rp_ifp->if_addrlist.tqh_first; ifa;
1059 ifa = ifa->ifa_list.tqe_next)
1065 if (ifa->ifa_addr->sa_family != AF_INET6)
1067 if (rpp->rp_plen > in6_matchlen(RP_IN6(rpp), IFA_IN6(ifa)))
1070 orpp = ifpr2rp(((struct in6_ifaddr *)ifa)->ia6_ifpr);
1077 ip6_sprintf(IFA_IN6(ifa)), orpp->rp_plen,
1085 (struct in6_ifaddr *)ifa)) != 0)
1100 struct ifaddr *ifa;
1177 for (ifa = ifp->if_addrlist.tqh_first;
1178 ifa;
1179 ifa = ifa->ifa_list.tqe_next)
1181 if (ifa->ifa_addr == NULL)
1183 if (ifa->ifa_addr->sa_family != AF_INET6)
1185 if (IN6_IS_ADDR_LINKLOCAL(IFA_IN6(ifa)) == 0)
1195 (caddr_t)IFA_IN6(ifa),
1196 sizeof(*IFA_IN6(ifa)) << 3,