FreeRDP
include/freerdp/autodetect.h File Reference
#include <freerdp/api.h>
#include <freerdp/types.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  rdpNetworkCharacteristicsResult
 
struct  rdpAutoDetect
 

Typedefs

typedef BOOL(* pRTTMeasureRequest) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber)
 
typedef BOOL(* pRTTMeasureResponse) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber)
 
typedef BOOL(* pBandwidthMeasureStart) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber)
 
typedef BOOL(* pBandwidthMeasurePayload) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, UINT16 payloadLength)
 
typedef BOOL(* pBandwidthMeasureStop) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, UINT16 payloadLength)
 
typedef BOOL(* pBandwidthMeasureResults) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, UINT16 responseType, UINT32 timeDelta, UINT32 byteCount)
 
typedef BOOL(* pNetworkCharacteristicsResult) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, const rdpNetworkCharacteristicsResult *result)
 
typedef BOOL(* pClientBandwidthMeasureResult) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 responseType, UINT16 sequenceNumber, UINT32 timeDelta, UINT32 byteCount)
 
typedef BOOL(* pNetworkCharacteristicsSync) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, UINT32 bandwidth, UINT32 rtt)
 
typedef BOOL(* pRxTxReceived) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 requestType, UINT16 sequenceNumber)
 
typedef FREERDP_AUTODETECT_STATE(* pOnConnectTimeAutoDetect) (rdpAutoDetect *autodetect)
 

Enumerations

enum  FREERDP_AUTODETECT_STATE {
  FREERDP_AUTODETECT_STATE_INITIAL , FREERDP_AUTODETECT_STATE_REQUEST , FREERDP_AUTODETECT_STATE_RESPONSE , FREERDP_AUTODETECT_STATE_COMPLETE ,
  FREERDP_AUTODETECT_STATE_FAIL
}
 
enum  RDP_NETCHAR_RESULT_TYPE { RDP_NETCHAR_RESERVED = 0x0000U , RDP_NETCHAR_RESULT_TYPE_BASE_RTT_AVG_RTT = 0x0840U , RDP_NETCHAR_RESULT_TYPE_BW_AVG_RTT = 0x0880U , RDP_NETCHAR_RESULT_TYPE_BASE_RTT_BW_AVG_RTT = 0x08C0U }
 
enum  RDP_BW_RESULTS_RESPONSE_TYPE { RDP_BW_RESULTS_RESPONSE_TYPE_CONNECTTIME = 0x0003 , RDP_BW_RESULTS_RESPONSE_TYPE_CONTINUOUS = 0x000B }
 

Functions

FREERDP_API rdpAutoDetect * autodetect_get (rdpContext *context)
 

Typedef Documentation

◆ pBandwidthMeasurePayload

typedef BOOL(* pBandwidthMeasurePayload) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, UINT16 payloadLength)

◆ pBandwidthMeasureResults

typedef BOOL(* pBandwidthMeasureResults) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, UINT16 responseType, UINT32 timeDelta, UINT32 byteCount)

◆ pBandwidthMeasureStart

typedef BOOL(* pBandwidthMeasureStart) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber)

◆ pBandwidthMeasureStop

typedef BOOL(* pBandwidthMeasureStop) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, UINT16 payloadLength)

◆ pClientBandwidthMeasureResult

typedef BOOL(* pClientBandwidthMeasureResult) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 responseType, UINT16 sequenceNumber, UINT32 timeDelta, UINT32 byteCount)

◆ pNetworkCharacteristicsResult

typedef BOOL(* pNetworkCharacteristicsResult) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, const rdpNetworkCharacteristicsResult *result)

◆ pNetworkCharacteristicsSync

typedef BOOL(* pNetworkCharacteristicsSync) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber, UINT32 bandwidth, UINT32 rtt)

◆ pOnConnectTimeAutoDetect

typedef FREERDP_AUTODETECT_STATE(* pOnConnectTimeAutoDetect) (rdpAutoDetect *autodetect)

◆ pRTTMeasureRequest

typedef BOOL(* pRTTMeasureRequest) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber)

◆ pRTTMeasureResponse

typedef BOOL(* pRTTMeasureResponse) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 sequenceNumber)

◆ pRxTxReceived

typedef BOOL(* pRxTxReceived) (rdpAutoDetect *autodetect, RDP_TRANSPORT_TYPE transport, UINT16 requestType, UINT16 sequenceNumber)

Enumeration Type Documentation

◆ FREERDP_AUTODETECT_STATE

FreeRDP: A Remote Desktop Protocol Implementation Auto-Detect PDUs

Copyright 2014 Dell Software Mike..nosp@m.McDo.nosp@m.nald@.nosp@m.soft.nosp@m.ware..nosp@m.dell.nosp@m..com Copyright 2014 Vic Lee

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Enumerator
FREERDP_AUTODETECT_STATE_INITIAL 
FREERDP_AUTODETECT_STATE_REQUEST 
FREERDP_AUTODETECT_STATE_RESPONSE 
FREERDP_AUTODETECT_STATE_COMPLETE 
FREERDP_AUTODETECT_STATE_FAIL 

◆ RDP_BW_RESULTS_RESPONSE_TYPE

Enumerator
RDP_BW_RESULTS_RESPONSE_TYPE_CONNECTTIME 
RDP_BW_RESULTS_RESPONSE_TYPE_CONTINUOUS 

◆ RDP_NETCHAR_RESULT_TYPE

Enumerator
RDP_NETCHAR_RESERVED 
RDP_NETCHAR_RESULT_TYPE_BASE_RTT_AVG_RTT 
RDP_NETCHAR_RESULT_TYPE_BW_AVG_RTT 
RDP_NETCHAR_RESULT_TYPE_BASE_RTT_BW_AVG_RTT 

Function Documentation

◆ autodetect_get()

FREERDP_API rdpAutoDetect* autodetect_get ( rdpContext *  context)