Searched refs:ICMP_MINLEN (Results 1 - 10 of 10) sorted by relevance

/freebsd-11.0-release/sbin/natd/
H A Dicmp.c83 icmpLen = ICMP_MINLEN + failBytes;
/freebsd-11.0-release/sbin/ping/
H A Dping.c102 #define MASK_LEN (ICMP_MASKLEN - ICMP_MINLEN)
103 #define TS_LEN (ICMP_TSLEN - ICMP_MINLEN)
554 icmp_len = sizeof(struct ip) + ICMP_MINLEN + phdr_len;
562 datap = &outpack[ICMP_MINLEN + phdr_len + TIMEVAL_LEN];
1066 (void *)&outpack[ICMP_MINLEN + phdr_len],
1070 cc = ICMP_MINLEN + phdr_len + datalen;
1125 if (cc < hlen + ICMP_MINLEN) {
1150 if ((size_t)(cc - ICMP_MINLEN - phdr_len) >=
1218 dp = &outpack[ICMP_MINLEN + phdr_len];
1219 cc -= ICMP_MINLEN
[all...]
/freebsd-11.0-release/sys/netinet/
H A Dip_icmp.h133 #define ICMP_MINLEN 8 /* abs minimum */ macro
H A Dip_icmp.c215 n->m_len >= oiphlen + ICMP_MINLEN &&
288 if (MHLEN > sizeof(struct ip) + ICMP_MINLEN + icmplen)
297 icmplen = min(icmplen, M_TRAILINGSPACE(m) - sizeof(struct ip) - ICMP_MINLEN);
298 m_align(m, ICMP_MINLEN + icmplen);
299 m->m_len = ICMP_MINLEN + icmplen;
389 if (icmplen < ICMP_MINLEN) {
/freebsd-11.0-release/contrib/tcpdump/
H A Dprint-icmp.c101 #define ICMP_MINLEN 8 /* abs minimum */ macro
/freebsd-11.0-release/sys/contrib/ipfilter/netinet/
H A Dip_compat.h884 #ifndef ICMP_MINLEN
885 # define ICMP_MINLEN 8 macro
H A Dfil.c1268 minicmpsz = ICMP_MINLEN;
/freebsd-11.0-release/sys/netpfil/pf/
H A Dpf.c3264 m_copyback(m, off, ICMP_MINLEN, (caddr_t)pd->hdr.icmp);
4605 m_copyback(m, off, ICMP_MINLEN,
4657 ipoff2 = off + ICMP_MINLEN;
4849 m_copyback(m, off, ICMP_MINLEN,
4918 m_copyback(m, off, ICMP_MINLEN,
4942 if (!pf_pull_hdr(m, off2, &iih, ICMP_MINLEN,
4982 m_copyback(m, off, ICMP_MINLEN, (caddr_t)pd->hdr.icmp);
4984 m_copyback(m, off2, ICMP_MINLEN, (caddr_t)&iih);
5076 m_copyback(m, off, ICMP_MINLEN,
5997 if (!pf_pull_hdr(m, off, &ih, ICMP_MINLEN,
[all...]
/freebsd-11.0-release/contrib/traceroute/
H A Dtraceroute.c1330 if (cc < hlen + ICMP_MINLEN) {
1378 for (i = 4; i <= cc - ICMP_MINLEN; i += sizeof(*lp))
/freebsd-11.0-release/sbin/routed/
H A Drdisc.c977 if (cc < hlen + ICMP_MINLEN)

Completed in 95 milliseconds