Compartilhar via


2.2.3.1.6 SMB2_RDMA_TRANSFORM_CAPABILITIES

The SMB2_RDMA_TRANSFORM_CAPABILITIES context is specified in an SMB2 NEGOTIATE request by the client to indicate the transforms supported when data is sent over RDMA. The format of the data in the Data field of this SMB2_NEGOTIATE_CONTEXT is as follows:


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

TransformCount

Reserved1

Reserved2

RDMATransformIds (variable)

TransformCount (2 bytes): The number of elements in RDMATransformIds array. This value MUST be greater than 0.

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

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

RDMATransformIds (variable): An array of 16-bit integer IDs specifying the supported RDMA transforms. The following IDs are defined.

Value

Meaning

SMB2_RDMA_TRANSFORM_NONE

0x0000

None.

SMB2_RDMA_TRANSFORM_ENCRYPTION

0x0001

Encryption of data sent over RDMA.

SMB2_RDMA_TRANSFORM_SIGNING

0x0002

Signing of data sent over RDMA.