Lines Matching refs:ia
472 struct in6_ifaddr *ia;
561 ia = in6ifa_ifpforlinklocal(ifp, 0); /* ia must not be NULL */
563 if (!ia) {
564 panic("ia == NULL in in6_ifattach_linklocal");
569 ia->ia6_flags &= ~IN6_IFF_NODAD;
570 ia->ia6_flags |= IN6_IFF_TENTATIVE;
611 in6_post_msg(ifp, KEV_INET6_NEW_LL_ADDR, ia);
801 struct in6_ifaddr *ia;
903 ia = in6ifa_ifpforlinklocal(ifp, 0);
904 if (ia == NULL) {
945 struct in6_ifaddr *ia, *oia, *nia;
960 for (ia = in6_ifaddrs; ia != NULL; ia = nia) {
961 nia = ia->ia_next;
962 if (ia->ia_ifa.ifa_ifp != ifp)
964 in6_purgeaddr(&ia->ia_ifa, 1);
981 ia = (struct in6_ifaddr *)ifa;
985 if ((ia->ia_flags & IFA_ROUTE) &&
986 (rt = rtalloc1_locked((struct sockaddr *)&ia->ia_addr, 0, 0UL))) {
990 (struct sockaddr *)&ia->ia_addr,
991 (struct sockaddr *)&ia->ia_addr,
992 (struct sockaddr *)&ia->ia_prefixmask,
998 if_detach_ifa(ifp, &ia->ia_ifa);
999 ifafree(&ia->ia_ifa);
1002 oia = ia;
1004 if (oia == (ia = in6_ifaddrs))
1005 in6_ifaddrs = ia->ia_next;
1007 while (ia->ia_next && (ia->ia_next != oia))
1008 ia = ia->ia_next;
1009 if (ia->ia_next)
1010 ia->ia_next = oia->ia_next;