Frees an entire mbuf chain.
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/mbuf.h>
  void m_freem ( m)
struct mbuf *m;
| Item | Description | 
|---|---|
| m | Indicates the head of the mbuf chain to be freed. | 
The m_freem kernel service starts the m_free kernel service for each mbuf structure in the chain headed by the head specified by the m parameter.
The m_freem kernel service can be called from either the process or interrupt environment.
The m_freem service has no return values.