xref: /titanic_51/usr/src/uts/common/fs/smbclnt/netsmb/offsets.in (revision 45e662eb8429b38c18931ebeed30f2e5287ae51b)
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\
23\ Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
24\ Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
25\ Use is subject to license terms.
26\
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
35#ifndef	_GENASSYM
36#define	_GENASSYM
37#endif
38
39#include <sys/types.h>
40#include <sys/ddi.h>
41#include <sys/sunddi.h>
42#include <sys/socket_impl.h>
43#include <netsmb/smb.h>
44#include <netsmb/netbios.h>
45#include <netsmb/smb_dev.h>
46
47smbioc_sockaddr
48
49smbioc_ssn_ident
50	id_srvaddr
51	id_domain
52	id_user
53
54smbioc_ossn
55	ssn_vopt
56	ssn_owner
57	ssn_id
58	ssn_srvname
59
60smbioc_oshare
61	sh_use
62	sh_type
63	sh_name
64	sh_pass
65
66smbioc_tcon
67	tc_flags
68	tc_opt
69	tc_sh
70
71smb_sopt
72	sv_proto
73	sv_sm
74	sv_tz
75	sv_maxmux
76	sv_maxvcs
77	sv_rawmode
78	sv_maxtx
79	sv_maxraw
80	sv_skey
81	sv_caps
82
83smb_iods
84	is_tran_fd
85	is_vcflags
86	is_hflags
87	is_hflags2
88	is_smbuid
89	is_next_mid
90	is_txmax
91	is_rwmax
92	is_rxmax
93	is_wxmax
94	is_ssn_key
95	is_next_seq
96	is_u_maclen
97	is_u_mackey
98
99smbioc_ssn_work
100	wk_iods
101	wk_sopt
102	wk_out_state
103
104smbioc_rq	SIZEOF_SMBIOC_RQ
105	ioc_cmd
106	ioc_errclass	IOC_RQ_ERRCLASS
107	ioc_serror	IOC_RQ_SERROR
108	ioc_error	IOC_RQ_ERROR
109	ioc_tbufsz
110	ioc_rbufsz
111	_ioc_tbuf
112	_ioc_rbuf
113
114smbioc_t2rq	SIZEOF_SMBIOC_T2RQ
115	ioc_setup
116	ioc_setupcnt
117	ioc_name	IOC_T2_NAME
118	ioc_tparamcnt
119	ioc_tdatacnt
120	ioc_rparamcnt
121	ioc_rdatacnt
122	ioc_errclass	IOC_T2_ERRCLASS
123	ioc_serror	IOC_T2_SERROR
124	ioc_error	IOC_T2_ERROR
125	ioc_rpflags2
126	_ioc_tparam
127	_ioc_tdata
128	_ioc_rparam
129	_ioc_rdata
130
131smbioc_flags	SIZEOF_SMBIOC_FLAGS
132	ioc_level
133	ioc_mask
134	ioc_flags
135
136smbioc_rw	SIZEOF_SMBIOC_RW
137	ioc_fh
138	ioc_cnt
139	_ioc_offset
140	_ioc_base
141
142smbioc_ntcreate	SIZEOF_NTCREATE
143	ioc_req_acc
144	ioc_efattr
145	ioc_share_acc
146	ioc_open_disp
147	ioc_creat_opts
148	ioc_name	IOC_NTCR_NAME
149
150smbioc_printjob		SIZEOF_PRINTJOB
151	ioc_setuplen
152	ioc_prmode
153	ioc_title
154
155smbioc_pk	SIZEOF_SMBIOC_PK
156	pk_uid
157	pk_dom
158	pk_usr
159	pk_lmhash
160	pk_nthash
161