2.2.1.1.1 Tunnel PDU Subheader (RDP_TUNNEL_SUBHEADER)

The RDP_TUNNEL_SUBHEADER structure defines a variable-length generic subheader that is embedded within the RDP_TUNNEL_HEADER structure (section 2.2.1.1).


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

SubHeaderLength

SubHeaderType

SubHeaderData (variable)

...

SubHeaderLength (1 byte):  An 8-bit unsigned integer that specifies the length, in bytes, of the header fields. This length MUST be a minimum of 0x2 bytes since the SubHeaderLength and SubHeaderType fields are an implicit part of the header. The remaining header fields (specific to the subheader type) are embedded in the SubHeaderData field.

SubHeaderType (1 byte):  An 8-bit unsigned integer that specifies the high-level type of the subheader.

Value

Meaning

TYPE_ID_AUTODETECT_REQUEST

0x00

The subheader conforms to one of the following auto-detect request structures:

The specific auto-detect request structure type MUST be determined by examining the common requestType field.

TYPE_ID_AUTODETECT_RESPONSE

0x01

The subheader conforms to the Bandwidth Measure Results ([MS-RDPBCGR] section 2.2.14.2.2) auto-detect response structure.

SubHeaderData (variable):  A variable-length field that contains data specific to the high-level subheader type.