xref: /titanic_52/usr/src/uts/common/fs/smbclnt/netsmb/offsets.in (revision c7158ae983f5a04c4a998f468ecefba6d23ba721)
1\
2\ CDDL HEADER START
3\
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.
7\
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.
12\
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]
18\
19\ CDDL HEADER END
20\
21\
22\ Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23\ Use is subject to license terms.
24\
25
26#pragma ident	"%Z%%M%	%I%	%E% SMI"
27
28\
29\ offsets.in: input file for the ctfstabs program,
30\ used to generate ioc_check.h - which verifies
31\ invariance of our ioctl data structures across
32\ 32-bit and 64-bit ABIs.
33
34#ifndef	_GENASSYM
35#define	_GENASSYM
36#endif
37
38#include <sys/types.h>
39#include <sys/ddi.h>
40#include <sys/sunddi.h>
41#include <sys/socket_impl.h>
42#include <netsmb/smb.h>
43#include <netsmb/netbios.h>
44#include <netsmb/smb_dev.h>
45
46sockaddr_any	SIZEOF_SOCKADDR_ANY
47
48sockaddr_in	SIZEOF_SOCKADDR_IN
49
50sockaddr_nb	SIZEOF_SOCKADDR_NB
51
52smbioc_ossn	SIZEOF_SMBIOC_OSSN
53	ioc_server
54	ioc_local
55	ioc_localcs
56	ioc_servercs
57	ioc_srvname
58	ioc_user
59	ioc_workgroup
60	ioc_password	IOC_SSN_PASSWD
61	ioc_opt		IOC_SSN_OPT
62	ioc_timeout
63	ioc_retrycount
64	ioc_owner	IOC_SSN_OWNER
65	ioc_group	IOC_SSN_GROUP
66	ioc_mode	IOC_SSN_MODE
67	ioc_rights	IOC_SSN_RIGHTS
68	ioc_intoklen
69	ioc_outtoklen
70	_ioc_intok
71	_ioc_outtok
72
73smbioc_oshare	SIZEOF_SMBIOC_OSHARE
74	ioc_share
75	ioc_password	IOC_SH_PASSWD
76	ioc_opt 	IOC_SH_OPT
77	ioc_stype
78	ioc_owner	IOC_SH_OWNER
79	ioc_group	IOC_SH_GROUP
80	ioc_mode	IOC_SH_MODE
81	ioc_rights	IOC_SH_RIGHTS
82
83smbioc_rq	SIZEOF_SMBIOC_RQ
84	ioc_cmd
85	ioc_twc
86	ioc_tbc
87	ioc_rpbufsz
88	ioc_rwc
89	ioc_rbc
90	ioc_errclass	IOC_RQ_ERRCLASS
91	ioc_serror	IOC_RQ_SERROR
92	ioc_error	IOC_RQ_ERROR
93	_ioc_twords
94	_ioc_tbytes
95	_ioc_rpbuf
96
97smbioc_t2rq	SIZEOF_SMBIOC_T2RQ
98	ioc_setup
99	ioc_setupcnt
100	ioc_name
101	ioc_tparamcnt
102	ioc_tdatacnt
103	ioc_rparamcnt
104	ioc_rdatacnt
105	ioc_errclass	IOC_T2_ERRCLASS
106	ioc_serror	IOC_T2_SERROR
107	ioc_error	IOC_T2_ERROR
108	ioc_rpflags2
109	_ioc_tparam
110	_ioc_tdata
111	_ioc_rparam
112	_ioc_rdata
113
114smbioc_flags	SIZEOF_SMBIOC_FLAGS
115	ioc_level
116	ioc_mask
117	ioc_flags
118
119smbioc_lookup	SIZEOF_SMBIOC_LOOKUP
120	ioc_level	IOC_LOOK_LEVEL
121	ioc_flags	IOC_LOOK_FLAGS
122	ioc_sh
123	ioc_ssn
124
125smbioc_rw	SIZEOF_SMBIOC_RW
126	ioc_fh
127	ioc_cnt
128	_ioc_offset
129	_ioc_base
130
131smbioc_pk	SIZEOF_SMBIOC_PK
132	pk_dom
133	pk_usr
134	pk_pass
135