Searched refs:ia6 (Results 1 - 11 of 11) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | route6.c | 184 struct in6_addr *nextaddr, tmpaddr, ia6 = NULL; local 245 if ((ia6 = ip6_getdstifaddr(m)) == NULL) 247 if (in6_setscope(nextaddr, ia6->ia_ifp, NULL) != 0) { 249 IFA_REMREF(&ia6->ia_ifa); 250 ia6 = NULL; 253 IFA_REMREF(&ia6->ia_ifa); 254 ia6 = NULL;
|
H A D | in6_prefix.c | 675 struct in6_ifaddr *ia6; local 708 ia6 = in6ifa_ifpwithaddr(rpp->rp_ifp, &ifra.ifra_addr.sin6_addr); 709 if (ia6 != NULL) { 712 IFA_LOCK(&ia6->ia_ifa); 713 if (ia6->ia6_ifpr == NULL) { 718 rap->ra_addr = ia6; 719 ia6->ia6_ifpr = rp2ifpr(rpp); 720 IFA_UNLOCK(&ia6->ia_ifa); 725 if (ia6->ia6_ifpr == rp2ifpr(rpp)) { 729 rap->ra_addr = ia6; 928 struct in6_ifaddr *ia6; local 1123 struct in6_ifaddr *ia6; local 1147 struct in6_ifaddr *ia6; local [all...] |
H A D | ip6_input.c | 482 struct in6_ifaddr *ia6 = NULL; local 864 ia6 = (struct in6_ifaddr *)ip6_forward_rt.ro_rt->rt_ifa; 869 (void)ip6_setdstifaddr(m, ia6); 876 IFA_LOCK_SPIN(&ia6->ia_ifa); 877 if (!(ia6->ia6_flags & IN6_IFF_NOTREADY)) { 878 IFA_UNLOCK(&ia6->ia_ifa); 881 deliverifp = ia6->ia_ifp; /* correct? */ 885 ia6 = NULL; 888 IFA_UNLOCK(&ia6->ia_ifa); 895 ia6 1212 ip6_setdstifaddr(struct mbuf *m, struct in6_ifaddr *ia6) argument [all...] |
H A D | nd6.c | 646 struct in6_ifaddr *ia6, *nia6; local 883 for (ia6 = in6_ifaddrs; ia6; ia6 = nia6) { 884 nia6 = ia6->ia_next; 885 IFA_LOCK(&ia6->ia_ifa); 892 IFA_ADDREF_LOCKED(&ia6->ia_ifa); 894 lt6 = &ia6->ia6_lifetime; 895 if (IFA6_IS_INVALID(ia6)) { 907 (ia6 1114 regen_tmpaddr( struct in6_ifaddr *ia6) argument 2994 struct in6_ifaddr *ia6 = NULL; local [all...] |
H A D | in6_src.c | 246 struct in6_ifaddr *ia6; local 273 ia6 = (struct in6_ifaddr *)ifa_ifwithaddr((struct sockaddr *) 275 if (ia6 == NULL) { 280 IFA_LOCK_SPIN(&ia6->ia_ifa); 281 if ((ia6->ia6_flags & (IN6_IFF_ANYCAST | IN6_IFF_NOTREADY)) || 283 (ia6->ia_ifa.ifa_ifp->if_type == IFT_CELLULAR))) { 284 IFA_UNLOCK(&ia6->ia_ifa); 285 IFA_REMREF(&ia6->ia_ifa); 291 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr; 292 IFA_UNLOCK(&ia6 [all...] |
H A D | nd6_rtr.c | 389 struct in6_ifaddr *ia6 = NULL; local 408 (ia6 = ifa_foraddr6(&saddr6)) == NULL)) 411 if (ia6 != NULL) { 412 IFA_REMREF(&ia6->ia_ifa); 413 ia6 = NULL; 2257 struct in6_ifaddr *ia6 = NULL, *ia6_match = NULL; local 2579 if ((ia6 = in6_ifadd(new, mcast)) != NULL) { 2583 IFA_LOCK(&ia6->ia_ifa); 2585 ia6->ia6_ndpr = pr; 2590 IFA_UNLOCK(&ia6 3436 struct in6_ifaddr *ia6; local [all...] |
H A D | icmp6.c | 1312 struct in6_ifaddr *ia6; local 1314 if ((ia6 = ip6_getdstifaddr(m)) == NULL) 1317 IFA_LOCK(&ia6->ia_ifa); 1318 if ((ia6->ia6_flags & IN6_IFF_TEMPORARY) && 1323 IFA_UNLOCK(&ia6->ia_ifa); 1324 IFA_REMREF(&ia6->ia_ifa); 1327 IFA_UNLOCK(&ia6->ia_ifa); 1328 IFA_REMREF(&ia6->ia_ifa);
|
H A D | in6_ifattach.c | 875 struct in6_ifaddr *ia6 = NULL; local 878 if ((ia6 = in6ifa_ifpwithaddr(ifp, &in6)) == NULL) { 885 IFA_REMREF(&ia6->ia_ifa);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_stf.c | 396 struct in6_ifaddr *ia6; local 419 ia6 = stf_getsrcifa6(sc->sc_if); 420 if (ia6 == NULL) 426 * success on: dst = 10.1.1.1, ia6->ia_addr = 2002:0a01:0101:... 428 IFA_LOCK(&ia6->ia_ifa); 429 if (bcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst, 431 IFA_UNLOCK(&ia6->ia_ifa); 432 IFA_REMREF(&ia6->ia_ifa); 438 * success on: src = 10.1.1.1, ia6->ia_addr = 2002:0a00:.../24 439 * fail on: src = 10.1.1.1, ia6 525 struct in6_ifaddr *ia6; local [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_input.c | 765 struct in6_ifaddr *ia6; local 777 ia6 = ip6_getdstifaddr(m); 778 if (ia6 != NULL) { 779 IFA_LOCK_SPIN(&ia6->ia_ifa); 780 if (ia6->ia6_flags & IN6_IFF_ANYCAST) { 783 IFA_UNLOCK(&ia6->ia_ifa); 784 IFA_REMREF(&ia6->ia_ifa); 795 IFA_UNLOCK(&ia6->ia_ifa); 796 IFA_REMREF(&ia6->ia_ifa); 1784 struct in6_ifaddr *ia6; local [all...] |
H A D | tcp_output.c | 364 struct in6_ifaddr *ia6 = NULL; local 374 ia6 = ifa_foraddr6(&tp->t_inpcb->in6p_laddr); 375 if (ia6 != NULL) 426 if (ia6 != NULL) 427 IFA_REMREF(&ia6->ia_ifa);
|
Completed in 161 milliseconds