1 COPYREQ(9S)               Data Structures for Drivers              COPYREQ(9S)
   2 
   3 NAME
   4      copyreq - STREAMS data structure for the M_COPYIN and the M_COPYOUT
   5      message types
   6 
   7 SYNOPSIS
   8      #include <sys/stream.h>
   9 
  10 INTERFACE LEVEL
  11      Architecture independent level 1 (DDI/DKI)
  12 
  13 DESCRIPTION
  14      The data structure for the M_COPYIN and the M_COPYOUT message types.
  15 
  16 STRUCTURE MEMBERS
  17        int      cq_cmd;           /* ioctl command (from ioc_cmd) */
  18        cred_t   *cq_cr;           /* full credentials */
  19        uint_t   cq_id;            /* ioctl id (from ioc_id) */
  20        uint_t   cq_flag;          /* must be zero */
  21        mblk_t   *cq_private;      /* private state information */
  22        caddr_t  cq_addr;          /* address to copy data to/from */
  23        size_t   cq_size;          /* number of bytes to copy */
  24 
  25 SEE ALSO
  26      STREAMS Programming Guide.
  27 
  28 illumos                          July 9, 2018                          illumos