/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | route6.c | 193 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) || 194 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_dst) || 195 IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst) || 196 IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) { 206 *nextaddr = ip6->ip6_dst; 209 ip6->ip6_dst = tmpaddr; 210 if (IN6_IS_ADDR_LINKLOCAL(&ip6->ip6_dst)) 211 ip6->ip6_dst.s6_addr16[1] = htons(m->m_pkthdr.rcvif->if_index);
|
H A D | nd6_nbr.c | 104 struct in6_addr daddr6 = ip6->ip6_dst; 132 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 402 ip6->ip6_dst = *daddr6; 404 ip6->ip6_dst.s6_addr16[0] = IPV6_ADDR_INT16_MLL; 405 ip6->ip6_dst.s6_addr16[1] = htons(ifp->if_index); 406 ip6->ip6_dst.s6_addr32[1] = 0; 407 ip6->ip6_dst.s6_addr32[2] = IPV6_ADDR_INT32_ONE; 408 ip6->ip6_dst.s6_addr32[3] = taddr6->s6_addr32[3]; 409 ip6->ip6_dst.s6_addr8[12] = 0xff; 419 ia = in6_ifawithifp(ifp, &ip6->ip6_dst); [all...] |
H A D | ip6_input.c | 498 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_dst)) { 507 IN6_IS_ADDR_LOOPBACK(&ip6->ip6_dst)) && 527 IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst)) { 541 IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) { 555 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst) && 556 ip6->ip6_dst.s6_addr16[1]) { 565 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) 566 ip6->ip6_dst.s6_addr16[1] 580 IN6_IS_ADDR_LINKLOCAL(&ip6->ip6_dst)) { 582 if (!(ia6 = in6ifa_ifpwithaddr(m->m_pkthdr.rcvif, &ip6->ip6_dst))) { [all...] |
H A D | ip6_forward.c | 132 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) || 142 ip6_sprintf(&ip6->ip6_dst), 308 * ip6forward_rt->ro_dst.sin6_addr is equal to ip6->ip6_dst 336 !IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &dst->sin6_addr)) { 344 dst->sin6_addr = ip6->ip6_dst; 383 ip6_sprintf(&ip6->ip6_dst), 522 ip6_sprintf(&ip6->ip6_dst), 538 in6_clearscope(&ip6->ip6_dst);
|
H A D | icmp6.c | 257 IN6_IS_ADDR_MULTICAST(&oip6->ip6_dst)) && 330 nip6->ip6_dst = oip6->ip6_dst; 334 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_dst)) 335 oip6->ip6_dst.s6_addr16[1] = 0; 417 if (faithprefix(&ip6->ip6_dst)) { 520 if (icmp6_ratelimit(&ip6->ip6_dst, icmp6->icmp6_type, code)) { 609 if (icmp6_ratelimit(&ip6->ip6_dst, icmp6->icmp6_type, code)) { 652 if (icmp6_ratelimit(&ip6->ip6_dst, icmp6->icmp6_type, code)) { 681 if (icmp6_ratelimit(&ip6->ip6_dst, icmp [all...] |
H A D | ip6_mroute.c | 971 ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst), 979 if (ip6->ip6_hlim <= 1 || IN6_IS_ADDR_MC_NODELOCAL(&ip6->ip6_dst) || 980 IN6_IS_ADDR_MC_LINKLOCAL(&ip6->ip6_dst)) 1000 ip6_sprintf(&ip6->ip6_dst), 1010 MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt); 1037 ip6_sprintf(&ip6->ip6_dst)); 1063 hash = MF6CHASH(ip6->ip6_src, ip6->ip6_dst); 1067 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, 1170 rt->mf6c_mcastgrp.sin6_addr = ip6->ip6_dst; 1425 (in6_addr2scopeid(ifp, &ip6->ip6_dst) ! [all...] |
H A D | raw_ip6.c | 139 if (faithprefix(&ip6->ip6_dst)) { 156 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst)) 338 ip6->ip6_dst = *dst; 346 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { 354 ip6->ip6_dst.s6_addr16[1] = htons(pi->ipi6_ifindex); 356 } else if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) && 360 ip6->ip6_dst.s6_addr16[1] = htons(oifp->if_index); 368 ip6->ip6_dst.s6_addr16[1]
|
H A D | frag6.c | 171 || !IN6_ARE_ADDR_EQUAL(&dst->sin6_addr, &ip6->ip6_dst))) { 179 dst->sin6_addr = ip6->ip6_dst; 233 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &q6->ip6q_dst)) 270 q6->ip6q_dst = ip6->ip6_dst; 337 ip6err->ip6_dst = q6->ip6q_dst; 498 ip6->ip6_dst = q6->ip6q_dst; 595 ip6->ip6_dst = q6->ip6q_dst;
|
H A D | udp6_usrreq.c | 208 if (faithprefix(&ip6->ip6_dst)) { 238 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 304 &ip6->ip6_dst) && 305 !in6_mcmatch(in6p, &ip6->ip6_dst, 386 &ip6->ip6_dst, uh->uh_dport, 1, 392 strlcpy(buf, ip6_sprintf(&ip6->ip6_dst), sizeof(buf)); 399 !IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6->ip6_src))
|
H A D | ip6_output.c | 391 if (im6o != NULL && IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 400 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst) && 401 (ip6->ip6_dst.s6_addr16[1] == 0) && (ro != NULL)) { 403 ip6->ip6_dst.s6_addr16[1] = htons(ro->ro_dst.sin6_scope_id); 438 ip6->ip6_dst.s6_addr16[1] = 0; 509 finaldst = ip6->ip6_dst; 513 ip6->ip6_dst = rh0->ip6r0_addr[0]; 559 !IN6_ARE_ADDR_EQUAL(&dst->sin6_addr, &ip6->ip6_dst) || 568 dst->sin6_addr = ip6->ip6_dst; 629 if (!IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { [all...] |
H A D | in6_gif.c | 164 ip6->ip6_dst = sin6_dst->sin6_addr; 320 if (!IN6_ARE_ADDR_EQUAL(&src->sin6_addr, &ip6->ip6_dst) ||
|
H A D | ipsec.c | 1190 bcopy(&ip6->ip6_dst, &sin6->sin6_addr, sizeof(ip6->ip6_dst)); 1191 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { 1193 sin6->sin6_scope_id = ntohs(ip6->ip6_dst.s6_addr16[1]); 2319 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_dst)) 2320 oip6->ip6_dst.s6_addr16[1] = 0; 2334 &ip6->ip6_dst, sizeof(ip6->ip6_dst)); 2687 ip6_sprintf(&ip6->ip6_dst)); 3094 bcopy(&ip6->ip6_dst, [all...] |
H A D | ip6_fw.c | 477 ip6_sprintf(&ip6->ip6_dst)); 491 ip6_sprintf(&ip6->ip6_dst)); 505 ip6_sprintf(&ip6->ip6_dst)); 511 ip6_sprintf(&ip6->ip6_dst)); 614 (!IN6_ARE_ADDR_MASKEQUAL(&ip6->ip6_dst,&f->fw_dmsk,&f->fw_dst))) 826 && !IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) {
|
H A D | ah_input.c | 601 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst, 753 || !IN6_ARE_ADDR_EQUAL(&nip6->ip6_dst, &ip6->ip6_dst)) { 826 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) {
|
H A D | in6_cksum.c | 145 if (!IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst))
|
H A D | udp6_output.c | 303 ip6->ip6_dst = *faddr;
|
H A D | ipcomp_input.c | 271 (caddr_t)&ip6->ip6_dst, IPPROTO_IPCOMP, htonl(cpi));
|
H A D | mld6.c | 445 ip6->ip6_dst = dst ? *dst : in6m->in6m_addr;
|
H A D | esp_input.c | 421 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) { 606 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst, 832 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) {
|
H A D | nd6_rtr.c | 148 struct in6_addr daddr6 = ip6->ip6_dst; 169 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 243 struct in6_addr daddr6 = ip6->ip6_dst; 261 ip6_sprintf(&ip6->ip6_dst), if_name(ifp)));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | kpi_ipfilter.c | 374 sin6->sin6_addr = ip6->ip6_dst; 378 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { 380 sin6->sin6_scope_id = ntohs(ip6->ip6_dst.s6_addr16[1]); 381 ip6->ip6_dst.s6_addr16[1] = 0;
|
H A D | ip6.h | 114 struct in6_addr ip6_dst; /* destination address */ member in struct:ip6_hdr
|
H A D | tcp_input.c | 514 (caddr_t)&ip6->ip6_dst - (caddr_t)ip6); 608 (((ip6->ip6_src.s6_addr16[0]) << 16) | (ip6->ip6_dst.s6_addr16[0])), 829 &ip6->ip6_dst, th->th_dport, 1, 878 inet_ntop(AF_INET6, &ip6->ip6_dst, dbuf, sizeof(dbuf)); 905 ((isipv6 && !IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6->ip6_src)) || 1153 inp->in6p_laddr = ip6->ip6_dst; 1590 (((ip6->ip6_src.s6_addr16[0]) << 16) | (ip6->ip6_dst.s6_addr16[0])), 1672 if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, 1692 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) || 1715 inp->in6p_laddr = ip6->ip6_dst; [all...] |
H A D | ip_encap.c | 284 d.sin6_addr = ip6->ip6_dst;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_stf.c | 496 * ip6_dst has priority as it may be able to give us shorter IPv4 hops. 498 if (IN6_IS_ADDR_6TO4(&ip6->ip6_dst)) 499 in4 = GET_V4(&ip6->ip6_dst); 716 if (stf_checkaddr6(sc, &ip6.ip6_dst, NULL) < 0 ||
|