|
FreeRDP
|
Callbacks from FreeRDP_UdpPeerCallbacks and internal hooks. Executed on the thread running the freerdp_peer check; OfferTunnel is called during connection setup. More...
#include <udplistener.h>
Data Fields | |
| psPeerUdpLinkChanged | LinkChanged |
| psPeerUdpWriteUnblocked | WriteUnblocked |
| WINPR_ATTR_NODISCARD BOOL(* | OfferTunnel )(void *custom, rdpUdpFlow *flow, const BYTE cookieHash[32]) |
| BOOL | ManualWorker |
Callbacks from FreeRDP_UdpPeerCallbacks and internal hooks. Executed on the thread running the freerdp_peer check; OfferTunnel is called during connection setup.
Definition at line 81 of file udplistener.h.
| psPeerUdpLinkChanged rdpUdpPeerHooks::LinkChanged |
Definition at line 83 of file udplistener.h.
| BOOL rdpUdpPeerHooks::ManualWorker |
If TRUE, no worker thread is created. The caller must manually drive the tunnel using freerdp_udp_flow_get_event(), freerdp_udp_flow_get_timeout(), and freerdp_udp_flow_check() to handle ACKs and retransmissions. If driven on a non-peer thread, stop before LinkChanged returns FREERDP_UDP_LINK_NONE.
Definition at line 99 of file udplistener.h.
| WINPR_ATTR_NODISCARD BOOL(* rdpUdpPeerHooks::OfferTunnel) (void *custom, rdpUdpFlow *flow, const BYTE cookieHash[32]) |
Called before offering the tunnel. Route datagrams from the client (identified by cookieHash in SYN) to flow. This hook must not return until routing is established. If not provided, the process-wide listener handles routing (single-process only). flow is owned by the peer and remains valid until LinkChanged reports FREERDP_UDP_LINK_NONE. Call peer's Disconnect before freeing the peer context on the peer's check thread.
Definition at line 93 of file udplistener.h.
| psPeerUdpWriteUnblocked rdpUdpPeerHooks::WriteUnblocked |
Definition at line 84 of file udplistener.h.