Skip to main content

Module error

Module error 

Source
Expand description

Wire constants for the SMB2 ERROR response ([MS-SMB2] §2.2.2) and the Symbolic Link Error Response it can carry ([MS-SMB2] §2.2.2.2.1).

Constants§

IO_REPARSE_TAG_SYMLINK
IO_REPARSE_TAG_SYMLINK ([MS-FSCC] §2.1.2.4).
REPARSE_HEADER_LEN
Bytes preceding PathBuffer inside the reparse data of §2.2.2.2.1 (UnparsedPathLength through Flags: four u16 offsets/lengths + a u32 Flags).
RESPONSE_STRUCTURE_SIZE
SMB2 ERROR Response StructureSize ([MS-SMB2] §2.2.2).
SYMLINK_ERROR_TAG
SymLinkErrorTag identifying a symbolic-link error payload (§2.2.2.2.1).
SYMLINK_FIXED_LEN
Bytes from SymLinkErrorTag to the start of PathBuffer (§2.2.2.2.1): SymLinkErrorTag, ReparseTag, ReparseDataLength, UnparsedPathLength, the four name offset/length fields, and Flags.
SYMLINK_FLAG_RELATIVE
SYMLINK_FLAG_RELATIVE: the substitute name is a relative path (§2.2.2.2.1.1).