FreeRDP
|
#include <winpr/assert.h>
#include <freerdp/channels/drdynvc.h>
#include <freerdp/server/proxy/proxy_log.h>
#include "pf_channel_drdynvc.h"
#include "../pf_channel.h"
#include "../proxy_modules.h"
#include "../pf_utils.h"
Macros | |
#define | TAG PROXY_TAG("drdynvc") |
Enumerations | |
enum | PfDynChannelOpenStatus { CHANNEL_OPENSTATE_WAITING_OPEN_STATUS, CHANNEL_OPENSTATE_OPENED, CHANNEL_OPENSTATE_CLOSED } |
channel opened status More... | |
enum | DynvcReadResult { DYNCVC_READ_OK, DYNCVC_READ_ERROR, DYNCVC_READ_INCOMPLETE } |
result of dynamic channel packet treatment More... | |
Functions | |
static pServerDynamicChannelContext * | DynamicChannelContext_new (pServerContext *ps, const char *name, UINT32 id) |
static void | DynamicChannelContext_free (pServerDynamicChannelContext *c) |
static UINT32 | ChannelId_Hash (const void *key) |
static BOOL | ChannelId_Compare (const UINT32 *v1, const UINT32 *v2) |
static DynvcReadResult | dynvc_read_varInt (wStream *s, size_t len, UINT64 *varInt, BOOL last) |
static PfChannelResult | DynvcTrackerPeekFn (ChannelStateTracker *tracker, BOOL firstPacket, BOOL lastPacket) |
static void | DynChannelContext_free (void *context) |
static DynChannelContext * | DynChannelContext_new (proxyData *pdata, pServerStaticChannelContext *channel) |
static PfChannelResult | pf_dynvc_back_data (proxyData *pdata, const pServerStaticChannelContext *channel, const BYTE *xdata, size_t xsize, UINT32 flags, size_t totalSize) |
static PfChannelResult | pf_dynvc_front_data (proxyData *pdata, const pServerStaticChannelContext *channel, const BYTE *xdata, size_t xsize, UINT32 flags, size_t totalSize) |
BOOL | pf_channel_setup_drdynvc (proxyData *pdata, pServerStaticChannelContext *channel) |
#define TAG PROXY_TAG("drdynvc") |
FreeRDP: A Remote Desktop Protocol Implementation pf_channel_drdynvc
Copyright 2022 David Fort conta ct@h arden ing- consu ltin g.com
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.
enum DynvcReadResult |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
BOOL pf_channel_setup_drdynvc | ( | proxyData * | pdata, |
pServerStaticChannelContext * | channel | ||
) |
FreeRDP: A Remote Desktop Protocol Implementation pf_channel_drdynvc
Copyright 2022 David Fort conta ct@h arden ing- consu ltin g.com
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.
|
static |
|
static |