diff options
| author | Vic Lee <llyzs@163.com> | 2009-10-07 11:01:55 +0800 | 
|---|---|---|
| committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-11-02 16:10:59 +0100 | 
| commit | 29990f0090754c722653aafd3fc6800cebc1584c (patch) | |
| tree | 891066286999828e6170cddde6bc8bdaaae98496 /rfb | |
| parent | 95ae56c83110c35bce9752d18975b6edcd8088b9 (diff) | |
| download | libtdevnc-29990f00.tar.gz libtdevnc-29990f00.zip  | |
Add MSLogon security type
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'rfb')
| -rw-r--r-- | rfb/rfbclient.h | 10 | ||||
| -rw-r--r-- | rfb/rfbproto.h | 1 | 
2 files changed, 11 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index c32168c..6d38c8f 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -46,6 +46,16 @@  			     (((l) & 0x0000ff00) << 8)  | \  			     (((l) & 0x000000ff) << 24))  : (l)) +#define rfbClientSwap64IfLE(l) \ +    (*(char *)&client->endianTest ? ((((l) & 0xff00000000000000ULL) >> 56) | \ +			     (((l) & 0x00ff000000000000ULL) >> 40)  | \ +			     (((l) & 0x0000ff0000000000ULL) >> 24)  | \ +			     (((l) & 0x000000ff00000000ULL) >> 8)  | \ +			     (((l) & 0x00000000ff000000ULL) << 8)  | \ +			     (((l) & 0x0000000000ff0000ULL) << 24)  | \ +			     (((l) & 0x000000000000ff00ULL) << 40)  | \ +			     (((l) & 0x00000000000000ffULL) << 56))  : (l)) +  #define FLASH_PORT_OFFSET 5400  #define LISTEN_PORT_OFFSET 5500  #define TUNNEL_PORT_OFFSET 5500 diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index 06ab579..b6f201c 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -265,6 +265,7 @@ typedef char rfbProtocolVersionMsg[13];	/* allow extra byte for null */  #define rfbUltra 17  #define rfbTLS 18  #define rfbVeNCrypt 19 +#define rfbMSLogon 0xfffffffa  #define rfbVeNCryptPlain 256  #define rfbVeNCryptTLSNone 257  | 
