Skip to main content

Module offload

Module offload 

Source
Expand description

A STORAGE_OFFLOAD_TOKEN ([MS-FSCC] §2.3.80) is 512 bytes: an 8-byte header (TokenType, Reserved, TokenIdLength — all big-endian) then a 504-byte TokenId. This server issues data tokens whose TokenId begins with a 16-byte server-local identifier keying the captured source range.

Constants§

READ_INPUT_SIZE
FSCTL_OFFLOAD_READ_INPUT size.
READ_OUTPUT_SIZE
FSCTL_OFFLOAD_READ_OUTPUT size (header + token).
TOKEN_ID_OFFSET
Byte offset of the TokenId within the token (after the 8-byte header).
TOKEN_LEN
Total STORAGE_OFFLOAD_TOKEN size.
TOKEN_TYPE_DATA
Vendor TokenType for a server-generated data token (non-well-known, so distinct from STORAGE_OFFLOAD_TOKEN_TYPE_ZERO_DATA = 0xFFFF0001).
WRITE_OUTPUT_SIZE
FSCTL_OFFLOAD_WRITE_OUTPUT size.