Solaris Dynamic Tracing Guide

msgdsize()

size_t msgdsize(mblk_t *mp)

msgdsize() returns the number of bytes in the data message pointed to by mp. See msgdsize(9F) for details. msgdsize() only includes data blocks of type M_DATA in the count.