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
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]
22 /* from S5R3 sys/timod.h 10.3.1.1" */
24 #pragma ident "%Z%%M% %I% %E% SMI"
26 /* Copyright (c) 1984 AT&T */
27 /* All Rights Reserved */
30 /* #ident "@(#)kern-port:sys/timod.h 10.3.1.1" */
32 #ifndef _nettli_timod_h
33 #define _nettli_timod_h
36 #define USED 0x01 /* data structure in use */
37 #define FATAL 0x02 /* fatal error M_ERROR occurred */
38 #define WAITIOCACK 0x04 /* waiting for info for ioctl act */
39 #define MORE 0x08 /* more data */
44 #define TIMOD ('T'<<8)
45 #define TI_GETINFO (TIMOD|100)
46 #define TI_OPTMGMT (TIMOD|101)
47 #define TI_BIND (TIMOD|102)
48 #define TI_UNBIND (TIMOD|103)
51 /* TI interface user level structure - one per open file */
54 ushort ti_flags
; /* flags */
55 int ti_rcvsize
; /* rcv buffer size */
56 char *ti_rcvbuf
; /* rcv buffer */
57 int ti_ctlsize
; /* ctl buffer size */
58 char *ti_ctlbuf
; /* ctl buffer */
59 char *ti_lookdbuf
; /* look data buffer */
60 char *ti_lookcbuf
; /* look ctl buffer */
61 int ti_lookdsize
; /* look data buf size */
62 int ti_lookcsize
; /* look ctl buf size */
63 int ti_maxpsz
; /* TIDU size */
64 long ti_servtype
; /* service type */
65 int ti_lookflg
; /* buffered look flag */
69 /* This should be replaced */
70 #define OPENFILES getdtablesize()
72 #endif /*!_nettli_timod_h*/