ICMP_MINLEN
if (cc < hlen + ICMP_MINLEN) {
m_copyback(pd->m, pd->off, ICMP_MINLEN,
ipoff2 = pd->off + ICMP_MINLEN;
m_copyback(pd->m, pd->off, ICMP_MINLEN,
m_copyback(pd->m, pd->off, ICMP_MINLEN,
if (!pf_pull_hdr(pd2.m, pd2.off, iih, ICMP_MINLEN,
m_copyback(pd2.m, pd2.off, ICMP_MINLEN,
m_copyback(pd->m, pd->off, ICMP_MINLEN,
m_copyback(pd2.m, pd2.off, ICMP_MINLEN, iih,
m_copyback(pd->m, pd->off, ICMP_MINLEN,
if (!pf_pull_hdr(pd->m, pd->off, &pd->hdr.icmp, ICMP_MINLEN,
pd->hdrlen = ICMP_MINLEN;
min_hdrlen = ICMP_MINLEN;
hlen += ICMP_MINLEN;
n->m_len >= oiplen + ICMP_MINLEN &&
KASSERT(ICMP_MINLEN + sizeof (struct ip) <= MCLBYTES);
if (sizeof (struct ip) + icmplen + ICMP_MINLEN > MCLBYTES)
icmplen = MCLBYTES - ICMP_MINLEN - sizeof (struct ip);
if (m && ((sizeof (struct ip) + icmplen + ICMP_MINLEN +
m->m_pkthdr.len = m->m_len = icmplen + ICMP_MINLEN;
if (icmplen < ICMP_MINLEN) {
if (cc < hlen + ICMP_MINLEN)
cc -= hlen + ICMP_MINLEN;
buf += hlen + ICMP_MINLEN;
if (cc < hlen + ICMP_MINLEN) {