messages(D5)

messages - STREAMS messages

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     messages - STREAMS messages

SYNOPSIS
     #include <sys/stream.h>
     #include <sys/ddi.h>

DESCRIPTION
     The following is a list of the STREAMS messages types that can be used by
     drivers and modules.

     M_DATA        Data message.

     M_PROTO       Protocol control message.

     M_BREAK       Control message used to generate a line break.

     M_SIG         Control message used to send a signal to processes.

     M_DELAY       Control message used to generate a real-time delay.

     M_CTL         Control message used between neighboring modules and
                   drivers.

     M_IOCTL       Control message used to indicate a user ioctl(2) request.

     M_SETOPTS     Control message used to set stream head options.

     M_IOCACK      High priority control message used to indicate success of
                   an ioctl request.

     M_IOCNAK      High priority control message used to indicate failure of
                   an ioctl request.

     M_PCPROTO     High priority protocol control message.

     M_PCSIG       High priority control message used to send a signal to
                   processes.

     M_READ        High priority control message used to indicate the
                   occurrence of a read(2) when there are no data on the
                   stream head read queue.

     M_FLUSH       High priority control message used to indicate that queues
                   should be flushed.

     M_STOP        High priority control message used to indicate that output
                   should be stopped immediately.

     M_START       High priority control message used to indicate that output
                   can be restarted.
     M_HANGUP      High priority control message used to indicate that the
                   device has been disconnected.

     M_ERROR       High priority control message used to indicate that the
                   stream has incurred a fatal error.

     M_COPYIN      High priority control message used during transparent ioctl
                   processing to copy data from the user to a STREAMS message.

     M_COPYOUT     High priority control message used during transparent ioctl
                   processing to copy data from a STREAMS message to the user.

     M_IOCDATA     High priority control message used during transparent ioctl
                   processing to return the status and data of a previous
                   M_COPYIN or M_COPYOUT request.

     M_PCCTL       High priority control message used between neighboring
                   modules and drivers.

     M_PCSETOPTS   High priority control message used to set stream head
                   options.

     M_STOPI       High priority control message used to indicate that input
                   should be stopped immediately.

     M_STARTI      High priority control message used to indicate that input
                   can be restarted.

REFERENCES
     allocb(D3), copyreq(D4), copyresp(D4), datab(D4), iocblk(D4),
     linkblk(D4), msgb(D4), put(D2), srv(D2), stroptions(D4)