xref: /illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/offsets.in (revision 069e6b7e31ba5dcbc5441b98af272714d9a5455c)
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 2018 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_owner
56	ssn_vopt
57	ssn_minver
58	ssn_maxver
59	ssn_id
60	ssn_srvname
61
62smbioc_oshare
63	sh_use
64	sh_type
65	sh_name
66	sh_pass
67
68smbioc_tcon
69	tc_flags
70	tc_opt
71	tc_sh
72
73smbioc_ssn_work
74	wk_out_state
75	wk_u_ssnkey_len
76	wk_u_ssnkey_buf
77	wk_u_auth_rlen
78	wk_u_auth_wlen
79	wk_u_auth_rbuf
80	wk_u_auth_wbuf
81	wk_cl_guid
82
83smbioc_rw	SIZEOF_SMBIOC_RW
84	ioc_cnt
85	ioc_flags
86	_ioc_offset
87	_ioc_base
88
89smbioc_xnp	SIZEOF_SMBIOC_XNP
90	ioc_tdlen
91	ioc_rdlen
92	ioc_more
93	ioc_pad1
94	_ioc_tdata
95	_ioc_rdata
96
97smbioc_ntcreate	SIZEOF_NTCREATE
98	ioc_req_acc
99	ioc_efattr
100	ioc_share_acc
101	ioc_open_disp
102	ioc_creat_opts
103	ioc_name	IOC_NTCR_NAME
104
105smbioc_printjob		SIZEOF_PRINTJOB
106	ioc_setuplen
107	ioc_prmode
108	ioc_title
109
110smbioc_pk	SIZEOF_SMBIOC_PK
111	pk_uid
112	pk_dom
113	pk_usr
114	pk_lmhash
115	pk_nthash
116