1.\" Copyright (c) 2000, Sun Microsystems, Inc., All Rights Reserved. 2.\" Copyright 1989 AT&T 3.\" Copyright 2018, Joyent, Inc. 4.\" The contents of this file are subject to the terms of the 5.\" Common Development and Distribution License (the "License"). 6.\" You may not use this file except in compliance with the License. 7.\" 8.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9.\" or http://www.opensolaris.org/os/licensing. 10.\" See the License for the specific language governing permissions 11.\" and limitations under the License. 12.\" 13.\" When distributing Covered Code, include this CDDL HEADER in each 14.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15.\" If applicable, add the following below this CDDL HEADER, with the 16.\" fields enclosed by brackets "[]" replaced with your own identifying 17.\" information: Portions Copyright [yyyy] [name of copyright owner] 18.Dd July 9, 2018 19.Dt COPYREQ 9S 20.Os 21.Sh NAME 22.Nm copyreq 23.Nd STREAMS data structure for the 24.Dv M_COPYIN 25and the 26.Dv M_COPYOUT 27message types 28.Sh SYNOPSIS 29.In sys/stream.h 30.Sh INTERFACE LEVEL 31Architecture independent level 1 (DDI/DKI) 32.Sh DESCRIPTION 33The data structure for the 34.Dv M_COPYIN 35and the 36.Dv M_COPYOUT 37message 38types. 39.Sh STRUCTURE MEMBERS 40.Bd -literal -offset 2n 41int cq_cmd; /* ioctl command (from ioc_cmd) */ 42cred_t *cq_cr; /* full credentials */ 43uint_t cq_id; /* ioctl id (from ioc_id) */ 44uint_t cq_flag; /* must be zero */ 45mblk_t *cq_private; /* private state information */ 46caddr_t cq_addr; /* address to copy data to/from */ 47size_t cq_size; /* number of bytes to copy */ 48.Ed 49.Sh SEE ALSO 50.Rs 51.%T STREAMS Programming Guide 52.Re 53