Solaris Dynamic Tracing Guide

msgsize()

size_t msgsize(mblk_t *mp)

msgsize() returns the number of bytes in the message pointed to by mp. Unlike msgdsize(), which returns only the number of data bytes, msgsize() returns the total number of bytes in the message.