Lines Matching refs:ia6
453 struct in6_ifaddr *ia6, *nia6; in nd6_timer_work() local
465 for (ia6 = IN6_ADDRLIST_READER_FIRST(); ia6; ia6 = nia6) { in nd6_timer_work()
466 nia6 = IN6_ADDRLIST_READER_NEXT(ia6); in nd6_timer_work()
468 ia6_acquire(ia6, &psref); in nd6_timer_work()
472 if (IFA6_IS_INVALID(ia6)) { in nd6_timer_work()
475 ifp = ia6->ia_ifa.ifa_ifp; in nd6_timer_work()
482 ia6_release(ia6, &psref); in nd6_timer_work()
483 in6_purgeaddr(&ia6->ia_ifa); in nd6_timer_work()
489 ia6_release(ia6, &psref); in nd6_timer_work()
491 ia6 = NULL; in nd6_timer_work()
493 } else if (IFA6_IS_DEPRECATED(ia6)) { in nd6_timer_work()
494 int oldflags = ia6->ia6_flags; in nd6_timer_work()
497 ia6->ia6_flags |= IN6_IFF_DEPRECATED; in nd6_timer_work()
498 rt_addrmsg(RTM_NEWADDR, (struct ifaddr *)ia6); in nd6_timer_work()
505 if (ia6->ia6_flags & IN6_IFF_DEPRECATED) { in nd6_timer_work()
506 ia6->ia6_flags &= ~IN6_IFF_DEPRECATED; in nd6_timer_work()
507 rt_addrmsg(RTM_NEWADDR, (struct ifaddr *)ia6); in nd6_timer_work()
511 ia6_release(ia6, &psref); in nd6_timer_work()