/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/ |
H A D | test_mbmarshal.c | 55 if (mbc->chain->m_len != 6) { in mbm_put_a0() 57 mbc->chain->m_len); in mbm_put_a0() 90 if (mbc->chain->m_len != 6) { in mbm_put_a1() 92 mbc->chain->m_len); in mbm_put_a1() 123 if (mbc->chain->m_len != 5) { in mbm_put_apad() 125 mbc->chain->m_len); in mbm_put_apad() 157 if (mbc->chain->m_len != 4) { in mbm_put_atrunc1() 159 mbc->chain->m_len); in mbm_put_atrunc1() 191 if (mbc->chain->m_len != 4) { in mbm_put_atrunc2() 193 mbc->chain->m_len); in mbm_put_atrunc2() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 821 while (src_m && offset >= src_m->m_len) { in smb_mbc_copy() 822 offset -= src_m->m_len; in smb_mbc_copy() 832 len = src_m->m_len - offset; in smb_mbc_copy() 847 len = src_m->m_len; in smb_mbc_copy() 881 while (offset >= m->m_len) { in smb_mbc_put_mem() 882 ASSERT(m->m_len > 0); in smb_mbc_put_mem() 883 offset -= m->m_len; in smb_mbc_put_mem() 891 tlen = m->m_len - offset; in smb_mbc_put_mem() 906 tlen = m->m_len; in smb_mbc_put_mem() 956 m->m_len = 0; in mbc_marshal_make_room() [all …]
|
H A D | smb_mbuf_util.c | 117 m->m_len = 0; in smb_mbc_alloc() 167 m->m_len = count; in smb_mbuf_get() 193 m->m_len = len; in smb_mbuf_alloc_ext() 280 m->m_len = len; in smb_mbuf_alloc_chain() 343 tlen = m->m_len; in smb_mbuf_mkuio() 367 if (nbytes <= m->m_len) { in smb_mbuf_trim() 368 m->m_len = nbytes; in smb_mbuf_trim() 375 nbytes -= m->m_len; in smb_mbuf_trim() 387 used += m->m_len; in MBC_LENGTH() 419 m->m_len = 0; in MBC_INIT() [all …]
|
H A D | smb_net.c | 241 ASSERT(mbuf->m_len <= MLEN); in smb_net_wrap_mbuf() 242 bcopy(mbuf->m_data, buf, mbuf->m_len); in smb_net_wrap_mbuf() 260 mblk = esballoca_wait((void *)mbuf->m_data, mbuf->m_len, in smb_net_wrap_mbuf() 263 mblk->b_wptr += mbuf->m_len; in smb_net_wrap_mbuf() 378 len += mbuf->m_len; in smb_net_send_uio()
|
H A D | smb2_signing.c | 294 while (mbuf != NULL && (offset >= mbuf->m_len)) { in smb2_sign_calc_common() 295 offset -= mbuf->m_len; in smb2_sign_calc_common() 307 tlen = mbuf->m_len - offset; in smb2_sign_calc_common() 323 tlen = mbuf->m_len; in smb2_sign_calc_common()
|
H A D | smb_signing.c | 290 while (mbuf != NULL && (offset >= mbuf->m_len)) { in smb_sign_calc() 291 offset -= mbuf->m_len; in smb_sign_calc() 294 if (mbuf != NULL && (size = (mbuf->m_len - offset)) > 0) { in smb_sign_calc() 302 rc = smb_md5_update(ctx, mbuf->m_data, mbuf->m_len); in smb_sign_calc()
|
H A D | smb31_preauth.c | 163 rc = smb_sha512_update(ctx, mbuf->m_data, mbuf->m_len); in smb31_preauth_sha512_calc()
|
H A D | smb_session.c | 159 m->m_len = NETBIOS_HDR_SZ; in smb_session_send() 161 ASSERT(m->m_len >= NETBIOS_HDR_SZ); in smb_session_send()
|
H A D | smb_dispatch.c | 962 total_bytes += m->m_len; in smbsr_check_result()
|
H A D | smb2_dispatch.c | 1473 m->m_len = SMB3_TFORM_HDR_SIZE; in smb2_send_reply()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | mbuf.c | 65 #define M_TRAILINGSPACE(m) ((m)->m_maxlen - (m)->m_len) 112 len += m->m_len; in m_totlen() 135 len = m0->m_len; in m_lineup() 142 nm->m_len = totlen; in m_lineup() 241 m->m_len += size; in mb_fit() 322 dst = mtod(m, char *) + m->m_len; in mb_put_mem() 329 m->m_len += cplen; in mb_put_mem() 332 mbp->mb_pos = mtod(m, char *) + m->m_len; in mb_put_mem() 349 if (m->m_next == NULL && m->m_len <= ts) { in mb_put_mbuf() 351 mb_put_mem(mbp, m->m_data, m->m_len, MB_MSYSTEM); in mb_put_mbuf() [all …]
|
H A D | ssp.c | 109 rc = spnegoInitFromBinary((uchar_t *)m->m_data, m->m_len, in ssp_ctx_create_client() 251 m->m_len, &stok_in); in ssp_ctx_next_token() 292 body_in.mb_count = m->m_len = (size_t)toklen; in ssp_ctx_next_token() 322 (uchar_t *)m->m_data, m->m_len, in ssp_ctx_next_token() 337 (uchar_t *)m->m_data, m->m_len, in ssp_ctx_next_token() 368 caller_out->mb_count = m->m_len = (size_t)toklen; in ssp_ctx_next_token()
|
H A D | connect.c | 222 blob.mb_top->m_len = nego_len; in smb_iod_connect() 373 work->wk_u_auth_wlen = m->m_len; in smb__ssnsetup() 391 m->m_len = work->wk_u_auth_rlen; in smb__ssnsetup()
|
H A D | acl_api.c | 102 m->m_len = iocb.used; in smbfs_acl_iocget() 129 iocb.used = m->m_len; in smbfs_acl_iocset()
|
H A D | ntlm.c | 545 (uchar_t *)tim->m_data, tim->m_len); in ntlm_put_v2_responses() 548 mb_put_mem(nt_mbp, tim->m_data, tim->m_len, MB_MSYSTEM); in ntlm_put_v2_responses() 636 err = mb_put_mem(mbp, names->m_data, names->m_len, MB_MSYSTEM); in ntlm_build_target_info()
|
H A D | ntlmssp.c | 200 if (tmp_mb.mb_cur->m_len < trim) in mb_put_sb_string() 202 tmp_mb.mb_cur->m_len -= trim; in mb_put_sb_string()
|
H A D | krb5ssp.c | 300 dlen = m->m_len; in krb5ssp_get_reply()
|
H A D | nbns_rq.c | 507 mbp->mb_top->m_len = mbp->mb_count = n; in nbns_rq_recv()
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | mbuf.h | 148 #define m_len m_hdr.mh_len macro 298 ((MB_START(m) + M_SIZE(m)) - ((m)->m_data + (m)->m_len))
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_preauth_pkcs.c | 150 rc = smb_sha512_update(ctx, mbuf->m_data, mbuf->m_len); in smb31_preauth_sha512_calc()
|
/illumos-gate/usr/src/uts/common/net/ |
H A D | if.h | 223 (m)->m_len -= sizeof (struct ifnet *); \ 224 if ((m)->m_len == 0) { \
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 641 # define M_LEN(x) (x)->m_len 719 # define M_LEN(x) (x)->m_len 780 # define M_LEN(x) (x)->m_len 948 # define M_LEN(x) (x)->m_len 1006 # define M_LEN(x) (x)->m_len 1044 # define M_LEN(x) (x)->m_len 1070 # define M_LEN(x) (x)->m_len 1170 # define m_len len macro 1324 # define M_LEN(x) (x)->m_len
|
/illumos-gate/usr/src/uts/common/netsmb/ |
H A D | mchain.h | 157 int m_len; member
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | fil.c | 3047 m->m_len -= hlen; 3049 m->m_len += hlen; 3114 add = MIN(hlen, m->m_len); 3117 if (add == m->m_len) { 3135 if (((caddr_t)sp - mtod(m, caddr_t)) >= m->m_len) { 3140 if (((caddr_t)(sp + 1) - mtod(m, caddr_t)) > m->m_len) { 3232 if (off < m->m_len) 3234 off -= m->m_len; 3240 count = MIN(m->m_len - off, len); 3268 while (off > (mlen = m->m_len)) { [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv_pcap.c | 414 mlen = m->m_len; in smb_req_pcap_m()
|