xref: /titanic_52/usr/src/uts/common/fs/smbclnt/netsmb/offsets.in (revision 430b4c467020edf2445feb0c21db01c88b86243a)
14bff34e3Sthurlow\
24bff34e3Sthurlow\ CDDL HEADER START
34bff34e3Sthurlow\
44bff34e3Sthurlow\ The contents of this file are subject to the terms of the
54bff34e3Sthurlow\ Common Development and Distribution License (the "License").
64bff34e3Sthurlow\ You may not use this file except in compliance with the License.
74bff34e3Sthurlow\
84bff34e3Sthurlow\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94bff34e3Sthurlow\ or http://www.opensolaris.org/os/licensing.
104bff34e3Sthurlow\ See the License for the specific language governing permissions
114bff34e3Sthurlow\ and limitations under the License.
124bff34e3Sthurlow\
134bff34e3Sthurlow\ When distributing Covered Code, include this CDDL HEADER in each
144bff34e3Sthurlow\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154bff34e3Sthurlow\ If applicable, add the following below this CDDL HEADER, with the
164bff34e3Sthurlow\ fields enclosed by brackets "[]" replaced with your own identifying
174bff34e3Sthurlow\ information: Portions Copyright [yyyy] [name of copyright owner]
184bff34e3Sthurlow\
194bff34e3Sthurlow\ CDDL HEADER END
204bff34e3Sthurlow\
21613a2f6bSGordon Ross
224bff34e3Sthurlow\
23*430b4c46SGordon Ross\ Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
24613a2f6bSGordon Ross\ Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
254bff34e3Sthurlow\ Use is subject to license terms.
264bff34e3Sthurlow\
274bff34e3Sthurlow
284bff34e3Sthurlow\
294bff34e3Sthurlow\ offsets.in: input file for the ctfstabs program,
304bff34e3Sthurlow\ used to generate ioc_check.h - which verifies
314bff34e3Sthurlow\ invariance of our ioctl data structures across
324bff34e3Sthurlow\ 32-bit and 64-bit ABIs.
33613a2f6bSGordon Ross\
344bff34e3Sthurlow
354bff34e3Sthurlow#ifndef	_GENASSYM
364bff34e3Sthurlow#define	_GENASSYM
374bff34e3Sthurlow#endif
384bff34e3Sthurlow
394bff34e3Sthurlow#include <sys/types.h>
404bff34e3Sthurlow#include <sys/ddi.h>
414bff34e3Sthurlow#include <sys/sunddi.h>
424bff34e3Sthurlow#include <sys/socket_impl.h>
434bff34e3Sthurlow#include <netsmb/smb.h>
444bff34e3Sthurlow#include <netsmb/netbios.h>
454bff34e3Sthurlow#include <netsmb/smb_dev.h>
464bff34e3Sthurlow
47613a2f6bSGordon Rosssmbioc_sockaddr
484bff34e3Sthurlow
49613a2f6bSGordon Rosssmbioc_ssn_ident
50613a2f6bSGordon Ross	id_srvaddr
51613a2f6bSGordon Ross	id_domain
52613a2f6bSGordon Ross	id_user
534bff34e3Sthurlow
54613a2f6bSGordon Rosssmbioc_ossn
55613a2f6bSGordon Ross	ssn_vopt
56613a2f6bSGordon Ross	ssn_owner
57613a2f6bSGordon Ross	ssn_id
58613a2f6bSGordon Ross	ssn_srvname
594bff34e3Sthurlow
60613a2f6bSGordon Rosssmbioc_oshare
61*430b4c46SGordon Ross	sh_use
62*430b4c46SGordon Ross	sh_type
63613a2f6bSGordon Ross	sh_name
64613a2f6bSGordon Ross	sh_pass
654bff34e3Sthurlow
66613a2f6bSGordon Rosssmbioc_tcon
67613a2f6bSGordon Ross	tc_flags
68613a2f6bSGordon Ross	tc_opt
69613a2f6bSGordon Ross	tc_sh
70613a2f6bSGordon Ross
71613a2f6bSGordon Rosssmb_sopt
72613a2f6bSGordon Ross	sv_proto
73613a2f6bSGordon Ross	sv_sm
74613a2f6bSGordon Ross	sv_tz
75613a2f6bSGordon Ross	sv_maxmux
76613a2f6bSGordon Ross	sv_maxvcs
77613a2f6bSGordon Ross	sv_rawmode
78613a2f6bSGordon Ross	sv_maxtx
79613a2f6bSGordon Ross	sv_maxraw
80613a2f6bSGordon Ross	sv_skey
81613a2f6bSGordon Ross	sv_caps
82613a2f6bSGordon Ross
83613a2f6bSGordon Rosssmb_iods
84613a2f6bSGordon Ross	is_tran_fd
85613a2f6bSGordon Ross	is_vcflags
86613a2f6bSGordon Ross	is_hflags
87613a2f6bSGordon Ross	is_hflags2
88613a2f6bSGordon Ross	is_smbuid
89613a2f6bSGordon Ross	is_next_mid
90613a2f6bSGordon Ross	is_txmax
91613a2f6bSGordon Ross	is_rwmax
92613a2f6bSGordon Ross	is_rxmax
93613a2f6bSGordon Ross	is_wxmax
94613a2f6bSGordon Ross	is_ssn_key
95613a2f6bSGordon Ross	is_next_seq
96613a2f6bSGordon Ross	is_u_maclen
97613a2f6bSGordon Ross	is_u_mackey
98613a2f6bSGordon Ross
99613a2f6bSGordon Rosssmbioc_ssn_work
100613a2f6bSGordon Ross	wk_iods
101613a2f6bSGordon Ross	wk_sopt
102613a2f6bSGordon Ross	wk_out_state
1034bff34e3Sthurlow
1044bff34e3Sthurlowsmbioc_rq	SIZEOF_SMBIOC_RQ
1054bff34e3Sthurlow	ioc_cmd
1064bff34e3Sthurlow	ioc_errclass	IOC_RQ_ERRCLASS
1074bff34e3Sthurlow	ioc_serror	IOC_RQ_SERROR
1084bff34e3Sthurlow	ioc_error	IOC_RQ_ERROR
109613a2f6bSGordon Ross	ioc_tbufsz
110613a2f6bSGordon Ross	ioc_rbufsz
111613a2f6bSGordon Ross	_ioc_tbuf
112613a2f6bSGordon Ross	_ioc_rbuf
1134bff34e3Sthurlow
1144bff34e3Sthurlowsmbioc_t2rq	SIZEOF_SMBIOC_T2RQ
1154bff34e3Sthurlow	ioc_setup
1164bff34e3Sthurlow	ioc_setupcnt
117*430b4c46SGordon Ross	ioc_name	IOC_T2_NAME
1184bff34e3Sthurlow	ioc_tparamcnt
1194bff34e3Sthurlow	ioc_tdatacnt
1204bff34e3Sthurlow	ioc_rparamcnt
1214bff34e3Sthurlow	ioc_rdatacnt
1224bff34e3Sthurlow	ioc_errclass	IOC_T2_ERRCLASS
1234bff34e3Sthurlow	ioc_serror	IOC_T2_SERROR
1244bff34e3Sthurlow	ioc_error	IOC_T2_ERROR
1254bff34e3Sthurlow	ioc_rpflags2
1264bff34e3Sthurlow	_ioc_tparam
1274bff34e3Sthurlow	_ioc_tdata
1284bff34e3Sthurlow	_ioc_rparam
1294bff34e3Sthurlow	_ioc_rdata
1304bff34e3Sthurlow
1314bff34e3Sthurlowsmbioc_flags	SIZEOF_SMBIOC_FLAGS
1324bff34e3Sthurlow	ioc_level
1334bff34e3Sthurlow	ioc_mask
1344bff34e3Sthurlow	ioc_flags
1354bff34e3Sthurlow
1364bff34e3Sthurlowsmbioc_rw	SIZEOF_SMBIOC_RW
1374bff34e3Sthurlow	ioc_fh
1384bff34e3Sthurlow	ioc_cnt
1394bff34e3Sthurlow	_ioc_offset
1404bff34e3Sthurlow	_ioc_base
1414bff34e3Sthurlow
142*430b4c46SGordon Rosssmbioc_ntcreate	SIZEOF_NTCREATE
143*430b4c46SGordon Ross	ioc_req_acc
144*430b4c46SGordon Ross	ioc_efattr
145*430b4c46SGordon Ross	ioc_share_acc
146*430b4c46SGordon Ross	ioc_open_disp
147*430b4c46SGordon Ross	ioc_creat_opts
148*430b4c46SGordon Ross	ioc_name	IOC_NTCR_NAME
149*430b4c46SGordon Ross
150*430b4c46SGordon Rosssmbioc_printjob		SIZEOF_PRINTJOB
151*430b4c46SGordon Ross	ioc_setuplen
152*430b4c46SGordon Ross	ioc_prmode
153*430b4c46SGordon Ross	ioc_title
154*430b4c46SGordon Ross
1554bff34e3Sthurlowsmbioc_pk	SIZEOF_SMBIOC_PK
156613a2f6bSGordon Ross	pk_uid
1574bff34e3Sthurlow	pk_dom
1584bff34e3Sthurlow	pk_usr
159613a2f6bSGordon Ross	pk_lmhash
160613a2f6bSGordon Ross	pk_nthash
161