Partager via


2.2.22 SMB2 WRITE Response

The SMB2 WRITE Response packet is sent in response to an SMB2 WRITE Request (section 2.2.21) packet. This response is composed of an SMB2 header, as specified in section 2.2.1, followed by this response structure:


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

StructureSize

Reserved

Count

Remaining

WriteChannelInfoOffset

WriteChannelInfoLength

StructureSize (2 bytes): The server MUST set this field to 17, the actual size of the response structure notwithstanding.

Reserved (2 bytes): This field MUST NOT be used and MUST be reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.

Count (4 bytes): The number of bytes written.

Remaining (4 bytes): This field MUST NOT be used and MUST be reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.

WriteChannelInfoOffset (2 bytes): This field MUST NOT be used and MUST be reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.

WriteChannelInfoLength (2 bytes): This field MUST NOT be used and MUST be reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.