2.2.5.1 Open Command Fields
Open command fields are defined as shown in the following table.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CommandId |
CommandLength |
SessionId |
|||||||||||||||||||||||||||||
... |
A |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
IdentityURL (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
DeviceURL (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
B |
C |
D |
E |
F |
G |
H |
I |
Reserved |
CommandId (1 byte): The command identifier. This field MUST be set to 0x05.
CommandLength (2 bytes): The total length of the command, in bytes.
SessionId (4 bytes): The identifier for the SSTP session, as specified in section 3.1.1.3.
A - ResourceURL (variable): A variable length ASCII string terminated by 0x00 containing the URL of the resource handler for all messages on this SSTP session. This field MUST NOT be an empty string.<3>
IdentityURL (variable): A variable length ASCII string terminated by 0x00 containing the identity URL of the destination for all messages on this SSTP session. For any session other than a WAN DPP session, this field MUST NOT be an empty string.<4>
DeviceURL (variable): A variable length ASCII string terminated by 0x00 containing the device URL of the destination for all messages on this SSTP session. For identity-targeted sessions, this field MUST be an empty string.
B - r1 (1 bit): This field is reserved and MUST be set to zero.
C - r2 (1 bit): This field is reserved and MUST be set to zero.
D - r3 (1 bit): This field is reserved and MUST be set to zero.
E - r4 (1 bit): This field is reserved and MUST be set to zero.
F - r5 (1 bit): This field is reserved and MUST be set to zero.
G - r6 (1 bit): This field is reserved and MUST be set to zero.
H - r7 (1 bit): This field is reserved and MUST be set to zero.
I - I (1 bit): The field is unused, and SHOULD be zero<5>. A receiver MUST ignore this bit.
Reserved (2 bytes): The field is reserved and MUST be 0x0000.