4.2.1 Client Shutdown Request PDU

The following is an annotated dump of the Shutdown Request PDU (section 2.2.2.1).

 00000000 03 00 00 2c 02 f0 80 64 00 06 03 eb 70 1e 08 08 ...,...d....p...
 00000010 70 52 ca 3d ba 05 20 60 e6 57 43 2c f1 41 f0 3b pR.=.. `.WC,.A.;
 00000020 0c a0 33 ff 04 55 d4 e6 9b 3c 28 f6             ..3..U...<(.
  
 03 00 00 2c -> TPKT Header (length = 44 bytes)
 02 f0 80 -> X.224 Data TPDU
  
 64 00 06 03 eb 70 1e -> PER encoded (ALIGNED variant of BASIC-PER) SendDataRequest
 initiator = 1007 (0x03ef)
 channelId = 1003 (0x03eb)
 dataPriority = high
 segmentation = begin | end
 userData length = 0x1e = 30 bytes
  
 08 00 -> TS_SECURITY_HEADER::flags = 0x0008 = SEC_ENCRYPT
 70 52 -> TS_SECURITY_HEADER::flagsHi - ignored as flags field does 
 not contain SEC_FLAGSHI_VALID (0x8000)
 ca 3d ba 05 20 60 e6 57 -> TS_SECURITY_HEADER1::dataSignature
  
 43 2c f1 41 f0 3b 0c a0 33 ff 04 55 d4 e6 9b 3c 
 28 f6 -> Encrypted TS_SHUTDOWN_REQ_PDU
  
 Decrypted TS_SHUTDOWN_REQ_PDU:
 12 00 17 00 ef 03 ea 03 02 00 00 01 04 00 24 00
 00 00
  
 12 00 -> TS_SHARECONTROLHEADER::totalLength = 0x0012 = 18 bytes
 17 00 -> TS_SHARECONTROLHEADER::pduType = 0x0017 
 0x0017 
 = 0x0010 | 0x0007 
 = TS_PROTOCOL_VERSION | PDUTYPE_DATAPDU
  
 ef 03 -> TS_SHARECONTROLHEADER::pduSource = 0x03ef = 1007
 ea 03 02 00 -> TS_SHAREDATAHEADER::shareID = 0x000203ea
 00 -> TS_SHAREDATAHEADER::pad1
 01 -> TS_SHAREDATAHEADER::streamID = STREAM_LOW (1)
 04 00 -> TS_SHAREDATAHEADER::uncompressedLength = 0x0004 = 4 bytes
 24 -> TS_SHAREDATAHEADER::pduType2 = PDUTYPE2_SHUTDOWN_REQUEST (36)
 00 -> TS_SHAREDATAHEADER::compressedType = 0
 00 00 -> TS_SHAREDATAHEADER::compressedLength = 0