/freebsd-10-stable/sys/netinet6/ |
H A D | ip6_forward.c | 136 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) || 146 ip6_sprintf(ip6bufd, &ip6->ip6_dst), 348 dst->sin6_addr = ip6->ip6_dst; 400 ip6_sprintf(ip6bufd, &ip6->ip6_dst), 417 dst_in6 = ip6->ip6_dst; 488 ip6_sprintf(ip6bufd, &ip6->ip6_dst), 503 in6_clearscope(&ip6->ip6_dst); 509 odst = ip6->ip6_dst; 517 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) { 520 if (in6_localip(&ip6->ip6_dst)) [all...] |
H A D | ip6_gre.c | 116 if (!IN6_ARE_ADDR_EQUAL(&sc->gre_oip6.ip6_src, &ip6->ip6_dst) || 117 !IN6_ARE_ADDR_EQUAL(&sc->gre_oip6.ip6_dst, &ip6->ip6_src))
|
H A D | ip6_input.c | 530 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_dst)) { 538 if (IN6_IS_ADDR_MC_INTFACELOCAL(&ip6->ip6_dst) && 550 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) && 551 IPV6_ADDR_MC_SCOPE(&ip6->ip6_dst) == 0) { 581 IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst)) { 595 IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) { 616 odst = ip6->ip6_dst; 628 srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst); 658 if (in6_clearscope(&ip6->ip6_src) || in6_clearscope(&ip6->ip6_dst)) { 663 in6_setscope(&ip6->ip6_dst, [all...] |
H A D | in6_cksum.c | 119 scope = in6_getscope(&ip6->ip6_dst); 120 w = (u_int16_t *)&ip6->ip6_dst; 201 scope = in6_getscope(&ip6->ip6_dst); 202 w = (u_int16_t *)&ip6->ip6_dst;
|
H A D | send.c | 179 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) 185 dst.sin6_addr = ip6->ip6_dst; 278 in6_clearscope(&ip6->ip6_dst);
|
H A D | nd6_nbr.c | 126 struct in6_addr daddr6 = ip6->ip6_dst; 161 ip6_sprintf(ip6bufd, &ip6->ip6_dst), if_name(ifp))); 455 ip6->ip6_dst = *daddr6; 457 ip6->ip6_dst.s6_addr16[0] = IPV6_ADDR_INT16_MLL; 458 ip6->ip6_dst.s6_addr16[1] = 0; 459 ip6->ip6_dst.s6_addr32[1] = 0; 460 ip6->ip6_dst.s6_addr32[2] = IPV6_ADDR_INT32_ONE; 461 ip6->ip6_dst.s6_addr32[3] = taddr6->s6_addr32[3]; 462 ip6->ip6_dst.s6_addr8[12] = 0xff; 463 if (in6_setscope(&ip6->ip6_dst, if [all...] |
H A D | ip6_mroute.c | 1062 ip6_sprintf(ip6bufd, &ip6->ip6_dst), ifp->if_index); 1068 if (ip6->ip6_hlim <= 1 || IN6_IS_ADDR_MC_INTFACELOCAL(&ip6->ip6_dst) || 1069 IN6_IS_ADDR_MC_LINKLOCAL(&ip6->ip6_dst)) 1088 ip6_sprintf(ip6bufd, &ip6->ip6_dst), 1100 MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt); 1116 ip6_sprintf(ip6bufd, &ip6->ip6_dst)); 1141 hash = MF6CHASH(ip6->ip6_src, ip6->ip6_dst); 1145 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, 1241 rt->mf6c_mcastgrp.sin6_addr = ip6->ip6_dst; 1477 dst0 = ip6->ip6_dst; [all...] |
H A D | icmp6.c | 243 if (in6_setscope(&ip6->ip6_dst, ifp, NULL) != 0) 296 IN6_IS_ADDR_MULTICAST(&oip6->ip6_dst)) && 370 nip6->ip6_dst = oip6->ip6_dst; 373 in6_clearscope(&oip6->ip6_dst); 440 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 443 inm = in6m_lookup(ifp, &ip6->ip6_dst); 474 if (faithprefix_p != NULL && (*faithprefix_p)(&ip6->ip6_dst)) { 915 ip6_sprintf(ip6bufd, &ip6->ip6_dst), 1137 icmp6dst.sin6_addr = eip6->ip6_dst; [all...] |
H A D | udp6_usrreq.c | 209 if (faithprefix_p != NULL && (*faithprefix_p)(&ip6->ip6_dst)) { 286 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 319 &ip6->ip6_dst)) 341 if (imo && IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 350 mcaddr.sin6_addr = ip6->ip6_dst; 427 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport, 446 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport, 456 ip6_sprintf(ip6bufd, &ip6->ip6_dst), 829 ip6->ip6_dst = *faddr;
|
H A D | in6_gif.c | 192 if (!IN6_ARE_ADDR_EQUAL(&sc->gif_ip6hdr->ip6_src, &ip6->ip6_dst)) 195 if (!IN6_ARE_ADDR_EQUAL(&sc->gif_ip6hdr->ip6_dst, &ip6->ip6_src)) {
|
H A D | raw_ip6.c | 171 if (faithprefix_p != NULL && (*faithprefix_p)(&ip6->ip6_dst)) { 190 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_laddr, &ip6->ip6_dst)) 201 if (!IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) && 203 &ip6->ip6_dst) != 0) 223 IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 250 mcaddr.sin6_addr = ip6->ip6_dst; 498 ip6->ip6_dst = dstsock->sin6_addr;
|
H A D | frag6.c | 251 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &q6->ip6q_dst) 298 q6->ip6q_dst = ip6->ip6_dst; 366 ip6err->ip6_dst = q6->ip6q_dst; 652 ip6->ip6_dst = q6->ip6q_dst;
|
H A D | ip6_output.c | 324 finaldst = ip6->ip6_dst; 520 else if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 538 dst_sa.sin6_addr = ip6->ip6_dst; 575 dst0 = ip6->ip6_dst; 580 dst_sa.sin6_addr = ip6->ip6_dst; 634 if (rt && !IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 647 if (!IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 706 IN6_IS_ADDR_MC_INTFACELOCAL(&ip6->ip6_dst)) { 741 else if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst) && 753 in6_clearscope(&ip6->ip6_dst); [all...] |
/freebsd-10-stable/contrib/tcpdump/ |
H A D | ip6.h | 88 struct in6_addr ip6_dst; /* destination address */ member in struct:ip6_hdr
|
H A D | print-tcp.c | 216 ip6addr_string(&ip6->ip6_dst), 277 dst = &ip6->ip6_dst; 281 if (memcmp(src, dst, sizeof ip6->ip6_dst) > 0) 285 memcpy(&tha.src, dst, sizeof ip6->ip6_dst); 289 memcpy(&tha.dst, dst, sizeof ip6->ip6_dst); 775 MD5_Update(&ctx, (char *)&ip6->ip6_dst, sizeof(ip6->ip6_dst));
|
H A D | print-icmp6.c | 351 TCHECK(oip->ip6_dst); 358 printf(" %s",ip6addr_string(&oip->ip6_dst)); 362 ip6addr_string(&oip->ip6_dst), 374 ip6addr_string(&oip->ip6_dst), 379 ip6addr_string(&oip->ip6_dst), 384 ip6addr_string(&oip->ip6_dst), 402 TCHECK(oip->ip6_dst); 406 ip6addr_string(&oip->ip6_dst)); 417 TCHECK(oip->ip6_dst);
|
H A D | print-sunrpc.c | 122 ip6addr_string(&ip6->ip6_dst), dstid, length);
|
H A D | print-ip6.c | 68 ph.ph_dst = ip6->ip6_dst; 155 ip6addr_string(&ip6->ip6_dst)));
|
H A D | print-sctp.c | 135 ip6addr_string(&ip6->ip6_dst),
|
/freebsd-10-stable/cddl/lib/libdtrace/ |
H A D | ip.d | 237 inet_ntoa6(&((struct ip6_hdr *)p)->ip6_dst); 280 ipv6_dst = p == NULL ? 0 : (in6_addr_t *)&p->ip6_dst; 282 ipv6_daddr = p == NULL ? 0 : inet_ntoa6(&p->ip6_dst);
|
/freebsd-10-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_tftp_pxy.c | 350 sw2ip6.in6 = ip6->ip6_dst; 352 ip6->ip6_dst = nat->nat_nsrc6.in6; 386 ip6->ip6_dst = nat->nat_nsrc6.in6; 398 ip6->ip6_dst = nat->nat_osrc6.in6; 414 ip6->ip6_dst = sw2ip6.in6;
|
/freebsd-10-stable/sys/netipsec/ |
H A D | xform_ipip.c | 472 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) 473 ip6->ip6_dst.s6_addr16[1] = 0; 489 ip6o->ip6_dst = saidx->dst.sin6.sin6_addr;
|
H A D | ipsec_output.c | 337 sin6->sin6_addr = ip6->ip6_dst; 338 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { 342 ntohs(ip6->ip6_dst.s6_addr16[1]); 670 &ip6->ip6_dst)))) {
|
/freebsd-10-stable/sys/net/ |
H A D | if_stf.c | 470 * ip6_dst has priority as it may be able to give us shorter IPv4 hops. 473 if (IN6_IS_ADDR_6TO4(&ip6->ip6_dst)) 474 ptr = GET_V4(&ip6->ip6_dst); 733 if (stf_checkaddr6(sc, &ip6->ip6_dst, NULL) < 0 ||
|
/freebsd-10-stable/sys/contrib/altq/altq/ |
H A D | altq_red.c | 1213 IN6_ARE_ADDR_EQUAL(&fve->fve_flow.flow_ip6.ip6_dst, 1214 &ip6->ip6_dst)) 1257 fve->fve_flow.flow_ip6.ip6_dst = ip6->ip6_dst;
|