Home
last modified time | relevance | path

Searched refs:sb_offset (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_ntlmssp.c58 uint32_t sb_offset; member
552 &sb->sb_offset); in decode_secbuf_bin()
556 if (sb->sb_offset > mb->max) in decode_secbuf_bin()
558 if (sb->sb_length > (mb->max - sb->sb_offset)) in decode_secbuf_bin()
563 *binp = mb->base + sb->sb_offset; in decode_secbuf_bin()
578 &sb->sb_offset); in decode_secbuf_str()
582 if (sb->sb_offset > mb->max) in decode_secbuf_str()
584 if (sb->sb_length > (mb->max - sb->sb_offset)) in decode_secbuf_str()
590 mb->scan = mb->base + sb->sb_offset; in decode_secbuf_str()
/titanic_50/usr/src/lib/libsmbfs/smb/
H A Dntlmssp.c87 uint32_t sb_offset; member
106 err = md_get_uint32le(mbp, &sb->sb_offset); in md_get_sb_hdr()
128 err = md_get_mem(&tmp_mb, NULL, sb->sb_offset, MB_MSYSTEM); in md_get_sb_data()
148 err = mb_put_uint32le(mbp, sb->sb_offset); in mb_put_sb_hdr()
163 sb->sb_offset = cnt0 = mbp->mb_count; in mb_put_sb_data()
356 (hdr.h_target_name.sb_offset >= sizeof (hdr))) { in ntlmssp_get_type2()
378 if (hdr.h_target_info.sb_offset >= sizeof (hdr)) { in ntlmssp_get_type2()