2.2.10.20 HTTP_TUNNEL_RESPONSE Structure

The RDG server uses this structure to send a tunnel (2) creation response to the RDG client.


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

hdr

...

serverVersion

statusCode

...

fieldsPresent

reserved

hdr  (8 bytes): An HTTP_PACKET_HEADER (section 2.2.10.9) structure. Its packetType field is set to PKT_TYPE_TUNNEL_RESPONSE.

serverVersion (2 bytes): An unsigned integer representing the version of the RDGHTTP Protocol.

statusCode (4 bytes): An unsigned integer representing errors that are detected by the RDG server in the process of creating a tunnel (2).

fieldsPresent (2 bytes): An unsigned short representing the flags that specify the optional fields that are present in the HTTP_TUNNEL_RESPONSE_OPTIONAL Structure (section 2.2.10.21) defined in an HTTP_TUNNEL_RESPONSE_FIELDS_PRESENT_FLAGS Enumeration (section 2.2.5.3.8).

reserved (2 bytes): Reserved for future use.