diff options
Diffstat (limited to 'common/xrdp_constants.h')
-rw-r--r-- | common/xrdp_constants.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h index f24da001..ed74fd01 100644 --- a/common/xrdp_constants.h +++ b/common/xrdp_constants.h @@ -33,25 +33,26 @@ /* RDP Security Negotiation codes */ -#define RDP_NEG_REQ 0x01 -#define RDP_NEG_RSP 0x02 -#define RDP_NEG_FAILURE 0x03 +#define RDP_NEG_REQ 0x01 +#define RDP_NEG_RSP 0x02 +#define RDP_NEG_FAILURE 0x03 +#define RDP_CORRELATION_INFO 0x06 /* Protocol types codes */ -#define PROTOCOL_RDP 0x0 -#define PROTOCOL_SSL 0x1 -#define PROTOCOL_HYBRID 0x2 -#define PROTOCOL_HYBRID_EX 0x8 +#define PROTOCOL_RDP 0x0 +#define PROTOCOL_SSL 0x1 +#define PROTOCOL_HYBRID 0x2 +#define PROTOCOL_HYBRID_EX 0x8 /* Negotiation packet flags */ #define EXTENDED_CLIENT_DATA_SUPPORTED 0x1 #define DYNVC_GFX_PROTOCOL_SUPPORTED 0x2 -#define RDP_NEGRSP_RESERVED 0x4 +#define RDP_NEGRSP_RESERVED 0x4 /* Failure Codes */ -#define SSL_REQUIRED_BY_SERVER 0x1 -#define SSL_NOT_ALLOWED_BY_SERVER 0x2 -#define SSL_CERT_NOT_ON_SERVER 0x3 -#define INCONSISTENT_FLAGS 0x4 -#define HYBRID_REQUIRED_BY_SERVER 0x5 -#define SSL_WITH_USER_AUTH_REQUIRED_BY_SERVER 0x6 +#define SSL_REQUIRED_BY_SERVER 0x1 +#define SSL_NOT_ALLOWED_BY_SERVER 0x2 +#define SSL_CERT_NOT_ON_SERVER 0x3 +#define INCONSISTENT_FLAGS 0x4 +#define HYBRID_REQUIRED_BY_SERVER 0x5 +#define SSL_WITH_USER_AUTH_REQUIRED_BY_SERVER 0x6 /* MCS PDU codes */ @@ -95,7 +96,7 @@ #define SEC_TAG_CLI_CRYPT 0xc002 #define SEC_TAG_CLI_CHANNELS 0xc003 #define SEC_TAG_CLI_4 0xc004 -#define SEC_TAG_CLI_MONITOR 0xc005 +#define SEC_TAG_CLI_MONITOR 0xc005 #define SEC_TAG_PUBKEY 0x0006 #define SEC_TAG_KEYSIG 0x0008 |