Home
last modified time | relevance | path

Searched refs:icmp_type (Results 1 – 12 of 12) sorted by relevance

/external/tcpdump/
Dprint-icmp.c51 uint8_t icmp_type; /* type of message, see below */ member
286 uint8_t icmp_type; member
354 switch (dp->icmp_type) { in icmp_print()
360 dp->icmp_type == ICMP_ECHO ? in icmp_print()
555 str = tok2str(icmp2str, "type-#%d", dp->icmp_type); in icmp_print()
579 if (ndo->ndo_vflag >= 1 && ICMP_ERRTYPE(dp->icmp_type)) { in icmp_print()
593 if (ndo->ndo_vflag >= 1 && plen > ICMP_EXTD_MINLEN && ICMP_MPLS_EXT_TYPE(dp->icmp_type)) { in icmp_print()
/external/iproute2/testsuite/tests/tc/
Dpedit.t202 do_pedit ip icmp_type set 0x23
204 do_pedit ip icmp_type preserve
206 do_pedit ip icmp_type invert
208 do_pedit ip icmp_type clear
/external/android-clat/
Dtranslate.c284 uint8_t icmp_type; in icmp6_to_icmp() local
289 icmp_type = icmp6_to_icmp_type(icmp6->icmp6_type, icmp6->icmp6_code); in icmp6_to_icmp()
290 icmp_targ->type = icmp_type; in icmp6_to_icmp()
296 icmp_type != ICMP_PARAMETERPROB) { in icmp6_to_icmp()
300 } else if (icmp_type == ICMP_ECHO || icmp_type == ICMP_ECHOREPLY) { in icmp6_to_icmp()
/external/toybox/toys/pending/
Dtraceroute.c123 send_icmp4->icmp_type = ICMP_ECHO; in send_probe4()
261 if ((ricmp->icmp_type == ICMP_TIMXCEED in do_trace()
263 || ricmp->icmp_type == ICMP_UNREACH in do_trace()
264 || ricmp->icmp_type == ICMP_ECHOREPLY) { in do_trace()
275 icmp_res = (ricmp->icmp_type == ICMP_TIMXCEED ? -1 : in do_trace()
279 if (ricmp->icmp_type == ICMP_ECHOREPLY in do_trace()
288 icmp_res = (ricmp->icmp_type == ICMP_TIMXCEED ? -1 : in do_trace()
316 ricmp->icmp_type, ricmp->icmp_code); in do_trace()
/external/bcc/examples/networking/
Dtc_perf_event.py53 icmp_type = int(skb_event.raw[54])
56 if icmp_type == 128:
/external/iputils/
Drdisc.c121 u_char icmp_type; /* type of message, see below */ member
597 rap->icmp_type = ICMP_ROUTER_ADVERTISEMENT; in advertise()
754 pr_type((int)rap->icmp_type), in pr_pack()
761 pr_type((int)rap->icmp_type), in pr_pack()
769 pr_type((int)rap->icmp_type), in pr_pack()
776 pr_type((int)rap->icmp_type), in pr_pack()
785 pr_type((int)rap->icmp_type), in pr_pack()
794 pr_type((int)rap->icmp_type), in pr_pack()
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debt_ip.h45 __u8 icmp_type[2]; member
/external/kernel-headers/original/uapi/linux/
Dopenvswitch.h434 __u8 icmp_type; member
/external/dnsmasq/src/
Ddnsmasq.c1045 packet.icmp.icmp_type = ICMP_ECHO; in icmp_ping()
1086 packet.icmp.icmp_type == ICMP_ECHOREPLY && packet.icmp.icmp_seq == 0 && in icmp_ping()
/external/tcpdump/tests/
Dof10_s4810-vvvv.out170 match icmp_type 8
176 match icmp_type 3
603 match icmp_type 8
609 match icmp_type 3
796 match icmp_type 8
802 match icmp_type 3
1081 match icmp_type 8
1088 match icmp_type 3
Dof10_p3295-vv.out492 match icmp_type 8
/external/scapy/doc/scapy/
Dadvanced_usage.rst573 def on_ICMP(self, icmp_type, icmp_code):
574 self.retaliate(icmp_type, icmp_code)