m_cat Kernel Service

Purpose

Appends one mbuf chain to the end of another.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/mbuf.h>

void m_cat ( m,  n)
struct mbuf *m;
struct mbuf *n;

Parameters

Item Description
m Specifies the mbuf chain to be appended to.
n Specifies the mbuf chain to append.

Description

The m_cat kernel service appends an mbuf chain specified by the n parameter to the end of mbuf chain specified by the m parameter. Where possible, compaction is performed.

Execution Environment

The m_cat kernel service can be called from either the process or interrupt environment.

Return Values

The m_cat service has no return values.