xref: /illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/offsets.in (revision 40c0e2317898b8c774791bdc2b30bd50111ab1fa)
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_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
71smbioc_ssn_work
72	wk_out_state
73	wk_u_ssnkey_len
74	wk_u_ssnkey_buf
75	wk_u_auth_rlen
76	wk_u_auth_wlen
77	wk_u_auth_rbuf
78	wk_u_auth_wbuf
79	wk_ssn_key
80
81smbioc_xnp	SIZEOF_SMBIOC_XNP
82	ioc_fh
83	ioc_tdlen
84	ioc_rdlen
85	ioc_more
86	_ioc_tdata
87	_ioc_rdata
88
89smbioc_rw	SIZEOF_SMBIOC_RW
90	ioc_fh
91	ioc_cnt
92	_ioc_offset
93	_ioc_base
94
95smbioc_ntcreate	SIZEOF_NTCREATE
96	ioc_req_acc
97	ioc_efattr
98	ioc_share_acc
99	ioc_open_disp
100	ioc_creat_opts
101	ioc_name	IOC_NTCR_NAME
102
103smbioc_printjob		SIZEOF_PRINTJOB
104	ioc_setuplen
105	ioc_prmode
106	ioc_title
107
108smbioc_pk	SIZEOF_SMBIOC_PK
109	pk_uid
110	pk_dom
111	pk_usr
112	pk_lmhash
113	pk_nthash
114