Home
last modified time | relevance | path

Searched refs:icmp6_type (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/clatd/
Dtranslate.c231 uint8_t icmp6_type; in icmp_to_icmp6() local
236 icmp6_type = icmp_to_icmp6_type(icmp->type, icmp->code); in icmp_to_icmp6()
237 icmp6_targ->icmp6_type = icmp6_type; in icmp_to_icmp6()
242 if (pos == CLAT_POS_TRANSPORTHDR && is_icmp_error(icmp->type) && icmp6_type != ICMP6_PARAM_PROB) { in icmp_to_icmp6()
254 } else if (icmp6_type == ICMP6_ECHO_REQUEST || icmp6_type == ICMP6_ECHO_REPLY) { in icmp_to_icmp6()
288 icmp_type = icmp6_to_icmp_type(icmp6->icmp6_type, icmp6->icmp6_code); in icmp6_to_icmp()
290 icmp_targ->code = icmp6_to_icmp_code(icmp6->icmp6_type, icmp6->icmp6_code); in icmp6_to_icmp()
294 if (pos == CLAT_POS_TRANSPORTHDR && is_icmp6_error(icmp6->icmp6_type) && in icmp6_to_icmp()
Ddump.c117 printf("type = %x", icmp6->icmp6_type); in dump_icmp6()
118 if (icmp6->icmp6_type == ICMP6_ECHO_REQUEST) { in dump_icmp6()
120 } else if (icmp6->icmp6_type == ICMP6_ECHO_REPLY) { in dump_icmp6()
128 if ((icmp6->icmp6_type == ICMP6_ECHO_REQUEST) || (icmp6->icmp6_type == ICMP6_ECHO_REPLY)) { in dump_icmp6()
/packages/modules/Connectivity/Tethering/jni/
Dcom_android_networkstack_tethering_util_TetheringUtils.cpp47 BPF_LOAD_NET_RELATIVE_U8(sizeof(ipv6hdr) + offsetof(icmp6_hdr, icmp6_type)), in com_android_networkstack_tethering_util_setupIcmpFilter()