16702 CCM wide mode bit moved from DF::CCMConfig4 to DF::CCDEnable in DFv4D2
[illumos-gate.git] / usr / src / uts / common / sys / strredir.h
blobf95f7b2adf1e2414cd0f4a891980731613c787d4
1 /*
2 * CDDL HEADER START
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.
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.
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]
19 * CDDL HEADER END
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _SYS_STRREDIR_H
28 #define _SYS_STRREDIR_H
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
35 * strredir.h: Declarations for the redirection driver and its matching
36 * STREAMS module.
40 * The module's module id.
42 * XXX: Since there's no authority responsible for administering this name
43 * space, there's no guarantee that this value is unique. That wouldn't
44 * be so bad except that the DKI now suggests that ioctl cookie values
45 * should be based on module id to make them unique...
47 #define STRREDIR_MODID 7326
50 * Redirection ioctls:
52 #define SRIOCSREDIR ((STRREDIR_MODID<<16) | 1) /* set redir target */
53 #define SRIOCISREDIR ((STRREDIR_MODID<<16) | 2) /* is redir target? */
57 * Everything from here on is of interest only to the kernel.
59 #ifdef _KERNEL
61 /* name of the module used to detect closes on redirected streams */
62 #define STRREDIR_MOD "redirmod"
64 extern void srpop(vnode_t *, boolean_t);
66 #endif /* _KERNEL */
68 #ifdef __cplusplus
70 #endif
72 #endif /* _SYS_STRREDIR_H */