Home
last modified time | relevance | path

Searched refs:mb_put_uint16le (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb1.c95 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 Dsmbfs_smb2.c139 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 Dsmbfs_subr.c116 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 Dsmb_smb.c484 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 Dsmb2_smb.c186 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 Dsmb_rq.c240 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 Dsmb2_rq.c99 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 Dsmb3_crypt.c186 mb_put_uint16le(mbp, 0); // reserved in smb3_msg_encrypt()
187 mb_put_uint16le(mbp, 1); // flags in smb3_msg_encrypt()
H A Dnsmb.mapfile61 mb_put_uint16le;
H A Dsubr_mchain.c458 mb_put_uint16le(struct mbchain *mbp, u_int16_t x) in mb_put_uint16le() function
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dntlm.c584 mb_put_uint16le(mbp, type); in smb_put_blob_name()
585 mb_put_uint16le(mbp, nlen); in smb_put_blob_name()
H A Dntlmssp.c146 (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 Dmbuf.c263 mb_put_uint16le(mbchain_t *mbp, uint16_t x) in mb_put_uint16le() function
/illumos-gate/usr/src/uts/common/netsmb/
H A Dmchain.h234 int mb_put_uint16le(mbchain_t *, uint16_t);
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dmapfile-vers69 mb_put_uint16le;
/illumos-gate/usr/src/common/smbclnt/
H A Dsmbfs_ntacl.c391 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()