SMB2_HDR_SIZE
mb_put_uint16le(mbp, SMB2_HDR_SIZE); /* Struct Size */
uint8_t tmp_hdr[SMB2_HDR_SIZE];
#define DATA_OFF (SMB2_HDR_SIZE + 8)
if (hdr_len != SMB2_HDR_SIZE)
SMB2_HDR_SIZE, /* w */
SMB2_HDR_SIZE, /* w */
sr->reply.chain_offset = sr->smb2_reply_hdr + SMB2_HDR_SIZE;
sr->reply.chain_offset = sr->smb2_reply_hdr + SMB2_HDR_SIZE;
if (sr->smb2_next_command < SMB2_HDR_SIZE)
skip = sr->smb2_next_command - SMB2_HDR_SIZE;
(SMB3_TFORM_HDR_SIZE + SMB2_HDR_SIZE)) {
if ((msg_len & 7) != 0 || (msg_len < SMB2_HDR_SIZE) ||
sr->smb_data.chain_offset = sr->smb2_cmd_hdr + SMB2_HDR_SIZE;
InputOffset = SMB2_HDR_SIZE + 48;
if (InputOffset < (SMB2_HDR_SIZE + 56))
#define NEG_CTX_INFO_OFFSET (SMB2_HDR_SIZE + 28)
#define NEG_CTX_OFFSET_OFFSET (SMB2_HDR_SIZE + 64)
DataOff = SMB2_HDR_SIZE + 8;
DataOff = SMB2_HDR_SIZE + 8;
DataOff = SMB2_HDR_SIZE + 16;
SecBufOffset = SMB2_HDR_SIZE + 8;
uint8_t tmp_hdr[SMB2_HDR_SIZE];
tlen = SMB2_HDR_SIZE;
DataOff = SMB2_HDR_SIZE + 16;
if (sr->th_msglen < SMB2_HDR_SIZE ||
#define SMB2_HDRLEN SMB2_HDR_SIZE