Home
last modified time | relevance | path

Searched refs:ip6_dst (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c451 (void *)&ip6h->ip6_dst, in check_reply6()
483 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
503 Printf(" to %s", pr_name((char *)&ip6h->ip6_dst, in check_reply6()
560 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
567 Printf(" to %s", pr_name((char *)&ip6h->ip6_dst, in check_reply6()
595 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
610 Printf(" to %s", pr_name((char *)&ip6h->ip6_dst, in check_reply6()
638 dst_addr.addr6 = ip6h->ip6_dst; in check_reply6()
659 Printf(" to %s", pr_name((char *)&ip6h->ip6_dst, in check_reply6()
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv6.c169 bcopy(daddr, &(ip6hp->ip6_dst), sizeof (in6_addr_t)); in mac_ipv6_header()
192 if (mac_ipv6_unicst_verify(&ip6hp->ip6_dst, NULL) != 0) in mac_ipv6_header_info()
213 hdr_info->mhi_daddr = (const uint8_t *)&(ip6hp->ip6_dst); in mac_ipv6_header_info()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_input.c317 if (IN6_IS_ADDR_UNSPECIFIED(&ip6h->ip6_dst)) { in ip_input_common_v6()
543 if (ip6h->ip6_dst.s6_addr32[0] == 0 && in ill_input_short_v6()
544 ip6h->ip6_dst.s6_addr32[1] == 0) { in ill_input_short_v6()
545 if (ip6_bad_address(&ip6h->ip6_dst, B_FALSE)) { in ill_input_short_v6()
582 in6_addr_t orig_dst = ip6h->ip6_dst; in ill_input_short_v6()
607 if (!IN6_ARE_ADDR_EQUAL(&orig_dst, &ip6h->ip6_dst)) in ill_input_short_v6()
608 nexthop = ip6h->ip6_dst; in ill_input_short_v6()
923 ire = ire_route_recursive_v6(&ip6h->ip6_dst, 0, NULL, in ire_recv_forward_v6()
1017 if (IN6_IS_ADDR_LINKLOCAL(&ip6h->ip6_dst) || in ire_recv_forward_v6()
1352 if (!ill_hasmembers_v6(ill, &ip6h->ip6_dst)) { in ire_recv_multicast_v6()
[all …]
H A Dip6_output.c149 firsthop = ip6h->ip6_dst; in ip_output_simple_v6()
180 nce = ire_to_nce(ire, INADDR_ANY, &ip6h->ip6_dst); in ip_output_simple_v6()
616 if (ill_hasmembers_v6(ill, &ip6h->ip6_dst)) in ire_send_multicast_v6()
623 if (ill_hasmembers_otherzones_v6(ill, &ip6h->ip6_dst, in ire_send_multicast_v6()
677 ip_rts_change_v6(RTM_MISS, &ip6h->ip6_dst, 0, 0, 0, 0, 0, 0, in ire_send_noroute_v6()
1195 if (IN6_ARE_ADDR_EQUAL(&nce->nce_addr, &ip6h->ip6_dst)) { in ip_postfrag_multirt_v6()
1197 ire = ire_ftable_lookup_v6(&ip6h->ip6_dst, 0, 0, 0, NULL, in ip_postfrag_multirt_v6()
1201 ire = ire_ftable_lookup_v6(&ip6h->ip6_dst, 0, &nce->nce_addr, in ip_postfrag_multirt_v6()
1263 nexthop = ip6h->ip6_dst; in ip_postfrag_multirt_v6()
H A Dip6.c467 ip6h->ip6_src = ip6h->ip6_dst; in icmp_send_reply_v6()
468 ip6h->ip6_dst = origsrc; in icmp_send_reply_v6()
913 IN6_ARE_ADDR_EQUAL(&in_ip6h->ip6_dst, &ip6h->ip6_dst)) { in icmp_inbound_error_fanout_v6()
1331 v6src = ip6h->ip6_dst; in icmp_pkt_v6()
1373 ip6h->ip6_dst = v6dst; in icmp_pkt_v6()
1575 v6targ = &ip6h->ip6_dst; in ip_send_potential_redirect_v6()
2483 laddr = ip6h->ip6_dst; in ip_fanout_udp_multi_v6()
3346 v6dst_ptr = &ip6h->ip6_dst; in ip_input_fragment_v6()
3852 rv = ip6h->ip6_dst; in ip_get_dst_v6()
4713 *addrptr = ip6h->ip6_dst; in ip_massage_options_v6()
[all …]
H A Dipclassifier.c1699 ip6h->ip6_src, ip6h->ip6_dst, ports) && in ipcl_classify_v6()
1730 ip6h->ip6_dst, lport) && in ipcl_classify_v6()
1740 !tsol_receive_local(mp, &ip6h->ip6_dst, IPV6_VERSION, in ipcl_classify_v6()
1766 if (IPCL_UDP_MATCH_V6(connp, lport, ip6h->ip6_dst, in ipcl_classify_v6()
1799 &ip6h->ip6_dst, ipst)); in ipcl_classify_v6()
1839 dst = (const void *)&ip6h->ip6_dst; in ipcl_classify_raw()
1858 ip6h->ip6_src, ip6h->ip6_dst, ports)) in ipcl_classify_raw()
1868 ip6h->ip6_dst, lport)) in ipcl_classify_raw()
2450 IN6_IS_ADDR_LOOPBACK(&ip6h->ip6_dst)); in ipcl_conn_tcp_lookup_reversed_ipv6()
2464 ip6h->ip6_dst, ip6h->ip6_src, ports) && in ipcl_conn_tcp_lookup_reversed_ipv6()
[all …]
H A Dtn_ipopt.c1397 retv = tsol_check_dest(tsl, &ip6h->ip6_dst, IPV6_VERSION, in tsol_check_label_v6()
1408 &ip6h->ip6_dst, opt_storage, ipst)) != 0) { in tsol_check_label_v6()
1415 &ip6h->ip6_dst, opt_storage, ipst)) != 0) in tsol_check_label_v6()
H A Dipsecah.c1917 isaf = OUTBOUND_BUCKET_V6(&ahstack->ah_sadb.s_v6, ip6h->ip6_dst); in ah_icmp_error_v6()
1920 (uint32_t *)&ip6h->ip6_src, (uint32_t *)&ip6h->ip6_dst, AF_INET6); in ah_icmp_error_v6()
2329 *pap = oip6h->ip6_dst; in ah_fix_phdr_v6()
2332 ip6h->ip6_dst = *(ap + left - 1); in ah_fix_phdr_v6()
2497 addr = &ip6h->ip6_dst; in ah_log_bad_auth()
2969 ip6h->ip6_dst = oip6h->ip6_dst; in ah_process_ip_options_v6()
3548 addr = &ip6h->ip6_dst; in ah_auth_in_done()
3617 "expire.\n", assoc->ipsa_spi, &ip6h->ip6_dst, in ah_auth_in_done()
H A Dip_sadb.c717 dst_ptr = (uint32_t *)&ip6h->ip6_dst; in ipsec_inbound_ah_sa()
845 dst_ptr = (uint32_t *)&ip6h->ip6_dst; in ipsec_inbound_esp_sa()
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c469 ip6h->ip6_dst = info->nat_dst; in ilb_full_nat()
474 ip6h->ip6_dst = info->src; in ilb_full_nat()
538 ip6h->ip6_dst = info->nat_dst; in ilb_half_nat()
598 in_ip6h->ip6_dst = info->nat_src; in ilb_nat_icmpv6()
601 out_ip6h->ip6_dst = info->nat_dst; in ilb_nat_icmpv6()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c246 ahip6h->ip6_dst = inip6h->ip6_src; in sctp_send_abort()
247 ahip6h->ip6_src = inip6h->ip6_dst; in sctp_send_abort()
398 ip6h->ip6_src = ip6h->ip6_dst; in sctp_ootb_send_abort()
399 ip6h->ip6_dst = v6addr; in sctp_ootb_send_abort()
403 if (IN6_IS_ADDR_LINKSCOPE(&ip6h->ip6_dst)) { in sctp_ootb_send_abort()
H A Dsctp_shutdown.c307 ip6h->ip6_src = ip6h->ip6_dst; in sctp_ootb_shutdown_ack()
308 ip6h->ip6_dst = v6addr; in sctp_ootb_shutdown_ack()
312 if (IN6_IS_ADDR_LINKSCOPE(&ip6h->ip6_dst)) { in sctp_ootb_shutdown_ack()
H A Dsctp_cookie.c516 IN6_IS_ADDR_LINKLOCAL(&initip6h->ip6_dst)) in sctp_send_initack()
684 iackip6h->ip6_dst = initip6h->ip6_src; in sctp_send_initack()
685 iackip6h->ip6_src = initip6h->ip6_dst; in sctp_send_initack()
785 bcopy(&iackip6h->ip6_dst, p, sizeof (in6_addr_t)); in sctp_send_initack()
851 err = tsol_check_dest(ixa->ixa_tsl, &iackip6h->ip6_dst, in sctp_send_initack()
1461 dst = ip6h->ip6_dst; in sctp_addrlist2sctp()
H A Dsctp_common.c349 ((ip6_t *)(mp->b_rptr))->ip6_dst = fp->sf_faddr; in sctp_make_mp()
598 sctp->sctp_ip6h->ip6_dst = fp->sf_faddr; in sctp_set_faddr_current()
1013 ip6h->ip6_dst = v6dst; in sctp_build_hdrs()
1034 if (IN6_IS_ADDR_V4MAPPED(&ip6h->ip6_dst)) in sctp_build_hdrs()
1288 hdrdaddr[0] = ip6h->ip6_dst; in sctp_get_addrparams()
H A Dsctp_conn.c214 laddr = ip6h->ip6_dst; in sctp_conn_request()
288 IN6_IS_ADDR_LINKLOCAL(&ip6h->ip6_dst)) { in sctp_conn_request()
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv_pcap.c93 in6_addr_t ip6_dst; member
329 bcopy(&dst_ip->a_ipv6, &ip6_hdr.ip6_dst, in smbsrv_pcap_dump()
330 sizeof (ip6_hdr.ip6_dst)); in smbsrv_pcap_dump()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dip.d.in234 ip_daddr = inet_ntoa6(&I->ip6_dst);
250 inet_ntoa6(&((ip6_t *)I)->ip6_dst) : "<unknown>") : "<unknown>";
297 inet_ntoa6(&((ip6_t *)I)->ip6_dst) :
370 ipv6_dst = I != NULL ? &I->ip6_dst : 0;
372 ipv6_daddr = I != NULL ? inet_ntoa6(&I->ip6_dst) : "<null>";
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_arp.c204 v = (uint16_t *)&v6hdr->ip6_dst; in libvarpd_icmpv6_checksum()
307 if (!IN6_IS_ADDR_MC_SOLICITEDNODE(&v6hdr->ip6_dst) && in libvarpd_plugin_proxy_ndp()
308 !IN6_IS_ADDR_MC_LINKLOCAL(&v6hdr->ip6_dst)) { in libvarpd_plugin_proxy_ndp()
416 bcopy(&v6hdr->ip6_src, &v6hdr->ip6_dst, sizeof (struct in6_addr)); in libvarpd_proxy_ndp_fini()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c1156 &oip6->ip6_dst, &oip6->ip6_src);
1159 &oip6->ip6_dst, &oip6->ip6_src);
1179 &oip6->ip6_dst, &oip6->ip6_src);
1182 &oip6->ip6_dst, &oip6->ip6_src);
1189 return nat6_inlookup(fin, 0, p, &oip6->ip6_dst, &oip6->ip6_src);
1191 return nat6_outlookup(fin, 0, p, &oip6->ip6_dst,
1253 if (IP6_EQ((i6addr_t *)&oip6->ip6_dst, &nat->nat_oip6)) {
1258 sum1 = LONG_SUM6((i6addr_t *)&oip6->ip6_dst);
1260 oip6->ip6_dst = in.in6;
2539 fin->fin_ip6->ip6_dst = nat->nat_inip6.in6;
H A Dip_fil_solaris.c1370 ip6->ip6_dst = fin->fin_src6.in6;
1593 ip6->ip6_dst = fin->fin_src6.in6;
2136 sin6->sin6_addr = ((ip6_t *)ip)->ip6_dst;
2755 fin->fin_ip6->ip6_src = fin->fin_ip6->ip6_dst;
2756 fin->fin_ip6->ip6_dst = tmp_src6;
3078 fin->fin_ip6->ip6_src = fin->fin_ip6->ip6_dst;
3079 fin->fin_ip6->ip6_dst = tmp_src6;
/illumos-gate/usr/src/uts/common/netinet/
H A Dip6.h55 struct in6_addr ip6_dst; /* destination address */ member
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c642 bcopy(ip6h->ip6_dst.s6_addr32, packet->daddr.s6_addr32, in parse_packet6()
643 sizeof (ip6h->ip6_dst.s6_addr32)); in parse_packet6()
/illumos-gate/usr/src/common/inet/
H A Dinet_hash.c289 uint8_t *ip_dst = &(ip6hp->ip6_dst.s6_addr8[12]); in inet_pkt_hash()
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c2174 new_ip6h->ip6_src = orig_ip6h->ip6_dst; in iptun_sendicmp_v6()
2175 new_ip6h->ip6_dst = orig_ip6h->ip6_src; in iptun_sendicmp_v6()
2738 IN6_6TO4_TO_V4ADDR(&inner6->ip6_dst, (struct in_addr *)&v4addr); in iptun_in_6to4_ok()
2800 (void *)&outer4->ipha_dst : (void *)&outer6->ip6_dst), in iptun_input()
2891 if (IN6_IS_ADDR_6TO4(&inner6->ip6_dst)) { in iptun_out_process_6to4()
2893 IN6_6TO4_TO_V4ADDR(&inner6->ip6_dst, in iptun_out_process_6to4()
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c271 bcopy(ip6h->ip6_dst.s6_addr32, header->daddr.s6_addr32, in flowacct_extract_header()
272 sizeof (ip6h->ip6_dst.s6_addr32)); in flowacct_extract_header()

123