FreeRDP
channels/drdynvc.h
1 
21 #ifndef FREERDP_CHANNEL_DRDYNVC_H
22 #define FREERDP_CHANNEL_DRDYNVC_H
23 
24 #include <freerdp/api.h>
25 #include <freerdp/dvc.h>
26 #include <freerdp/types.h>
27 
32 #define DRDYNVC_CHANNEL_NAME "drdynvc"
33 #define DRDYNVC_SVC_CHANNEL_NAME "drdynvc"
34 
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif
39 
40  /* defined in MS-RDPEDYC 2.2.5.1 Soft-Sync Request PDU (DYNVC_SOFT_SYNC_REQUEST) */
41  enum
42  {
43  SOFT_SYNC_TCP_FLUSHED = 0x01,
44  SOFT_SYNC_CHANNEL_LIST_PRESENT = 0x02
45  };
46 
47  /* define in MS-RDPEDYC 2.2.5.1.1 Soft-Sync Channel List (DYNVC_SOFT_SYNC_CHANNEL_LIST) */
48  enum
49  {
50  TUNNELTYPE_UDPFECR = 0x00000001,
51  TUNNELTYPE_UDPFECL = 0x00000003
52  };
53 
54  /* @brief dynamic channel commands */
55  typedef enum
56  {
57  CREATE_REQUEST_PDU = 0x01,
58  DATA_FIRST_PDU = 0x02,
59  DATA_PDU = 0x03,
60  CLOSE_REQUEST_PDU = 0x04,
61  CAPABILITY_REQUEST_PDU = 0x05,
62  DATA_FIRST_COMPRESSED_PDU = 0x06,
63  DATA_COMPRESSED_PDU = 0x07,
64  SOFT_SYNC_REQUEST_PDU = 0x08,
65  SOFT_SYNC_RESPONSE_PDU = 0x09
66  } DynamicChannelPDU;
67 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif /* FREERDP_CHANNEL_DRDYNVC_H */