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

Lines Matching defs:ip6

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