#include <sys/stream.h>uint_t IOC_CONVERT_FROM(struct iocblk *iocp);
Solaris DDI Specific (Solaris DDI)
The IOC_CONVERT_FROM macro is used to see if the contents of the current M_IOCTL message had its origin in a different C Language Type Model.
IOC_CONVERT_FROM() returns the following values:
This is an LP64 kernel and the M_IOCTL originated in an ILP32 user process.
The M_IOCTL message uses the same C Language Type Model as this calling module or driver.
IOC_CONVERT_FROM() can be called from user or interrupt context.