1613a2f6bSGordon Ross#define ID_SRVADDR 0x0 2613a2f6bSGordon Ross#define ID_DOMAIN 0x20 3613a2f6bSGordon Ross#define ID_DOMAIN_INCR 0x1 4613a2f6bSGordon Ross#define ID_USER 0x120 5613a2f6bSGordon Ross#define ID_USER_INCR 0x1 6613a2f6bSGordon Ross#define SSN_VOPT 0x0 7613a2f6bSGordon Ross#define SSN_OWNER 0x4 8613a2f6bSGordon Ross#define SSN_ID 0x8 9613a2f6bSGordon Ross#define SSN_SRVNAME 0x228 10613a2f6bSGordon Ross#define SSN_SRVNAME_INCR 0x1 11*430b4c46SGordon Ross#define SH_USE 0x0 12*430b4c46SGordon Ross#define SH_TYPE 0x4 13*430b4c46SGordon Ross#define SH_NAME 0x8 14613a2f6bSGordon Ross#define SH_NAME_INCR 0x1 15*430b4c46SGordon Ross#define SH_PASS 0x108 16613a2f6bSGordon Ross#define SH_PASS_INCR 0x1 17613a2f6bSGordon Ross#define TC_FLAGS 0x0 18613a2f6bSGordon Ross#define TC_OPT 0x4 19613a2f6bSGordon Ross#define TC_SH 0x8 20613a2f6bSGordon Ross#define SV_PROTO 0x0 21613a2f6bSGordon Ross#define SV_SM 0x2 22613a2f6bSGordon Ross#define SV_TZ 0x4 23613a2f6bSGordon Ross#define SV_MAXMUX 0x6 24613a2f6bSGordon Ross#define SV_MAXVCS 0x8 25613a2f6bSGordon Ross#define SV_RAWMODE 0xa 26613a2f6bSGordon Ross#define SV_MAXTX 0xc 27613a2f6bSGordon Ross#define SV_MAXRAW 0x10 28613a2f6bSGordon Ross#define SV_SKEY 0x14 29613a2f6bSGordon Ross#define SV_CAPS 0x18 30613a2f6bSGordon Ross#define IS_TRAN_FD 0x0 31613a2f6bSGordon Ross#define IS_VCFLAGS 0x4 32613a2f6bSGordon Ross#define IS_HFLAGS 0x8 33613a2f6bSGordon Ross#define IS_HFLAGS2 0xa 34613a2f6bSGordon Ross#define IS_SMBUID 0xc 35613a2f6bSGordon Ross#define IS_NEXT_MID 0xe 36613a2f6bSGordon Ross#define IS_TXMAX 0x10 37613a2f6bSGordon Ross#define IS_RWMAX 0x14 38613a2f6bSGordon Ross#define IS_RXMAX 0x18 39613a2f6bSGordon Ross#define IS_WXMAX 0x1c 40613a2f6bSGordon Ross#define IS_SSN_KEY 0x20 41613a2f6bSGordon Ross#define IS_SSN_KEY_INCR 0x1 42613a2f6bSGordon Ross#define IS_NEXT_SEQ 0x30 43613a2f6bSGordon Ross#define IS_U_MACLEN 0x34 44613a2f6bSGordon Ross#define IS_U_MACKEY 0x38 45613a2f6bSGordon Ross#define WK_IODS 0x0 46613a2f6bSGordon Ross#define WK_SOPT 0x40 47613a2f6bSGordon Ross#define WK_OUT_STATE 0x5c 48613a2f6bSGordon Ross#define SIZEOF_SMBIOC_RQ 0x20 494bff34e3Sthurlow#define IOC_CMD 0x0 50613a2f6bSGordon Ross#define IOC_RQ_ERRCLASS 0x1 51613a2f6bSGordon Ross#define IOC_RQ_SERROR 0x2 52613a2f6bSGordon Ross#define IOC_RQ_ERROR 0x4 53613a2f6bSGordon Ross#define IOC_TBUFSZ 0x8 54613a2f6bSGordon Ross#define IOC_RBUFSZ 0xc 55613a2f6bSGordon Ross#define _IOC_TBUF 0x10 56613a2f6bSGordon Ross#define _IOC_RBUF 0x18 574bff34e3Sthurlow#define SIZEOF_SMBIOC_T2RQ 0xc0 584bff34e3Sthurlow#define IOC_SETUP 0x0 594bff34e3Sthurlow#define IOC_SETUP_INCR 0x2 604bff34e3Sthurlow#define IOC_SETUPCNT 0x8 61*430b4c46SGordon Ross#define IOC_T2_NAME 0xc 62*430b4c46SGordon Ross#define IOC_T2_NAME_INCR 0x1 634bff34e3Sthurlow#define IOC_TPARAMCNT 0x8c 644bff34e3Sthurlow#define IOC_TDATACNT 0x8e 654bff34e3Sthurlow#define IOC_RPARAMCNT 0x90 664bff34e3Sthurlow#define IOC_RDATACNT 0x92 674bff34e3Sthurlow#define IOC_T2_ERRCLASS 0x95 684bff34e3Sthurlow#define IOC_T2_SERROR 0x96 694bff34e3Sthurlow#define IOC_T2_ERROR 0x98 704bff34e3Sthurlow#define IOC_RPFLAGS2 0x9c 714bff34e3Sthurlow#define _IOC_TPARAM 0xa0 724bff34e3Sthurlow#define _IOC_TDATA 0xa8 734bff34e3Sthurlow#define _IOC_RPARAM 0xb0 744bff34e3Sthurlow#define _IOC_RDATA 0xb8 754bff34e3Sthurlow#define SIZEOF_SMBIOC_FLAGS 0xc 764bff34e3Sthurlow#define IOC_LEVEL 0x0 77613a2f6bSGordon Ross#define IOC_MASK 0x8 78613a2f6bSGordon Ross#define IOC_FLAGS 0x4 794bff34e3Sthurlow#define SIZEOF_SMBIOC_RW 0x18 804bff34e3Sthurlow#define IOC_FH 0x0 814bff34e3Sthurlow#define IOC_CNT 0x4 824bff34e3Sthurlow#define _IOC_OFFSET 0x8 834bff34e3Sthurlow#define _IOC_BASE 0x10 84*430b4c46SGordon Ross#define SIZEOF_NTCREATE 0x114 85*430b4c46SGordon Ross#define IOC_REQ_ACC 0x0 86*430b4c46SGordon Ross#define IOC_EFATTR 0x4 87*430b4c46SGordon Ross#define IOC_SHARE_ACC 0x8 88*430b4c46SGordon Ross#define IOC_OPEN_DISP 0xc 89*430b4c46SGordon Ross#define IOC_CREAT_OPTS 0x10 90*430b4c46SGordon Ross#define IOC_NTCR_NAME 0x14 91*430b4c46SGordon Ross#define IOC_NTCR_NAME_INCR 0x1 92*430b4c46SGordon Ross#define SIZEOF_PRINTJOB 0x104 93*430b4c46SGordon Ross#define IOC_SETUPLEN 0x0 94*430b4c46SGordon Ross#define IOC_PRMODE 0x2 95*430b4c46SGordon Ross#define IOC_TITLE 0x4 96*430b4c46SGordon Ross#define IOC_TITLE_INCR 0x1 97613a2f6bSGordon Ross#define SIZEOF_SMBIOC_PK 0x224 98613a2f6bSGordon Ross#define PK_UID 0x0 994bff34e3Sthurlow#define PK_DOM 0x4 1004bff34e3Sthurlow#define PK_DOM_INCR 0x1 1014bff34e3Sthurlow#define PK_USR 0x104 1024bff34e3Sthurlow#define PK_USR_INCR 0x1 103613a2f6bSGordon Ross#define PK_LMHASH 0x204 104613a2f6bSGordon Ross#define PK_LMHASH_INCR 0x1 105613a2f6bSGordon Ross#define PK_NTHASH 0x214 106613a2f6bSGordon Ross#define PK_NTHASH_INCR 0x1 107