2.2.25.1 Oplock Break Response

The Oplock Break Response packet is sent by the server in response to an Oplock Break Acknowledgment from the client. 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

OplockLevel

Reserved

Reserved2

FileId

...

...

...

StructureSize (2 bytes): The server MUST set this to 24, indicating the size of the response structure, not including the header.

OplockLevel (1 byte):  The server will set this field to the granted OplockLevel value. This field MUST contain one of the following values.

Value

Meaning

SMB2_OPLOCK_LEVEL_NONE

0x00

The server has lowered oplock level for this file to none.

SMB2_OPLOCK_LEVEL_II

0x01

The server has lowered oplock level for this file to level II.

SMB2_OPLOCK_LEVEL_EXCLUSIVE

0x08

The server has lowered oplock level for this file to level Exclusive.

Reserved (1 byte): 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.

Reserved2 (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.

FileId (16 bytes): An SMB2_FILEID, as specified in section 2.2.14.1.

The identifier of the file or pipe on which the oplock break occurred.