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

123

/freebsd-10.0-release/contrib/tcpdump/
H A Dipproto.h49 #ifndef IPPROTO_ICMP
50 #define IPPROTO_ICMP 1 /* control message protocol */ macro
H A Dipproto.c32 { IPPROTO_ICMP, "ICMP" },
H A Dprint-pfsync.c358 } else if (proto != IPPROTO_ICMP && src->state < PFOTHERS_NSTATES &&
381 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
388 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localicmp.ksh51 args[4]->ipv4_protocol == IPPROTO_ICMP/
62 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-10.0-release/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-10.0-release/usr.bin/systat/
H A Dicmp.c226 name[2] = IPPROTO_ICMP;
254 name[2] = IPPROTO_ICMP;
273 name[2] = IPPROTO_ICMP;
/freebsd-10.0-release/cddl/lib/libdtrace/
H A Dip.d130 #pragma D binding "1.0" IPPROTO_ICMP
131 inline short IPPROTO_ICMP = 1;
177 proto == IPPROTO_ICMP ? "ICMP" :
/freebsd-10.0-release/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-10.0-release/sbin/pfctl/
H A Dpf_print_state.c220 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
227 if (s->proto == IPPROTO_ICMP || s->proto == IPPROTO_ICMPV6)
288 } else if (s->proto != IPPROTO_ICMP && src->state < PFOTHERS_NSTATES &&
/freebsd-10.0-release/sys/netinet/
H A Din_proto.c199 .pr_protocol = IPPROTO_ICMP,
367 SYSCTL_NODE(_net_inet, IPPROTO_ICMP, icmp, CTLFLAG_RW, 0, "ICMP");
H A Din.h42 #define IPPROTO_ICMP 1 /* control message protocol */ macro
/freebsd-10.0-release/sys/netinet/libalias/
H A Dalias.c367 else if (ip->ip_p == IPPROTO_ICMP) {
404 } else if (ip->ip_p == IPPROTO_ICMP) {
549 else if (ip->ip_p == IPPROTO_ICMP) {
586 } else if (ip->ip_p == IPPROTO_ICMP) {
1335 case IPPROTO_ICMP:
1485 case IPPROTO_ICMP:
1566 else if (pip->ip_p == IPPROTO_ICMP)
1608 } else if (pip->ip_p == IPPROTO_ICMP) {
/freebsd-10.0-release/sys/dev/streams/
H A Dstreams.c223 protocol = IPPROTO_ICMP;
/freebsd-10.0-release/usr.sbin/timed/timed/
H A Dmeasure.c88 sock_raw = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
/freebsd-10.0-release/contrib/ipfilter/ipsend/
H A Dipsend.c105 ip->ip_p = IPPROTO_ICMP;
H A Diptests.c335 ip->ip_p = IPPROTO_ICMP;
366 ip->ip_p = IPPROTO_ICMP;
406 ip->ip_p = IPPROTO_ICMP;
594 ip->ip_p = IPPROTO_ICMP;
/freebsd-10.0-release/usr.bin/procstat/
H A Dprocstat_files.c61 case IPPROTO_ICMP:
/freebsd-10.0-release/usr.sbin/timed/timedc/
H A Dcmds.c535 sock_raw = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
/freebsd-10.0-release/contrib/ipfilter/iplang/
H A Diplang_y.y692 else if (type == IPPROTO_ICMP)
1497 if ((ip->ip_p) && (ip->ip_p != IPPROTO_ICMP)) {
1502 ip->ip_p = IPPROTO_ICMP;
1503 icmp = (icmphdr_t *)new_header(IPPROTO_ICMP);
1767 if (aip->ah_p == IPPROTO_ICMP)
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/
H A Dip_nat.c3313 case IPPROTO_ICMP :
3695 else if (p == IPPROTO_ICMP) {
3822 } else if (oip->ip_p == IPPROTO_ICMP)
4109 case IPPROTO_ICMP :
4158 } else if (p == IPPROTO_ICMP) {
4183 } else if (p == IPPROTO_ICMP) {
4446 case IPPROTO_ICMP :
4490 } else if (p == IPPROTO_ICMP) {
4510 } else if (p == IPPROTO_ICMP) {
4676 fi.fin_p = IPPROTO_ICMP;
[all...]
H A Dip_fil_freebsd.c560 if ((fin->fin_p == IPPROTO_ICMP) && !(fin->fin_flx & FI_SHORT))
678 ip->ip_p = IPPROTO_ICMP;
688 ip->ip_p = IPPROTO_ICMP;
/freebsd-10.0-release/sbin/ping/
H A Dping.c255 s = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
654 ip->ip_p = IPPROTO_ICMP;
1173 (oip->ip_p == IPPROTO_ICMP) &&

Completed in 187 milliseconds

123