Home
last modified time | relevance | path

Searched refs:ICMP_ECHO (Results 1 – 25 of 27) sorted by relevance

12

/src/sys/netinet/
H A Dip_icmp.h175 #define ICMP_ECHO 8 /* echo service */ macro
209 ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \
H A Dip_icmp.c597 case ICMP_ECHO: in icmp_input()
/src/contrib/tcpdump/
H A Dprint-icmp.c127 #define ICMP_ECHO 8 /* echo service */ macro
190 { ICMP_ECHO, "echo request" },
342 case ICMP_ECHO: in icmp_print()
345 icmp_type == ICMP_ECHO ? in icmp_print()
/src/sbin/ipf/libipf/
H A Dicmptypes.c73 { "echo", ICMP_ECHO, ICMP6_ECHO_REQUEST },
H A Dipft_tx.c301 if (ic->icmp_type == ICMP_ECHO || in parseline()
/src/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c165 icmp->icmp_type = ICMP_ECHO; in doping()
394 icmp->icmp_type = ICMP_ECHO; in ATF_TC_BODY()
/src/contrib/bsnmp/snmp_mibII/
H A DmibII_ip.c424 value->v.integer = icmpstat.icps_inhist[ICMP_ECHO]; in op_icmpstat()
481 value->v.integer = icmpstat.icps_outhist[ICMP_ECHO]; in op_icmpstat()
/src/usr.bin/systat/
H A Dicmp.c203 DO2(ICMP_ECHO, 11); in showicmp()
/src/contrib/netbsd-tests/net/config/
H A Dnetconfig.c213 icmp.icmp_type = ICMP_ECHO; in netcfg_rump_pingtest()
/src/sys/netinet/libalias/
H A Dalias.c362 if (ic2->icmp_type == ICMP_ECHO || in IcmpAliasIn2()
473 case ICMP_ECHO: in IcmpAliasIn()
560 if (ic2->icmp_type == ICMP_ECHO || in IcmpAliasOut2()
651 case ICMP_ECHO: in IcmpAliasOut()
/src/sbin/ping/
H A Dping.c169 static u_char icmp_type = ICMP_ECHO;
1320 (oicmp.icmp_type == ICMP_ECHO) && in pr_pack()
1488 case ICMP_ECHO: in pr_icmph()
/src/tests/sys/netinet/
H A Dfibs_multibind_test.c419 icmp.icmp.icmp_type = ICMP_ECHO; in ping()
421 icmp.icmp.icmp_cksum = htons((unsigned short)~(ICMP_ECHO << 8)); in ping()
/src/contrib/netbsd-tests/net/bpfilter/
H A Dt_bpfilter.c195 icmp->icmp_type = ICMP_ECHO; in pingtest()
/src/sys/netpfil/pf/
H A Dpf_lb.c353 if (pd->ndport == htons(ICMP_ECHO)) { in pf_get_sport()
1384 pd->ndport = ICMP_ECHO; in pf_get_transaddr_af()
1390 if (pd->ndport == ICMP_ECHO) in pf_get_transaddr_af()
H A Dpf.c2576 case ICMP_ECHO: in pf_icmp_mapping()
2580 *virtual_type = ICMP_ECHO; in pf_icmp_mapping()
4192 type = ICMP_ECHO; in pf_translate_icmp_af()
4292 case ICMP_ECHO: in pf_translate_icmp_af()
4839 case ICMP_ECHO: in pf_icmp_to_bandlim()
7100 if (virtual_type == htons(ICMP_ECHO)) { in pf_translate()
7231 if (ctx->virtual_type == htons(ICMP_ECHO) && in pf_translate_compat()
9424 if (virtual_type == htons(ICMP_ECHO) && in pf_test_state_icmp()
9448 (virtual_type == htons(ICMP_ECHO) && in pf_test_state_icmp()
9451 (virtual_type == htons(ICMP_ECHO)) ? in pf_test_state_icmp()
[all …]
/src/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c966 case ICMP_ECHO: in nat64_icmp_translate()
1150 if (icmp->icmp_type != ICMP_ECHO) { in nat64_icmp_translate()
1702 icmp6->icmp6_type = ICMP_ECHO; in nat64_do_handle_ip6()
H A Dnat64lsn.c432 case ICMP_ECHO: in inspect_icmp_mbuf()
474 if (icmp->icmp_type != ICMP_ECHO) in inspect_icmp_mbuf()
/src/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c525 case ICMP_ECHO : in ipf_send_icmp_err()
H A Dfil.c1208 case ICMP_ECHO : in ipf_pr_icmp()
9216 icmpreplytype4[ICMP_ECHO] = ICMP_ECHOREPLY;
/src/usr.sbin/traceroute/
H A Dtraceroute.c1420 icmpheader->icmp_type = ICMP_ECHO; in icmp_prep()
/src/sbin/ipf/iplang/
H A Diplang_y.y390 | IL_ICMP_ECHO ';' { set_icmptype(ICMP_ECHO); }
/src/sbin/ipf/ipmon/
H A Dipmon.c206 { ICMP_ECHO, NULL, 0, "echo" },
/src/sbin/pfctl/
H A Dpfctl_parser.c84 { "echoreq", ICMP_ECHO },
/src/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2198 icmph->icmp_type = ICMP_ECHO; in xnb_add_mbuf_cksum_icmp()
/src/sys/netpfil/ipfw/
H A Dip_fw2.c270 #define TT ( (1 << ICMP_ECHO) | (1 << ICMP_ROUTERSOLICIT) | \

12