Returns the address of an mbuf cross-memory descriptor.
#include <sys/mbuf.h> #include <sys/xmem.h>
struct mbuf *m;
M_XMEMD (m);
m | Specifies the address of the mbuf structure in question. |
The M_XMEMD macro returns the address of an mbuf cross-memory descriptor.
The M_XMEMD macro can be called from either the process or interrupt environment.
The M_XMEMD macro can be used as in the following example:
struct mbuf *m; struct xmem *xmemd;
xmemd = M_XMEMD(m);
The M_XMEMD macro is part of Base Operating System (BOS) Runtime.
I/O Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.