Partager via


2.4.16.1 FILE_LINK_ENTRY_INFORMATION

The FILE_LINK_ENTRY_INFORMATION packet is used to describe a single hard link to an existing file.

When multiple FILE_LINK_ENTRY_INFORMATION data elements are present in the buffer, each MUST be aligned on an 8-byte boundary. Any bytes inserted for alignment SHOULD be set to zero, and the receiver MUST ignore them. No padding is required following the last data element.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

NextEntryOffset

ParentFileId

...

FileNameLength

FileName (variable)

...

NextEntryOffset (4 bytes): A 32-bit unsigned integer that MUST specify the offset, in bytes, from the current FILE_LINK_ENTRY_INFORMATION structure to the next FILE_LINK_ENTRY_INFORMATION structure. A value of 0 indicates this is the last entry structure.

ParentFileId (8 bytes): The 64-bit file ID, as specified in section 2.1.9, of the parent directory of the given link. For file systems which do not support a 64-bit file ID, this field MUST be set to 0, and MUST be ignored.

FileNameLength (4 bytes): A 32-bit unsigned integer that MUST specify the length, in characters, of the FileName for the given link.

FileName (variable): A sequence of FileNameLength Unicode characters that MUST contain the Unicode string name of the given link.