summaryrefslogtreecommitdiffstats
path: root/common/xrdp_constants.h
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-06-05 16:31:09 +0900
committermetalefty <meta@vmeta.jp>2017-06-06 10:04:48 +0900
commit0e7844ab02f3a513acf3fcbf557b388f3601486f (patch)
tree2a7bae49d555fbe4e39d0fc86b3896dbb37804d4 /common/xrdp_constants.h
parente879cf5fcee24e415b97ef56f6c099c9fb781a9b (diff)
downloadxrdp-proprietary-0e7844ab02f3a513acf3fcbf557b388f3601486f.tar.gz
xrdp-proprietary-0e7844ab02f3a513acf3fcbf557b388f3601486f.zip
Constify MCS connectionType
Diffstat (limited to 'common/xrdp_constants.h')
-rw-r--r--common/xrdp_constants.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index 961020ef..4539c244 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -77,6 +77,15 @@
#define MCS_GLOBAL_CHANNEL 1003
#define MCS_USERCHANNEL_BASE 1001
+/* MCS Connection Type (MS-RDPBCGR 2.2.1.3.2) */
+#define CONNECTION_TYPE_MODEM 0x01
+#define CONNECTION_TYPE_BROADBAND_LOW 0x02
+#define CONNECTION_TYPE_SATELLITE 0x03
+#define CONNECTION_TYPE_BROADBAND_HIGH 0x04
+#define CONNECTION_TYPE_WAN 0x05
+#define CONNECTION_TYPE_LAN 0x06
+#define CONNECTION_TYPE_AUTODETECT 0x07
+
/* RDP secure transport constants */
#define SEC_RANDOM_SIZE 32
#define SEC_MODULUS_SIZE 64