man Pages(9S): DDI and DKI Data Structures
  Search only this book
Download this book in PDF

NAME

copyreq - STREAMS data structure for the M_COPYIN and the M_COPYOUT message types

SYNOPSIS

#include <sys/stream.h>

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI).

DESCRIPTION

The data structure for the M_COPYIN and the M_COPYOUT message types.

STRUCTURE MEMBERS

int
cq_cmd;
/* ioctl command (from ioc_cmd) * /
cred_t    * cq_cr;          /* full credentials * /
uint      cq_id;            /* ioctl id (from ioc_id) * /
uint      cq_flag;           /* see below * /
mblk_t    * cq_private;     /* private state information * /
caddr_t   cq_addr;          /* address to copy data to/from * /
size_t    cq_size;          /* number of bytes to copy * /
                            /* cq_flag values * /

#define STRCANON 0x01
/* b_cont data block contains * /
/* canonical format specifier * /
#define RECOPY 0x02
/* perform I_STR copyin again, * /
/* this time using canonical * /
/* format specifier * /

SEE ALSO

STREAMS Programming Guide