xref: /illumos-gate/usr/src/man/man9s/copyreq.9s (revision 8c69cc8fbe729fa7b091e901c4b50508ccc6bb33)
te
Copyright (c) 2000, Sun Microsystems, Inc., All Rights Reserved.
Copyright 1989 AT&T
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
COPYREQ 9S "Oct 6, 2000"
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_t cq_id; /* ioctl id (from ioc_id) */
uint_t cq_flag; /* must be zero */
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 */ 
SEE ALSO

STREAMS Programming Guide