[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, 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.

Implementation Specifics

The m_freem kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The m_free kernel service, m_get kernel service.

I/O Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]