/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | route6.c | 231 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) || 232 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_dst) || 233 IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst) || 234 IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) { 260 *nextaddr = ip6->ip6_dst; 262 ip6->ip6_dst = tmpaddr; 263 if (IN6_IS_ADDR_LINKLOCAL(&ip6->ip6_dst)) 264 ip6->ip6_dst.s6_addr16[1] = htons(m->m_pkthdr.rcvif->if_index);
|
H A D | ip6_forward.c | 190 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) || 200 ip6_sprintf(&ip6->ip6_dst), 222 VERIFY(!IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)); 386 * ip6forward_rt->ro_dst.sin6_addr is equal to ip6->ip6_dst 418 !IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &dst->sin6_addr) || 430 dst->sin6_addr = ip6->ip6_dst; 484 ip6_sprintf(&ip6->ip6_dst), 506 dst_in6 = ip6->ip6_dst; 649 ip6_sprintf(&ip6->ip6_dst), 664 in6_clearscope(&ip6->ip6_dst); [all...] |
H A D | icmp6.c | 266 if (in6_setscope(&ip6->ip6_dst, ifp, NULL) != 0) 319 IN6_IS_ADDR_MULTICAST(&oip6->ip6_dst)) && 395 nip6->ip6_dst = oip6->ip6_dst; 398 in6_clearscope(&oip6->ip6_dst); 465 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 469 IN6_LOOKUP_MULTI(&ip6->ip6_dst, ifp, inm); 607 if (icmp6_ratelimit(&ip6->ip6_dst, icmp6->icmp6_type, code)) { 701 if (icmp6_ratelimit(&ip6->ip6_dst, icmp6->icmp6_type, code)) { 745 if (icmp6_ratelimit(&ip6->ip6_dst, icmp [all...] |
H A D | ip6_mroute.c | 990 ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst), 998 if (ip6->ip6_hlim <= 1 || IN6_IS_ADDR_MC_NODELOCAL(&ip6->ip6_dst) || 999 IN6_IS_ADDR_MC_LINKLOCAL(&ip6->ip6_dst)) 1019 ip6_sprintf(&ip6->ip6_dst), 1029 MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt); 1056 ip6_sprintf(&ip6->ip6_dst)); 1082 hash = MF6CHASH(ip6->ip6_src, ip6->ip6_dst); 1086 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, 1189 rt->mf6c_mcastgrp.sin6_addr = ip6->ip6_dst; 1432 dst0 = ip6->ip6_dst; [all...] |
H A D | ip6_input.c | 660 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_dst)) { 668 if (IN6_IS_ADDR_MC_INTFACELOCAL(&ip6->ip6_dst) && 694 IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst)) { 708 IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) { 767 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst) && 768 ip6->ip6_dst.s6_addr16[1]) { 777 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) 778 ip6->ip6_dst.s6_addr16[1] 784 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 794 IN6_LOOKUP_MULTI(&ip6->ip6_dst, if [all...] |
H A D | frag6.c | 204 dst->sin6_addr = ip6->ip6_dst; 270 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &q6->ip6q_dst)) 306 q6->ip6q_dst = ip6->ip6_dst; 379 ip6err->ip6_dst = q6->ip6q_dst; 565 ip6->ip6_dst = q6->ip6q_dst; 668 ip6->ip6_dst = q6->ip6q_dst;
|
H A D | udp6_usrreq.c | 281 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 357 if (imo && IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 365 mcaddr.sin6_addr = ip6->ip6_dst; 466 &ip6->ip6_dst, uh->uh_dport, 1, 476 strlcpy(buf, ip6_sprintf(&ip6->ip6_dst), sizeof(buf)); 483 !IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6->ip6_src))
|
H A D | raw_ip6.c | 177 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst)) 407 ip6->ip6_dst = *dst; 417 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { 421 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) && im6o != NULL) { 432 ip6->ip6_dst.s6_addr16[1] = htons(pi->ipi6_ifindex); 436 } else if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) && 440 ip6->ip6_dst.s6_addr16[1] = htons(oifp->if_index); 453 ip6->ip6_dst.s6_addr16[1]
|
H A D | nd6_nbr.c | 259 struct in6_addr daddr6 = ip6->ip6_dst; 298 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 630 ip6->ip6_dst = *daddr6; 632 ip6->ip6_dst.s6_addr16[0] = IPV6_ADDR_INT16_MLL; 633 ip6->ip6_dst.s6_addr16[1] = 0; 634 ip6->ip6_dst.s6_addr32[1] = 0; 635 ip6->ip6_dst.s6_addr32[2] = IPV6_ADDR_INT32_ONE; 636 ip6->ip6_dst.s6_addr32[3] = taddr6->s6_addr32[3]; 637 ip6->ip6_dst.s6_addr8[12] = 0xff; 638 if (in6_setscope(&ip6->ip6_dst, if [all...] |
H A D | ip6_output.c | 380 finaldst = ip6->ip6_dst; 622 if (im6o != NULL && IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 632 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst) && 633 (ip6->ip6_dst.s6_addr16[1] == 0) && (ro != NULL)) { 635 ip6->ip6_dst.s6_addr16[1] = htons(ro->ro_dst.sin6_scope_id); 666 ip6->ip6_dst.s6_addr16[1] = 0; 758 ip6->ip6_dst = sa.sin6_addr; 819 else if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 839 !IN6_ARE_ADDR_EQUAL(&dst->sin6_addr, &ip6->ip6_dst) || 848 dst->sin6_addr = ip6->ip6_dst; [all...] |
H A D | ipsec.c | 1211 bcopy(&ip6->ip6_dst, &sin6->sin6_addr, sizeof(ip6->ip6_dst)); 1212 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { 1214 sin6->sin6_scope_id = ntohs(ip6->ip6_dst.s6_addr16[1]); 2477 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_dst)) 2478 oip6->ip6_dst.s6_addr16[1] = 0; 2492 &ip6->ip6_dst, sizeof(ip6->ip6_dst)); 2642 &ip6->ip6_dst, sizeof(ip6->ip6_dst)); [all...] |
H A D | in6_gif.c | 190 ip6->ip6_dst = sin6_dst->sin6_addr; 342 if (!IN6_ARE_ADDR_EQUAL(&src->sin6_addr, &ip6->ip6_dst) ||
|
H A D | udp6_output.c | 354 ip6->ip6_dst = *faddr; 386 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) &&
|
H A D | ah_input.c | 666 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst, 818 || !IN6_ARE_ADDR_EQUAL(&nip6->ip6_dst, &ip6->ip6_dst)) { 894 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) { 926 ip6addr->sin6_addr = ip6->ip6_dst;
|
H A D | ip6_fw.c | 484 ip6_sprintf(&ip6->ip6_dst)); 498 ip6_sprintf(&ip6->ip6_dst)); 512 ip6_sprintf(&ip6->ip6_dst)); 518 ip6_sprintf(&ip6->ip6_dst)); 621 (!IN6_ARE_ADDR_MASKEQUAL(&ip6->ip6_dst,&f->fw_dmsk,&f->fw_dst))) 833 && !IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) {
|
H A D | in6_cksum.c | 203 if (!IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst))
|
H A D | esp_input.c | 544 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) { 557 ip6addr->sin6_addr = ip6->ip6_dst; 773 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst, 1015 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) { 1038 ip6addr->sin6_addr = ip6->ip6_dst;
|
H A D | mld6.c | 778 dst = ip6->ip6_dst; 984 dst = ip6->ip6_dst; 1249 dst = ip6->ip6_dst; 1254 ip6_sprintf(&ip6->ip6_dst), 1992 ip6->ip6_dst = in6m->in6m_addr; 3286 (void) in6_setscope(&ip6->ip6_dst, ifp, NULL); /* XXX LOR */ 3293 MLD_EMBEDSCOPE(&ip6->ip6_dst, ifp->if_index); 3395 ip6->ip6_dst = in6addr_linklocal_allv2routers;
|
H A D | ipcomp_input.c | 284 (caddr_t)&ip6->ip6_dst, IPPROTO_IPCOMP, htonl(cpi));
|
H A D | nd6_prproxy.c | 529 if (IN6_IS_ADDR_MC_NODELOCAL(&ip6->ip6_dst) || 530 IN6_IS_ADDR_MC_LINKLOCAL(&ip6->ip6_dst)) { 534 } else if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 553 VERIFY(IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst,
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_stf.c | 562 * ip6_dst has priority as it may be able to give us shorter IPv4 hops. 564 if (IN6_IS_ADDR_6TO4(&ip6->ip6_dst)) 565 in4 = GET_V4(&ip6->ip6_dst); 793 if (stf_checkaddr6(sc, &ip6.ip6_dst, NULL) < 0 ||
|
H A D | if_utun_crypto_ipsec.c | 868 !IN6_ARE_ADDR_EQUAL(&dst6->sin6_addr, &ip6->ip6_dst))) { 877 dst6->sin6_addr = ip6->ip6_dst;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip6.h | 114 struct in6_addr ip6_dst; /* destination address */ member in struct:ip6_hdr
|
H A D | tcp_input.c | 788 (caddr_t)&ip6->ip6_dst - (caddr_t)ip6); 1205 (((ip6->ip6_src.s6_addr16[0]) << 16) | (ip6->ip6_dst.s6_addr16[0])), 1477 &ip6->ip6_dst, th->th_dport, 1, 1546 inet_ntop(AF_INET6, &ip6->ip6_dst, dbuf, sizeof(dbuf)); 1573 ((isipv6 && !IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6->ip6_src)) || 1720 if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, 1740 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) || 1891 inp->in6p_laddr = ip6->ip6_dst; 2435 (((ip6->ip6_src.s6_addr16[0]) << 16) | (ip6->ip6_dst.s6_addr16[0])), 2514 inp->in6p_laddr = ip6->ip6_dst; [all...] |
H A D | ip_encap.c | 286 d.sin6_addr = ip6->ip6_dst;
|