/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_smb1.c | 95 mb_put_uint16le(mbp, 0); 96 mb_put_uint16le(mbp, np->n_fid); 100 mb_put_uint16le(mbp, op == SMB_LOCK_RELEASE ? 1 : 0); 101 mb_put_uint16le(mbp, op == SMB_LOCK_RELEASE ? 0 : 1); 104 mb_put_uint16le(mbp, pid); 109 mb_put_uint16le(mbp, 0); /* pad */ 164 mb_put_uint16le(mbp, fid); in smbfs_smb1_trans2_query() 166 mb_put_uint16le(mbp, infolevel); in smbfs_smb1_trans2_query() 212 mb_put_uint16le(mbp, level); in smbfs_smb1_query_fs_info() 304 mb_put_uint16le(mbp, fid); in smbfs_smb1_flush() [all …]
|
H A D | smbfs_smb2.c | 139 mb_put_uint16le(mbp, 41); // struct size in smbfs_smb2_query_info() 143 mb_put_uint16le(mbp, 0); // in buf off in smbfs_smb2_query_info() 144 mb_put_uint16le(mbp, 0); // reserved in smbfs_smb2_query_info() 347 mb_put_uint16le(mbp, 24); /* struct size */ in smbfs_smb2_flush() 348 mb_put_uint16le(mbp, 0); /* reserved */ in smbfs_smb2_flush() 384 mb_put_uint16le(mbp, 33); // struct size in smbfs_smb2_set_info() 388 mb_put_uint16le(mbp, SMB2_HDRLEN + 32); // Buffer Offset in smbfs_smb2_set_info() 389 mb_put_uint16le(mbp, 0); // Reserved in smbfs_smb2_set_info() 566 mb_put_uint16le(mbp, 33); /* Struct size */ in smbfs_smb2_qdir() 574 mb_put_uint16le(mbp, 96); in smbfs_smb2_qdir() [all …]
|
H A D | smbfs_subr.c | 116 error = mb_put_uint16le(mbp, sep); in smbfs_fullpath() 132 error = mb_put_uint16le(mbp, 0); in smbfs_fullpath()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_smb.c | 484 mb_put_uint16le(mbp, 0xff); /* 0: AndXCommand */ in smb_smb_ssnsetup() 485 mb_put_uint16le(mbp, 0); /* 1: AndXOffset */ in smb_smb_ssnsetup() 486 mb_put_uint16le(mbp, sv->sv_maxtx); /* 2: MaxBufferSize */ in smb_smb_ssnsetup() 487 mb_put_uint16le(mbp, sv->sv_maxmux); /* 3: MaxMpxCount */ in smb_smb_ssnsetup() 488 mb_put_uint16le(mbp, 1); /* 4: VcNumber */ in smb_smb_ssnsetup() 490 mb_put_uint16le(mbp, sblen); /* 7: Sec. Blob Len */ in smb_smb_ssnsetup() 597 mb_put_uint16le(mbp, 0); in smb_smb_logoff() 728 mb_put_uint16le(mbp, 0); in smb_smb_treeconnect() 729 mb_put_uint16le(mbp, 0); /* Flags */ in smb_smb_treeconnect() 730 mb_put_uint16le(mbp, plen); in smb_smb_treeconnect() [all …]
|
H A D | smb2_smb.c | 186 mb_put_uint16le(mbp, 36); /* Struct Size */ in smb2_smb_negotiate() 188 mb_put_uint16le(mbp, security_mode); in smb2_smb_negotiate() 189 mb_put_uint16le(mbp, 0); /* Reserved */ in smb2_smb_negotiate() 196 mb_put_uint16le(mbp, smb2_dialects[i]); in smb2_smb_negotiate() 396 mb_put_uint16le(mbp, 25); /* Struct size */ in smb2_smb_ssnsetup() 408 mb_put_uint16le(mbp, mbp->mb_count + 12); in smb2_smb_ssnsetup() 409 mb_put_uint16le(mbp, sblen); in smb2_smb_ssnsetup() 543 mb_put_uint16le(mbp, 4); /* Struct size */ in smb2_smb_logoff() 544 mb_put_uint16le(mbp, 0); /* Reserved */ in smb2_smb_logoff() 604 mb_put_uint16le(mbp, 9); /* Struct size */ in smb2_smb_treeconnect() [all …]
|
H A D | smb_rq.c | 240 mb_put_uint16le(mbp, rqp->sr_rqflags2); in smb_rq_fillhdr() 241 mb_put_uint16le(mbp, 0); /* pid-high */ in smb_rq_fillhdr() 243 mb_put_uint16le(mbp, 0); /* reserved */ in smb_rq_fillhdr() 244 mb_put_uint16le(mbp, rqp->sr_rqtid); in smb_rq_fillhdr() 245 mb_put_uint16le(mbp, (uint16_t)rqp->sr_pid); in smb_rq_fillhdr() 246 mb_put_uint16le(mbp, rqp->sr_rquid); in smb_rq_fillhdr() 247 mb_put_uint16le(mbp, rqp->sr_mid); in smb_rq_fillhdr() 1097 mb_put_uint16le(mbp, totpcount); in smb_t2_request_int() 1098 mb_put_uint16le(mbp, totdcount); in smb_t2_request_int() 1099 mb_put_uint16le(mbp, t2p->t2_maxpcount); in smb_t2_request_int() [all …]
|
H A D | smb2_rq.c | 99 mb_put_uint16le(mbp, SMB2_HDR_SIZE); /* Struct Size */ in smb2_rq_fillhdr() 100 mb_put_uint16le(mbp, creditcharge); in smb2_rq_fillhdr() 102 mb_put_uint16le(mbp, rqp->sr2_command); in smb2_rq_fillhdr() 103 mb_put_uint16le(mbp, creditrequest); in smb2_rq_fillhdr()
|
H A D | smb3_crypt.c | 186 mb_put_uint16le(mbp, 0); // reserved in smb3_msg_encrypt() 187 mb_put_uint16le(mbp, 1); // flags in smb3_msg_encrypt()
|
H A D | nsmb.mapfile | 61 mb_put_uint16le;
|
H A D | subr_mchain.c | 458 mb_put_uint16le(struct mbchain *mbp, u_int16_t x) in mb_put_uint16le() function
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ntlm.c | 584 mb_put_uint16le(mbp, type); in smb_put_blob_name() 585 mb_put_uint16le(mbp, nlen); in smb_put_blob_name()
|
H A D | ntlmssp.c | 146 (void) mb_put_uint16le(mbp, sb->sb_length); in mb_put_sb_hdr() 147 (void) mb_put_uint16le(mbp, sb->sb_maxlen); in mb_put_sb_hdr()
|
H A D | mbuf.c | 263 mb_put_uint16le(mbchain_t *mbp, uint16_t x) in mb_put_uint16le() function
|
/illumos-gate/usr/src/uts/common/netsmb/ |
H A D | mchain.h | 234 int mb_put_uint16le(mbchain_t *, uint16_t);
|
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
H A D | mapfile-vers | 69 mb_put_uint16le;
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 391 ERRCHK(mb_put_uint16le(mbp, acl->acl_acecount)); in mb_put_acl() 392 ERRCHK(mb_put_uint16le(mbp, 0)); /* pad2 */ in mb_put_acl() 528 ERRCHK(mb_put_uint16le(mbp, flags)); in mb_put_ntsd()
|