Expand description
Byte offsets and sizes of the 64-byte SMB2 packet header ([MS-SMB2] §2.2.1.2).
Constants§
- ALIGN
- Compound requests/responses are 8-byte aligned ([MS-SMB2] §3.3.4.1).
- ASYNC_
ID - AsyncId offset in async mode (overlaps Reserved + TreeId).
- COMMAND
- Command offset.
- CREDIT
- CreditRequest / CreditResponse offset.
- CREDIT_
CHARGE - CreditCharge offset.
- FLAGS
- Flags offset.
- LEN
- Total SMB2 packet header length.
- MESSAGE_
ID - MessageId offset.
- NEXT_
COMMAND - NextCommand offset (compound chaining).
- PROTOCOL_
ID - ProtocolId (
\xFESMB) offset. - SESSION_
ID - SessionId offset.
- SIGNATURE
- Signature offset.
- SIGNATURE_
LEN - Signature length.
- STATUS
- Status / ChannelSequence offset.
- STRUCTURE_
SIZE - StructureSize offset (the value is always 64).
- TREE_ID
- TreeId offset in sync mode.