14736 zfs: Improve sorted scan memory accounting
[illumos-gate.git] / usr / src / uts / common / sys / xti_xtiopt.h
blob7d183ecbc4ed0301760826d6b366d72084057ce7
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _SYS_XTI_XTIOPT_H
28 #define _SYS_XTI_XTIOPT_H
30 #include <sys/types.h>
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
38 * OPTIONS ON XTI LEVEL
40 * Note:
41 * Unfortunately, XTI specification test assertions require exposing in
42 * headers options that are not implemented. They also require exposing
43 * Internet and OSI related options as part of inclusion of <xti.h>
46 /* XTI level */
48 #define XTI_GENERIC 0xfffe
51 * XTI-level Options
54 #define XTI_DEBUG 0x0001 /* enable debugging */
55 #define XTI_LINGER 0x0080 /* linger on close if data present */
56 #define XTI_RCVBUF 0x1002 /* receive buffer size */
57 #define XTI_RCVLOWAT 0x1004 /* receive low water mark */
58 #define XTI_SNDBUF 0x1001 /* send buffer size */
59 #define XTI_SNDLOWAT 0x1003 /* send low-water mark */
63 * Structure used with linger option.
66 struct t_linger {
67 t_scalar_t l_onoff; /* option on/off */
68 t_scalar_t l_linger; /* linger time */
72 #ifdef __cplusplus
74 #endif
76 #endif /* _SYS_XTI_XTIOPT_H */