Home
last modified time | relevance | path

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

/external/android-clat/
Dipv6.c94 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { in ipv6_packet()
95 log_bad_address("ipv6_packet/multicast %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet()
106 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet()
107 !(is_in_plat_subnet(&ip6->ip6_dst) && in ipv6_packet()
110 log_bad_address("ipv6_packet/wrong source address: %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet()
Dtranslate.c140 ip->daddr = ipv6_addr_to_ipv4_addr(&old_header->ip6_dst); in fill_ip_header()
168 ip6->ip6_dst = ipv4_addr_to_ipv6_addr(old_header->daddr); in fill_ip6_header()
481 sin6.sin6_addr = ((struct ip6_hdr *)out[CLAT_POS_IPHDR].iov_base)->ip6_dst; in send_rawv6()
Ddump.c88 inet_ntop(AF_INET6, &header->ip6_dst, addrstr, sizeof(addrstr)); in dump_ip6()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c281 pkt.hdr.ip6_dst = info_p->daddr; in create_mld_query()
330 pseudo.hdr.p_ip6_dst = pkt.hdr.ip6_dst; in create_mld_query()
380 pkt.hdr.ip6_dst = info_p->daddr; in create_echo_request()
394 pseudo.hdr.p_ip6_dst = pkt.hdr.ip6_dst; in create_echo_request()
696 bitsize = sizeof(pkt->hdr.ip6_dst.s6_addr32[rand_val]) * 8; in thrust_fakes()
698 pkt->hdr.ip6_dst.s6_addr32[rand_val] ^= seed; in thrust_fakes()
Dns-icmp_redirector.c533 sndip6_p->hdr.ip6_dst = rcvip6_p->hdr.ip6_src; in return_neigh_adv()
549 p_ip6.hdr.p_ip6_dst = sndip6_p->hdr.ip6_dst; in return_neigh_adv()
635 sndip6_p->hdr.ip6_dst = rcvip6_p->hdr.ip6_src; in return_icmp6_redirect()
643 sndrd_p->defs.nd_rd_dst = rcvip6_p->hdr.ip6_dst;; in return_icmp6_redirect()
651 p_ip6.hdr.p_ip6_dst = sndip6_p->hdr.ip6_dst; in return_icmp6_redirect()
/external/tcpdump/
Dprint-ip6.c62 dst_addr = &ip6->ip6_dst; in ip6_finddst()
196 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); in nextproto6_cksum()
292 ip6addr_string(ndo, &ip6->ip6_dst))); in ip6_print()
Dprint-tcp.c198 ip6addr_string(ndo, &ip6->ip6_dst), in tcp_print()
260 dst = &ip6->ip6_dst; in tcp_print()
264 if (UNALIGNED_MEMCMP(src, dst, sizeof ip6->ip6_dst) > 0) in tcp_print()
268 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip6->ip6_dst); in tcp_print()
272 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip6->ip6_dst); in tcp_print()
874 MD5_Update(&ctx, (const char *)&ip6->ip6_dst, sizeof(ip6->ip6_dst)); in tcp_verify_signature()
Dprint-icmp6.c918 ND_TCHECK(oip->ip6_dst); in icmp6_print()
925 ND_PRINT((ndo," %s",ip6addr_string(ndo, &oip->ip6_dst))); in icmp6_print()
929 ip6addr_string(ndo, &oip->ip6_dst), in icmp6_print()
941 ip6addr_string(ndo, &oip->ip6_dst), in icmp6_print()
946 ip6addr_string(ndo, &oip->ip6_dst), in icmp6_print()
951 ip6addr_string(ndo, &oip->ip6_dst), in icmp6_print()
969 ND_TCHECK(oip->ip6_dst); in icmp6_print()
973 ip6addr_string(ndo, &oip->ip6_dst))); in icmp6_print()
984 ND_TCHECK(oip->ip6_dst); in icmp6_print()
Dip6.h87 struct in6_addr ip6_dst; /* destination address */ member
Dprint-sunrpc.c200 ip6addr_string(ndo, &ip6->ip6_dst), dstid, length)); in sunrpcrequest_print()
Dprint-nfs.c220 strlcpy(dstaddr, ip6addr_string(ndo, &ip6->ip6_dst), in print_nfsaddr()
900 UNALIGNED_MEMCPY(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in xid_map_enter()
942 UNALIGNED_MEMCMP(&ip6->ip6_dst, &xmep->client, in xid_map_find()
943 sizeof(ip6->ip6_dst)) != 0) { in xid_map_find()
Dprint-pgm.c171 ip6addr_string(ndo, &ip6->ip6_dst))); in pgm_print()
188 ip6addr_string(ndo, &ip6->ip6_dst), in pgm_print()
Dprint-udp.c331 ip6addr_string(ndo, &ip6->ip6_dst))); in udpipaddr_print()
336 ip6addr_string(ndo, &ip6->ip6_dst), in udpipaddr_print()
Dprint-dccp.c316 ip6addr_string(ndo, &ip6->ip6_dst), dport)); in dccp_print()
Dprint-sctp.c531 ip6addr_string(ndo, &ip6->ip6_dst), in sctp_print()
Dprint-esp.c718 UNALIGNED_MEMCMP(&sa->daddr.in6, &ip6->ip6_dst, in esp_print()
Dprint-isakmp.c802 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in6, &ip6->ip6_dst, sizeof(struct in6_addr)); in cookie_record()
/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c70 ip6.ip6_dst.s6_addr[15] = 1; in setup_client()
/external/iptables/iptables/
Dnft-ipv6.c62 add_addr(r, offsetof(struct ip6_hdr, ip6_dst), in nft_ipv6_add()
155 case offsetof(struct ip6_hdr, ip6_dst): in nft_ipv6_parse_payload()
Dxtables-monitor.c376 inet_ntop(AF_INET6, &ip6h->ip6_dst, addrbuf, sizeof(addrbuf)); in trace_print_packet()
/external/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c227 ip6hdr->ip6_dst = addr6; in send_udp_frags()
/external/iputils/
Dping6.c1657 if (memcmp(&iph1->ip6_dst, &whereto.sin6_addr, 16)) in parse_reply()
/external/toybox/toys/pending/
Ddhcpd.c882 memcpy(&packet.iph.ip6_dst, &gstate.client_nip6, sizeof(uint32_t)*4); in send_packet6()