summaryrefslogtreecommitdiffstats
path: root/common/xrdp_constants.h
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2018-12-12 17:19:18 +0900
committerKoichiro IWAO <meta@vmeta.jp>2018-12-12 17:40:58 +0900
commit0e9e25f100a70440dc54c18d4643ee74ba36840b (patch)
tree5e5defb8fd1ba0568c8f259a952320e3d685e183 /common/xrdp_constants.h
parentb2a7bb0cf06e02ee83d83a78e0dd32050fd5cb36 (diff)
downloadxrdp-proprietary-0e9e25f100a70440dc54c18d4643ee74ba36840b.tar.gz
xrdp-proprietary-0e9e25f100a70440dc54c18d4643ee74ba36840b.zip
use MS name for PDU types
RDP_PDU_REDIRECT has been removed as it is not found in MS-RDPBCGR and not used anywhere.
Diffstat (limited to 'common/xrdp_constants.h')
-rw-r--r--common/xrdp_constants.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index 4d44dabe..1302b1af 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -671,12 +671,12 @@
#define LICENCE_SIGNATURE_SIZE 16
-/* RDP PDU codes */
-#define RDP_PDU_DEMAND_ACTIVE 1
-#define RDP_PDU_CONFIRM_ACTIVE 3
-#define RDP_PDU_REDIRECT 4
-#define RDP_PDU_DEACTIVATE 6
-#define RDP_PDU_DATA 7
+/* PDU Types (MS-RDPBCGR 2.2.8.1.1.1.1) */
+#define PDUTYPE_DEMANDACTIVEPDU 0x1
+#define PDUTYPE_CONFIRMACTIVEPDU 0x3
+#define PDUTYPE_DEACTIVATEALLPDU 0x6
+#define PDUTYPE_DATAPDU 0x7
+#define PDUTYPE_SERVER_REDIR_PKT 0xA
/* See T.128 */
/* not used anywhere */