Home | History | Annotate | Download | only in android-clat

Lines Matching defs:ip6

78   const struct ip6_hdr *ip6 = (struct ip6_hdr *) packet;
88 logmsg_dbg(ANDROID_LOG_ERROR, "ipv6_packet/too short for an ip6 header: %d", len);
92 if(IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) {
93 log_bad_address("ipv6_packet/multicast %s->%s", &ip6->ip6_src, &ip6->ip6_dst);
103 if (!(is_in_plat_subnet(&ip6->ip6_src) &&
104 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &Global_Clatd_Config.ipv6_local_subnet)) &&
105 !(is_in_plat_subnet(&ip6->ip6_dst) &&
106 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet)) &&
107 ip6->ip6_nxt != IPPROTO_ICMPV6) {
108 log_bad_address("ipv6_packet/wrong source address: %s->%s", &ip6->ip6_src, &ip6->ip6_dst);
115 protocol = ip6->ip6_nxt;
121 fill_ip_header(ip_targ, 0, protocol, ip6);
150 old_sum = ipv6_pseudo_header_checksum(ip6, len_left, protocol);
168 logmsg(ANDROID_LOG_ERROR, "ipv6_packet/unknown next header type: %x", ip6->ip6_nxt);