Searched refs:ia6 (Results 1 - 13 of 13) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6_src.c | 119 struct in6_ifaddr *ia6 = 0; local 147 ia6 = in6_ifawithscope(ifindex2ifnet[pi->ipi6_ifindex], 149 if (ia6 == 0) { 153 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr; 177 ia6 = in6_ifawithscope(ifindex2ifnet[dstsock->sin6_scope_id], 179 if (ia6 == 0) { 183 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr; 204 ia6 = in6_ifawithscope(ifp, dst); 205 if (ia6 == 0) { 209 *src_storage = satosin6(&ia6 [all...] |
H A D | in6_pcb.c | 512 struct in6_ifaddr *ia6 = 0; 540 ia6 = in6_ifawithscope(ifindex2ifnet[pi->ipi6_ifindex], 542 if (ia6 == 0) { 546 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr; 547 ifafree(&ia6->ia_ifa); 571 ia6 = in6_ifawithscope(ifindex2ifnet[dstsock->sin6_scope_id], 573 if (ia6 == 0) { 577 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr; 578 ifafree(&ia6->ia_ifa); 599 ia6 [all...] |
H A D | ip6_input.c | 581 struct in6_ifaddr *ia6; 582 if (!(ia6 = in6ifa_ifpwithaddr(m->m_pkthdr.rcvif, &ip6->ip6_dst))) { 589 ifafree(&ia6->ia_ifa); 693 struct in6_ifaddr *ia6 = local 699 (void)ip6_setdstifaddr(m, ia6); 705 if (!(ia6->ia6_flags & IN6_IFF_NOTREADY)) { 708 deliverifp = ia6->ia_ifp; /* correct? */ 712 ia6->ia_ifa.if_ipackets++; 713 ia6->ia_ifa.if_ibytes += m->m_pkthdr.len; 759 struct in6_ifaddr *ia6; local 1008 ip6_setdstifaddr(struct mbuf *m, struct in6_ifaddr *ia6) argument [all...] |
H A D | nd6.c | 416 struct in6_ifaddr *ia6, *nia6; local 585 for (ia6 = in6_ifaddrs; ia6; ia6 = nia6) { 586 nia6 = ia6->ia_next; 588 lt6 = &ia6->ia6_lifetime; 589 if (IFA6_IS_INVALID(ia6)) { 603 (ia6->ia6_flags & IN6_IFF_TEMPORARY) != 0) { 611 if (regen_tmpaddr(ia6) == 0) 616 in6_purgeaddr(&ia6 690 regen_tmpaddr( struct in6_ifaddr *ia6) argument [all...] |
H A D | in6_prefix.c | 603 struct in6_ifaddr *ia6; local 635 ia6 = in6ifa_ifpwithaddr(rpp->rp_ifp, &ifra.ifra_addr.sin6_addr); 636 if (ia6 != NULL) { 637 if (ia6->ia6_ifpr == NULL) { 641 rap->ra_addr = ia6; 643 ia6->ia6_ifpr = rp2ifpr(rpp); 646 if (ia6->ia6_ifpr == rp2ifpr(rpp)) { 649 rap->ra_addr = ia6; 667 ip6_sprintf(IA6_IN6(ia6)), 668 in6_mask2len(&ia6 [all...] |
H A D | ip6_output.c | 2485 struct in6_ifaddr *ia6; local 2493 ia6 = (struct in6_ifaddr *)ifa_ifwithaddr(sin6tosa(&sin6)); 2494 if (ia6 == NULL || 2495 (ia6->ia6_flags & (IN6_IFF_ANYCAST | 2497 if (ia6) ifafree(&ia6->ia_ifa); 2500 ifafree(&ia6->ia_ifa); 2501 ia6 = NULL;
|
H A D | udp6_usrreq.c | 137 register struct in6_addr *ia6, 152 ia6)) { 135 in6_mcmatch( struct inpcb *in6p, register struct in6_addr *ia6, struct ifnet *ifp) argument
|
H A D | in6_ifattach.c | 884 struct in6_ifaddr *ia6 = NULL; local 887 if ((ia6 = in6ifa_ifpwithaddr(ifp, &in6)) == NULL) { 894 ifafree(&ia6->ia_ifa);
|
H A D | icmp6.c | 1185 struct in6_ifaddr *ia6 = NULL; local 1211 if ((ia6 = (struct in6_ifaddr *)ifa_ifwithaddr((struct sockaddr *)&sin6)) != NULL) { 1213 if ((ia6->ia6_flags & IN6_IFF_TEMPORARY) != 0 && 1215 ifafree(&ia6->ia_ifa); 1216 ia6 = NULL; 1222 ifafree(&ia6->ia_ifa); 1223 ia6 = NULL;
|
H A D | nd6_rtr.c | 1086 struct in6_ifaddr *ia6 = NULL, *ia6_match = NULL; local 1319 if ((ia6 = in6_ifadd(new, NULL)) != NULL) { 1326 ia6->ia6_ndpr = pr; 1347 if ((e = in6_tmpifadd(ia6, 1)) != 0) {
|
H A D | in6.c | 403 #define ia62ifa(ia6) (&((ia6)->ia_ifa))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_stf.c | 347 struct in6_ifaddr *ia6; local 371 ia6 = stf_getsrcifa6(sc->sc_if); 372 if (ia6 == NULL) 378 * success on: dst = 10.1.1.1, ia6->ia_addr = 2002:0a01:0101:... 380 if (bcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst, 387 * success on: src = 10.1.1.1, ia6->ia_addr = 2002:0a00:.../24 388 * fail on: src = 10.1.1.1, ia6->ia_addr = 2002:0b00:.../24 391 a.s_addr = GET_V4(&ia6->ia_addr.sin6_addr)->s_addr; 392 a.s_addr &= GET_V4(&ia6->ia_prefixmask.sin6_addr)->s_addr; 394 b.s_addr &= GET_V4(&ia6 461 struct in6_ifaddr *ia6; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | tcp_input.c | 500 struct in6_ifaddr *ia6; local 508 ia6 = ip6_getdstifaddr(m); 509 if (ia6 && (ia6->ia6_flags & IN6_IFF_ANYCAST)) { 1064 struct in6_ifaddr *ia6; local 1066 if ((ia6 = ip6_getdstifaddr(m)) && 1067 (ia6->ia6_flags & IN6_IFF_DEPRECATED)) {
|
Completed in 67 milliseconds