/* Copy data from one mbuf to the end of the other.. if result is too big for one mbuf, malloc() an M_EXT data segment  */
void m_cat(struct mbuf *m, struct mbuf *n)
/* Copy data from one mbuf to the end of the other.. if result is too big for one mbuf, malloc() an M_EXT data segment  */
void m_cat(struct mbuf *m, struct mbuf *n)
{
	if (M_FREEROOM(m) < n->m_len)
		m_inc(m,m->m_size+MINCSIZE);
	memcpy(m->m_data+m->m_len, n->m_data, n->m_len);
	m->m_len += n->m_len;
	m_free(n);
}