#define	SIZEOF_SOCKADDR_ANY	0x18
#define	SIZEOF_SOCKADDR_IN	0x10
#define	SIZEOF_SOCKADDR_NB	0x18
#define	SIZEOF_SMBIOC_OSSN	0x218
#define	IOC_SERVER	0x0
#define	IOC_LOCAL	0x18
#define	IOC_LOCALCS	0x30
#define	IOC_LOCALCS_INCR	0x1
#define	IOC_SERVERCS	0x40
#define	IOC_SERVERCS_INCR	0x1
#define	IOC_SRVNAME	0x50
#define	IOC_SRVNAME_INCR	0x1
#define	IOC_USER	0x60
#define	IOC_USER_INCR	0x1
#define	IOC_WORKGROUP	0xe1
#define	IOC_WORKGROUP_INCR	0x1
#define	IOC_SSN_PASSWD	0x162
#define	IOC_SSN_PASSWD_INCR	0x1
#define	IOC_SSN_OPT	0x1e4
#define	IOC_TIMEOUT	0x1e8
#define	IOC_RETRYCOUNT	0x1ec
#define	IOC_SSN_OWNER	0x1f0
#define	IOC_SSN_GROUP	0x1f4
#define	IOC_SSN_MODE	0x1f8
#define	IOC_SSN_RIGHTS	0x1fc
#define	IOC_INTOKLEN	0x200
#define	IOC_OUTTOKLEN	0x204
#define	_IOC_INTOK	0x208
#define	_IOC_OUTTOK	0x210
#define	SIZEOF_SMBIOC_OSHARE	0x120
#define	IOC_SHARE	0x0
#define	IOC_SHARE_INCR	0x1
#define	IOC_SH_PASSWD	0x81
#define	IOC_SH_PASSWD_INCR	0x1
#define	IOC_SH_OPT	0x104
#define	IOC_STYPE	0x108
#define	IOC_SH_OWNER	0x10c
#define	IOC_SH_GROUP	0x110
#define	IOC_SH_MODE	0x114
#define	IOC_SH_RIGHTS	0x118
#define	SIZEOF_SMBIOC_RQ	0x30
#define	IOC_CMD	0x0
#define	IOC_TWC	0x1
#define	IOC_TBC	0x2
#define	IOC_RPBUFSZ	0x4
#define	IOC_RWC	0x9
#define	IOC_RBC	0xa
#define	IOC_RQ_ERRCLASS	0xd
#define	IOC_RQ_SERROR	0xe
#define	IOC_RQ_ERROR	0x10
#define	_IOC_TWORDS	0x18
#define	_IOC_TBYTES	0x20
#define	_IOC_RPBUF	0x28
#define	SIZEOF_SMBIOC_T2RQ	0xc0
#define	IOC_SETUP	0x0
#define	IOC_SETUP_INCR	0x2
#define	IOC_SETUPCNT	0x8
#define	IOC_NAME	0xc
#define	IOC_NAME_INCR	0x1
#define	IOC_TPARAMCNT	0x8c
#define	IOC_TDATACNT	0x8e
#define	IOC_RPARAMCNT	0x90
#define	IOC_RDATACNT	0x92
#define	IOC_T2_ERRCLASS	0x95
#define	IOC_T2_SERROR	0x96
#define	IOC_T2_ERROR	0x98
#define	IOC_RPFLAGS2	0x9c
#define	_IOC_TPARAM	0xa0
#define	_IOC_TDATA	0xa8
#define	_IOC_RPARAM	0xb0
#define	_IOC_RDATA	0xb8
#define	SIZEOF_SMBIOC_FLAGS	0xc
#define	IOC_LEVEL	0x0
#define	IOC_MASK	0x4
#define	IOC_FLAGS	0x8
#define	SIZEOF_SMBIOC_LOOKUP	0x340
#define	IOC_LOOK_LEVEL	0x0
#define	IOC_LOOK_FLAGS	0x4
#define	IOC_SH	0x8
#define	IOC_SSN	0x128
#define	SIZEOF_SMBIOC_RW	0x18
#define	IOC_FH	0x0
#define	IOC_CNT	0x4
#define	_IOC_OFFSET	0x8
#define	_IOC_BASE	0x10
#define	SIZEOF_SMBIOC_PK	0x304
#define	PK_DOM	0x4
#define	PK_DOM_INCR	0x1
#define	PK_USR	0x104
#define	PK_USR_INCR	0x1
#define	PK_PASS	0x204
#define	PK_PASS_INCR	0x1