STREAMS Programming Guide

Transparent ioctls

Transparent ioctl's are used from within module to tell the stream head to perform a copyin() or copyout() on behalf of the module. It is important for the stream head to have knowledge of the data model of the caller in order to process the copyin and copyout properly. The user should use the ioctl macros as described in Writing Device Drivers when coding a STREAMS module that uses Transparent ioctls.