Allocates a page-sized mbuf structure cluster.
#include <sys/mbuf.h>
int m_clget (m) struct mbuf *m;
m | Specifies the mbuf structure with which the cluster is to be associated. |
The m_clget macro allocates a page-sized mbuf cluster and attaches it to the given mbuf structure. If successful, the length of the mbuf structure is set to CLBYTES.
The m_clget macro can be called from either the process or interrupt environment.
1 | Indicates successful completion. |
0 | Indicates an error. |
The m_clget macro is part of Base Operating System (BOS) Runtime.
The m_clgetm kernel service.
I/O Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.