Partager via


2.2.14.1.3 Bandwidth Measure Payload (RDP_BW_PAYLOAD)

The RDP_BW_PAYLOAD structure is used to transfer data associated with a bandwidth measurement operation that occurs during the Optional Connect-Time Auto-Detection phase of the RDP Connection Sequence (see section 1.3.1.1 for an overview of the RDP Connection Sequence phases).


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

headerLength

headerTypeId

sequenceNumber

requestType

payloadLength

payload (variable)

...

headerLength (1 byte): An 8-bit unsigned integer that specifies the size, in bytes, of the header data. This field MUST be set to 0x08.

headerTypeId (1 byte): An 8-bit unsigned integer that specifies the high-level type. This field MUST be set to TYPE_ID_AUTODETECT_REQUEST (0x00).

sequenceNumber (2 bytes): A 16-bit unsigned integer that specifies the message sequence number.

requestType (2 bytes): A 16-bit unsigned integer that specifies a request type code. This field MUST be set to 0x0002.

payloadLength (2 bytes): A 16-bit unsigned integer that specifies the size, in bytes, of the payload field.

payload (variable): A variable-length array of bytes that contains random data. The number of bytes in this array is specified by the payloadLength field.