Lines Matching refs:ia
245 struct in_ifaddr *ia = NULL;
352 ia = (struct in_ifaddr *)ro->ro_rt->rt_ifa;
353 if (ia)
354 ifaref(&ia->ia_ifa);
467 if (ia)
468 ifafree(&ia->ia_ifa);
469 if ((ia = ifatoia(ifa_ifwithdstaddr(sintosa(dst)))) == 0) {
470 if ((ia = ifatoia(ifa_ifwithnet(sintosa(dst)))) == 0) {
477 ifp = ia->ia_ifp;
488 if (ia != NULL)
489 ifafree(&ia->ia_ifa);
492 for (ia = TAILQ_FIRST(&in_ifaddrhead);
493 ia != NULL && ia->ia_ifp != ifp;
494 ia = TAILQ_NEXT(ia, ia_link))
497 if (ia != NULL)
498 ifaref(&ia->ia_ifa);
597 if (ia)
598 ifafree(&ia->ia_ifa);
599 ia = ifatoia(ro->ro_rt->rt_ifa);
600 if (ia)
601 ifaref(&ia->ia_ifa);
776 ip->ip_src = IA_SIN(ia)->sin_addr;
1010 if (ia)
1011 ifafree(&ia->ia_ifa);
1012 ia = ifatoia(ro->ro_rt->rt_ifa);
1013 if (ia)
1014 ifaref(&ia->ia_ifa);
1216 if (ia) {
1398 if (!(flags & IP_FORWARDING) && ia != NULL) {
1399 ia->ia_ifa.if_opackets++;
1400 ia->ia_ifa.if_obytes += m->m_pkthdr.len;
1580 if (ia != NULL) {
1581 ia->ia_ifa.if_opackets++;
1582 ia->ia_ifa.if_obytes += m->m_pkthdr.len;
1603 if (ia) {
1604 ifafree(&ia->ia_ifa);
1605 ia = NULL;
2842 struct in_ifaddr *ia;
2865 IFP_TO_IA(imo->imo_multicast_ifp, ia);
2866 addr.s_addr = (ia == NULL) ? INADDR_ANY
2867 : IA_SIN(ia)->sin_addr.s_addr;