ICMP_MINLEN
if (hlen < (int)sizeof(*ip) || tot_len < hlen + ICMP_MINLEN) {
ICMP_MINLEN);
ICMP_MINLEN, MSG_DONTROUTE,
cc = MAX(datalen, ICMP_MINLEN) + ICMP_HEADER_LEN;
if (cc < hlen + ICMP_MINLEN)
m_copyback(m, off, ICMP_MINLEN, pd->hdr.icmp);
m_copyback(m, off, ICMP_MINLEN,
m_copyback(m, off, ICMP_MINLEN,
ipoff2 = off + ICMP_MINLEN;
m_copyback(m, off, ICMP_MINLEN,
m_copyback(m, off, ICMP_MINLEN,
if (!pf_pull_hdr(m, off2, &iih, ICMP_MINLEN,
m_copyback(m, off, ICMP_MINLEN, pd->hdr.icmp);
m_copyback(m, off2, ICMP_MINLEN, &iih);
m_copyback(m, off, ICMP_MINLEN,
if (!pf_pull_hdr(m, off, &ih, ICMP_MINLEN,
ICMP_MINLEN);
n->m_len >= oiphlen + ICMP_MINLEN) {
CTASSERT(ICMP_MINLEN + sizeof(struct ip) <= MCLBYTES);
totlen = sizeof(struct ip) + ICMP_MINLEN + datalen;
datalen = MCLBYTES - ICMP_MINLEN - sizeof(struct ip);
if (icmplen < ICMP_MINLEN) {
n->m_len >= oiplen + ICMP_MINLEN &&
if (cc < hlen + ICMP_MINLEN) {