Lines Matching refs:ia
595 struct in_ifaddr *ia;
603 for (ia = in_ifaddrhead.tqh_first; ia;
604 ia = ia->ia_link.tqe_next) {
605 if (ia->ia_ifa.ifa_addr == sa
606 && (ia->ia_flags & IFA_ROUTE)) {
610 in_ifscrub(ia->ia_ifp, ia, 1);
617 in_ifadown(&ia->ia_ifa, 1);
626 for (ia = in_ifaddrhead.tqh_first; ia;
627 ia = ia->ia_link.tqe_next) {
628 if (ia->ia_ifa.ifa_addr == sa)
631 if (ia == 0 || (ia->ia_flags & IFA_ROUTE)) {
636 ifp = ia->ia_ifa.ifa_ifp;
642 err = rtinit_locked(&ia->ia_ifa, RTM_ADD, flags);
645 ia->ia_flags |= IFA_ROUTE;