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

Technical Reference: Kernel and Subsystems, Volume 1

M_XMEMD Macro for mbuf Kernel Services

Purpose

Returns the address of an mbuf cross-memory descriptor.

Syntax

#include   <sys/mbuf.h>
#include   <sys/xmem.h>


struct mbuf * m;

M_XMEMD (m);

Parameter

m Specifies the address of the mbuf structure in question.

Description

The M_XMEMD macro returns the address of an mbuf cross-memory descriptor.

Execution Environment

The M_XMEMD macro can be called from either the process or interrupt environment.

Example

The M_XMEMD macro can be used as in the following example:

struct mbuf   *m;
struct xmem   *xmemd;

xmemd = M_XMEMD(m);

Related Information

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 ]