[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

m_freem Kernel Service

Purpose

Frees an entire mbuf chain.

Syntax

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


void m_freem ( m)
struct mbuf *m;

Parameter

m Indicates the head of the mbuf chain to be freed.

Description

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.

Execution Environment

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

Return Values

The m_freem service has no return values.

Related Information

The m_free kernel service, m_get kernel service.

I/O Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]