xref: /titanic_52/usr/src/uts/common/fs/smbclnt/netsmb/offsets.in (revision 3f7d54a6b84904c8f4d8daa4c7b577bede7df8b9)
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 2009 Sun Microsystems, Inc.  All rights reserved.
24\ Use is subject to license terms.
25\
26
27\
28\ offsets.in: input file for the ctfstabs program,
29\ used to generate ioc_check.h - which verifies
30\ invariance of our ioctl data structures across
31\ 32-bit and 64-bit ABIs.
32\
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
46smbioc_sockaddr
47
48smbioc_ssn_ident
49	id_srvaddr
50	id_domain
51	id_user
52
53smbioc_ossn
54	ssn_vopt
55	ssn_owner
56	ssn_id
57	ssn_srvname
58
59smbioc_oshare
60	sh_pwlen
61	sh_name
62	sh_pass
63	sh_type_req
64	sh_type_ret
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
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_pk	SIZEOF_SMBIOC_PK
143	pk_uid
144	pk_dom
145	pk_usr
146	pk_lmhash
147	pk_nthash
148