6811333 Remove prom_printf() message in emlxs driver
[opensolaris.git] / usr / src / uts / common / sys / xti_xtiopt.h
blobdca19205446c6c2a1083d23d66e706a86b4b0930
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 #pragma ident "%Z%%M% %I% %E% SMI"
32 #include <sys/types.h>
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
40 * OPTIONS ON XTI LEVEL
42 * Note:
43 * Unfortunately, XTI specification test assertions require exposing in
44 * headers options that are not implemented. They also require exposing
45 * Internet and OSI related options as part of inclusion of <xti.h>
48 /* XTI level */
50 #define XTI_GENERIC 0xfffe
53 * XTI-level Options
56 #define XTI_DEBUG 0x0001 /* enable debugging */
57 #define XTI_LINGER 0x0080 /* linger on close if data present */
58 #define XTI_RCVBUF 0x1002 /* receive buffer size */
59 #define XTI_RCVLOWAT 0x1004 /* receive low water mark */
60 #define XTI_SNDBUF 0x1001 /* send buffer size */
61 #define XTI_SNDLOWAT 0x1003 /* send low-water mark */
65 * Structure used with linger option.
68 struct t_linger {
69 t_scalar_t l_onoff; /* option on/off */
70 t_scalar_t l_linger; /* linger time */
74 #ifdef __cplusplus
76 #endif
78 #endif /* _SYS_XTI_XTIOPT_H */