Home
last modified time | relevance | path

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

/external/android-clat/
Dipv6.c93 if(IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { in ipv6_packet()
94 log_bad_address("ipv6_packet/multicast %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet()
105 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet()
106 !(is_in_plat_subnet(&ip6->ip6_dst) && in ipv6_packet()
109 log_bad_address("ipv6_packet/wrong source address: %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet()
Dtranslate.c139 ip->daddr = ipv6_addr_to_ipv4_addr(&old_header->ip6_dst); in fill_ip_header()
167 ip6->ip6_dst = ipv4_addr_to_ipv6_addr(old_header->daddr); in fill_ip6_header()
484 sin6.sin6_addr = ((struct ip6_hdr *) out[CLAT_POS_IPHDR].iov_base)->ip6_dst; in send_rawv6()
Dchecksum.c97 current = ip_checksum_add(current, &(ip6->ip6_dst), sizeof(struct in6_addr)); in ipv6_pseudo_header_checksum()
Ddump.c87 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()
290 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()
898 UNALIGNED_MEMCPY(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in xid_map_enter()
940 UNALIGNED_MEMCMP(&ip6->ip6_dst, &xmep->client, in xid_map_find()
941 sizeof(ip6->ip6_dst)) != 0) { in xid_map_find()
Dprint-pgm.c171 ip6addr_string(ndo, &ip6->ip6_dst))); in pgm_print()
189 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.c662 UNALIGNED_MEMCMP(&sa->daddr.in6, &ip6->ip6_dst, in esp_print()
Dprint-isakmp.c801 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in6, &ip6->ip6_dst, sizeof(struct in6_addr)); in cookie_record()
/external/iptables/iptables/
Dnft-ipv6.c59 add_addr(r, offsetof(struct ip6_hdr, ip6_dst), in nft_ipv6_add()
149 case offsetof(struct ip6_hdr, ip6_dst): in nft_ipv6_parse_payload()
/external/iputils/
Dping6.c1654 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()