Lines Matching refs:m_len
81 DEBUG_ARG("m_len = %d", m->m_len); in icmp_input()
96 m->m_len -= hlen; in icmp_input()
103 m->m_len += hlen; in icmp_input()
216 DEBUG_ARG("msrc_len = %d", msrc->m_len); in icmp_error()
246 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN; in icmp_error()
249 memcpy(m->m_data, msrc->m_data, msrc->m_len); in icmp_error()
250 m->m_len = msrc->m_len; /* copy msrc to m */ in icmp_error()
258 m->m_len -= hlen; in icmp_error()
266 m->m_len=ICMP_MINLEN+s_ip_len; /* 8 bytes ICMP header */ in icmp_error()
286 cpnt=(char *)m->m_data+m->m_len; in icmp_error()
288 m->m_len+=message_len; in icmp_error()
293 icp->icmp_cksum = cksum(m, m->m_len); in icmp_error()
296 m->m_len += hlen; in icmp_error()
300 ip->ip_len = m->m_len; in icmp_error()
334 m->m_len -= hlen; in icmp_reflect()
341 m->m_len += hlen; in icmp_reflect()
350 (unsigned )(m->m_len - hlen)); in icmp_reflect()
354 m->m_len -= optlen; in icmp_reflect()