Determines if an mbuf structure has an attached cluster.
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/mbuf.h>struct mbuf * m;
M_HASCL (m);
| Item | Description | 
|---|---|
| m | Indicates the address of the mbuf structure in question. | 
The M_HASCL macro determines if an mbuf structure has an attached cluster.
The M_HASCL macro can be called from either the process or interrupt environment.
The M_HASCL macro can be used as in the following example:
struct mbuf  *m;
if (M_HASCL(m)) 
   printf("mbuf has attached cluster");