man Pages(9S): DDI and DKI Data Structures
검색에만이 책은
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) * /
caddr_t   cq_addr;          /* address to copy data to/from * /
uint      cq_size;          /* number of bytes to copy * /
int       cq_flag;           /* see below * /
mblk_t    * cq_private;     /* private state information * /
long      cq_filler[4];      /* reserved for future use * /
                            /* 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 Programmer's Guide