次の方法で共有


2.2.1.3.5 Client Cluster Data (TS_UD_CS_CLUSTER)

The TS_UD_CS_CLUSTER data block is sent by the client to the server either to advertise that it can support the Server Redirection PDUs (sections 2.2.13.2 and 2.2.13.3) or to request a connection to a given session identifier.


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

header

Flags

RedirectedSessionID

header (4 bytes): A GCC user data block header, as specified in User Data Header (section 2.2.1.3.1). The User Data Header type field MUST be set to CS_CLUSTER (0xC004).

Flags (4 bytes): A 32-bit, unsigned integer. Cluster information flags.

Flag

Meaning

REDIRECTION_SUPPORTED

0x00000001

The client can receive server session redirection packets. If this flag is set, the ServerSessionRedirectionVersionMask MUST contain the server session redirection version that the client supports.

ServerSessionRedirectionVersionMask

0x0000003C

The server session redirection version that the client supports. See the discussion which follows this table for more information.

REDIRECTED_SESSIONID_FIELD_VALID

0x00000002

The RedirectedSessionID field contains an ID that identifies a session on the server to associate with the connection.

REDIRECTED_SMARTCARD

0x00000040

The client logged on with a smart card.

The ServerSessionRedirectionVersionMask is a 4-bit enumerated value containing the server session redirection version supported by the client. The following are possible version values.

Value

Meaning

REDIRECTION_VERSION1

0x00

If REDIRECTION_SUPPORTED is set, server session redirection version 1 is supported by the client.<8>

REDIRECTION_VERSION2

0x01

If REDIRECTION_SUPPORTED is set, server session redirection version 2 is supported by the client.<9>

REDIRECTION_VERSION3

0x02

If REDIRECTION_SUPPORTED is set, server session redirection version 3 is supported by the client.<10>

REDIRECTION_VERSION4

0x03

If REDIRECTION_SUPPORTED is set, server session redirection version 4 is supported by the client.<11>

REDIRECTION_VERSION5

0x04

If REDIRECTION_SUPPORTED is set, server session redirection version 5 is supported by the client.<12>

REDIRECTION_VERSION6

0x05

If REDIRECTION_SUPPORTED is set, server session redirection version 6 is supported by the client.<13>

The version values cannot be combined; only one value MUST be specified if the REDIRECTED_SESSIONID_FIELD_VALID (0x00000002) flag is present in the Flags field.

RedirectedSessionID (4 bytes): A 32-bit, unsigned integer. If the REDIRECTED_SESSIONID_FIELD_VALID flag is set in the Flags field, then the RedirectedSessionID field contains a valid session identifier to which the client requests to connect.