Searched refs:IPPROTO_ICMP (Results 1 - 25 of 63) sorted by relevance

123

/freebsd-11-stable/contrib/tcpdump/
H A Dipproto.h47 #ifndef IPPROTO_ICMP
48 #define IPPROTO_ICMP 1 /* control message protocol */ macro
H A Dipproto.c27 { IPPROTO_ICMP, "ICMP" },
67 "icmp", /* 1 (IPPROTO_ICMP, Internet Control Message) */
H A Dprint-pfsync.c366 } else if (proto != IPPROTO_ICMP && src->state < PFOTHERS_NSTATES &&
389 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
396 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localicmp.ksh52 args[4]->ipv4_protocol == IPPROTO_ICMP/
63 args[4]->ipv4_protocol == IPPROTO_ICMP/
H A Dtst.ipv4remoteicmp.ksh62 args[4]->ipv4_protocol == IPPROTO_ICMP/
73 args[4]->ipv4_protocol == IPPROTO_ICMP/
/freebsd-11-stable/sbin/natd/
H A Dicmp.c59 if (failedDgram->ip_p == IPPROTO_ICMP)
99 ip->ip_p = IPPROTO_ICMP;
H A Dnatd.c343 icmpSock = socket (AF_INET, SOCK_RAW, IPPROTO_ICMP);
569 case IPPROTO_ICMP:
708 case IPPROTO_ICMP:
872 case IPPROTO_ICMP:
/freebsd-11-stable/usr.bin/systat/
H A Dicmp.c226 name[2] = IPPROTO_ICMP;
254 name[2] = IPPROTO_ICMP;
273 name[2] = IPPROTO_ICMP;
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dip.d130 #pragma D binding "1.5" IPPROTO_ICMP
131 inline short IPPROTO_ICMP = 1;
177 proto == IPPROTO_ICMP ? "ICMP" :
/freebsd-11-stable/contrib/netbsd-tests/net/icmp/
H A Dt_forward.c105 int mib[4] = { CTL_NET, PF_INET, IPPROTO_ICMP,
H A Dt_ping.c154 RL(s = rump_sys_socket(PF_INET, SOCK_RAW, IPPROTO_ICMP));
388 ip->ip_p = IPPROTO_ICMP;
/freebsd-11-stable/sbin/pfctl/
H A Dpf_print_state.c230 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
237 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
299 } else if (s->proto != IPPROTO_ICMP && src->state < PFOTHERS_NSTATES &&
302 } else if (s->proto != IPPROTO_ICMP && s->proto != IPPROTO_ICMPV6 &&
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dipft_tx.c230 ip->ip_p = IPPROTO_ICMP;
300 } else if (*cpp && ip->ip_p == IPPROTO_ICMP) {
333 else if (ip->ip_p == IPPROTO_ICMP)
H A Dprintstate.c84 } else if (sp->is_p == IPPROTO_ICMP
/freebsd-11-stable/sys/netinet/
H A Din_proto.c195 .pr_protocol = IPPROTO_ICMP,
325 SYSCTL_NODE(_net_inet, IPPROTO_ICMP, icmp, CTLFLAG_RW, 0, "ICMP");
H A Din.h42 #define IPPROTO_ICMP 1 /* control message protocol */ macro
/freebsd-11-stable/tools/tools/netmap/
H A Dpkt_hash.c185 case IPPROTO_ICMP:
260 case IPPROTO_ICMP:
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias.c367 else if (ip->ip_p == IPPROTO_ICMP) {
404 } else if (ip->ip_p == IPPROTO_ICMP) {
557 else if (ip->ip_p == IPPROTO_ICMP) {
594 } else if (ip->ip_p == IPPROTO_ICMP) {
1368 case IPPROTO_ICMP:
1526 case IPPROTO_ICMP:
1607 else if (pip->ip_p == IPPROTO_ICMP)
1649 } else if (pip->ip_p == IPPROTO_ICMP) {
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c493 ip->ip_p = (proto == IPPROTO_ICMPV6) ? IPPROTO_ICMP: proto;
750 if (ip->ip_p == IPPROTO_ICMP) {
793 oip->ip_p = IPPROTO_ICMP;
1058 eip6->ip6_nxt = (ip.ip_p == IPPROTO_ICMP) ? IPPROTO_ICMPV6: ip.ip_p;
1089 case IPPROTO_ICMP:
1093 * packet is IPPROTO_ICMP and its type is ICMP_ECHO.
1209 if (proto == IPPROTO_ICMP && ip_off != 0) {
1236 ip6.ip6_nxt = (proto == IPPROTO_ICMP) ? IPPROTO_ICMPV6: proto;
1263 case IPPROTO_ICMP:
/freebsd-11-stable/sys/dev/streams/
H A Dstreams.c216 protocol = IPPROTO_ICMP;
/freebsd-11-stable/usr.sbin/timed/timed/
H A Dmeasure.c88 sock_raw = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
/freebsd-11-stable/contrib/netbsd-tests/net/config/
H A Dnetconfig.c198 s = rump_sys_socket(PF_INET, SOCK_RAW, IPPROTO_ICMP);
/freebsd-11-stable/usr.sbin/timed/timedc/
H A Dcmds.c535 sock_raw = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
/freebsd-11-stable/sbin/ping/
H A Dping.c280 ssend = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
282 srecv = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
719 ip->ip_p = IPPROTO_ICMP;
1271 (oip->ip_p == IPPROTO_ICMP) &&
/freebsd-11-stable/usr.bin/procstat/
H A Dprocstat_files.c64 case IPPROTO_ICMP:

Completed in 289 milliseconds

123