Home
last modified time | relevance | path

Searched refs:ip6_dst (Results 1 – 17 of 17) 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/tcpdump/
Dprint-tcp.c196 ip6addr_string(&ip6->ip6_dst),
259 dst = &ip6->ip6_dst;
263 if (UNALIGNED_MEMCMP(src, dst, sizeof ip6->ip6_dst) > 0)
267 UNALIGNED_MEMCPY(&tha.src, dst, sizeof ip6->ip6_dst);
271 UNALIGNED_MEMCPY(&tha.dst, dst, sizeof ip6->ip6_dst);
830 MD5_Update(&ctx, (char *)&ip6->ip6_dst, sizeof(ip6->ip6_dst));
Dprint-icmp6.c351 TCHECK(oip->ip6_dst); in icmp6_print()
358 printf(" %s",ip6addr_string(&oip->ip6_dst)); in icmp6_print()
362 ip6addr_string(&oip->ip6_dst), in icmp6_print()
374 ip6addr_string(&oip->ip6_dst), in icmp6_print()
379 ip6addr_string(&oip->ip6_dst), in icmp6_print()
384 ip6addr_string(&oip->ip6_dst), in icmp6_print()
402 TCHECK(oip->ip6_dst); in icmp6_print()
406 ip6addr_string(&oip->ip6_dst)); in icmp6_print()
417 TCHECK(oip->ip6_dst); in icmp6_print()
Dprint-ip6.c66 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); in nextproto6_cksum()
153 ip6addr_string(&ip6->ip6_dst))); in ip6_print()
Dip6.h88 struct in6_addr ip6_dst; /* destination address */ member
Dprint-sunrpc.c120 ip6addr_string(&ip6->ip6_dst), dstid, length); in sunrpcrequest_print()
Dprint-nfs.c185 strlcpy(dstaddr, ip6addr_string(&ip6->ip6_dst), in print_nfsaddr()
1007 UNALIGNED_MEMCPY(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in xid_map_enter()
1052 UNALIGNED_MEMCMP(&ip6->ip6_dst, &xmep->client, in xid_map_find()
1053 sizeof(ip6->ip6_dst)) != 0) { in xid_map_find()
Dprint-pgm.c196 ip6addr_string(&ip6->ip6_dst)); in pgm_print()
217 ip6addr_string(&ip6->ip6_dst), in pgm_print()
Dprint-udp.c318 ip6addr_string(&ip6->ip6_dst)); in udpipaddr_print()
323 ip6addr_string(&ip6->ip6_dst), in udpipaddr_print()
Dprint-sctp.c135 ip6addr_string(&ip6->ip6_dst), in sctp_print()
Dprint-dccp.c209 ip6addr_string(&ip6->ip6_dst), dport); in dccp_print()
Dprint-esp.c616 UNALIGNED_MEMCMP(&sin6->sin6_addr, &ip6->ip6_dst, in esp_print()
Dprint-isakmp.c321 UNALIGNED_MEMCPY(&sin6->sin6_addr, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in cookie_record()
/external/iputils/
Dping6.c1654 if (memcmp(&iph1->ip6_dst, &whereto.sin6_addr, 16)) in parse_reply()