Home
last modified time | relevance | path

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

/external/android-clat/
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.c116 printf("type = %x", icmp6->icmp6_type); in dump_icmp6()
117 if (icmp6->icmp6_type == ICMP6_ECHO_REQUEST) { in dump_icmp6()
119 } else if (icmp6->icmp6_type == ICMP6_ECHO_REPLY) { in dump_icmp6()
127 if ((icmp6->icmp6_type == ICMP6_ECHO_REQUEST) || (icmp6->icmp6_type == ICMP6_ECHO_REPLY)) { in dump_icmp6()
/external/tcpdump/
Dprint-icmp6.c77 uint8_t icmp6_type; /* type field */ member
179 #define mld6_type mld6_hdr.icmp6_type
197 #define nd_rs_type nd_rs_hdr.icmp6_type
209 #define nd_ra_type nd_ra_hdr.icmp6_type
237 #define nd_ns_type nd_ns_hdr.icmp6_type
248 #define nd_na_type nd_na_hdr.icmp6_type
264 #define nd_rd_type nd_rd_hdr.icmp6_type
380 #define ni_type icmp6_ni_hdr.icmp6_type
428 #define rr_type rr_hdr.icmp6_type
904 … ND_PRINT((ndo,"ICMP6, %s", tok2str(icmp6_type_values,"unknown icmp6 type (%u)",dp->icmp6_type))); in icmp6_print()
[all …]
/external/iputils/
Dping6_niquery.h11 #define ni_type ni_u.icmp6_type
Dping6.c1327 icmph.icmp6_type != ICMP6_ECHO_REQUEST || in receive_error_msg()
1368 icmph->icmp6_type = ICMP6_ECHO_REQUEST; in build_echo()
1624 if (icmph->icmp6_type == ICMP6_ECHO_REPLY) { in parse_reply()
1632 } else if (icmph->icmp6_type == ICMPV6_NI_REPLY) { in parse_reply()
1667 if (icmph1->icmp6_type != ICMP6_ECHO_REQUEST || in parse_reply()
1687 pr_icmph(icmph->icmp6_type, icmph->icmp6_code, ntohl(icmph->icmp6_mtu)); in parse_reply()
Dtraceroute6.c833 type = icp->icmp6_type; in packet_ok()
/external/iputils/ninfod/
Dicmp6_nodeinfo.h40 #define ni_type icmp6_ni_hdr.icmp6_type
Dninfod.c757 icmph->icmp6_type, icmph->icmp6_code, in main()
760 if (icmph->icmp6_type != ICMP6_NI_QUERY) { in main()
763 icmph->icmp6_type, saddrbuf); in main()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c691 uint8_t icmp6_type; /* Type of ICMPv6 */ in analyze_ip6_datagram() local
699 icmp6_type = rcvicmp6_p->hdr.icmp6_type; in analyze_ip6_datagram()
700 switch (icmp6_type) { in analyze_ip6_datagram()
Dns-icmpv6_sender.c383 echoreq_p->hdr.icmp6_type = ICMP6_ECHO_REQUEST; in create_echo_request()
/external/toybox/toys/pending/
Dtraceroute.c383 if ((ricmp->icmp6_type == ICMP6_TIME_EXCEEDED in do_trace()
385 || ricmp->icmp6_type == ICMP6_DST_UNREACH in do_trace()
386 || ricmp->icmp6_type == ICMP6_ECHO_REPLY) { in do_trace()
403 icmp_res = (ricmp->icmp6_type == ICMP6_TIME_EXCEEDED) ? -1 : in do_trace()
/external/iproute2/include/uapi/linux/
Dicmpv6.h10 __u8 icmp6_type; member
/external/kernel-headers/original/uapi/linux/
Dicmpv6.h10 __u8 icmp6_type; member
/external/wpa_supplicant_8/src/ap/
Dndisc_snoop.c110 switch (msg->icmp6h.icmp6_type) { in handle_ndisc()
/external/ltp/testcases/network/lib6/
Dasapi_02.c102 ic6.icmp6_type = type; in ic6_send1()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c474 icmp_hdr->icmp6_type = 129; in send_icmp6_reply()
493 if (icmp_hdr->icmp6_type == 128) in parse_icmpv6()
495 if (icmp_hdr->icmp6_type != 3) in parse_icmpv6()
Dtest_l4lb.c245 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()
Dtest_l4lb_noinline.c245 if (icmp_hdr->icmp6_type != ICMPV6_PKT_TOOBIG) in parse_icmpv6()