Android-cuttlefish cvd tool
Functions
cuttlefish::socket_proxy::anonymous_namespace{socket_vsock_proxy.cpp} Namespace Reference

Functions

static bool use_vhost_vsock ()
 
static std::unique_ptr< ServerBuildServer ()
 
static std::unique_ptr< ClientBuildClient ()
 
static Result< std::unique_ptr< ProxyServer > > StartProxyAsync (Server &server, Client &client)
 
static Result< void > ListenEventsAndProxy (int events_fd, const monitor::Event start, const monitor::Event stop, Server &server, Client &client)
 
Result< void > Main ()
 

Function Documentation

◆ BuildClient()

static std::unique_ptr< Client > cuttlefish::socket_proxy::anonymous_namespace{socket_vsock_proxy.cpp}::BuildClient ( )
static

◆ BuildServer()

static std::unique_ptr< Server > cuttlefish::socket_proxy::anonymous_namespace{socket_vsock_proxy.cpp}::BuildServer ( )
static

◆ ListenEventsAndProxy()

static Result< void > cuttlefish::socket_proxy::anonymous_namespace{socket_vsock_proxy.cpp}::ListenEventsAndProxy ( int  events_fd,
const monitor::Event  start,
const monitor::Event  stop,
Server server,
Client client 
)
static

◆ Main()

Result< void > cuttlefish::socket_proxy::anonymous_namespace{socket_vsock_proxy.cpp}::Main ( )

◆ StartProxyAsync()

static Result< std::unique_ptr< ProxyServer > > cuttlefish::socket_proxy::anonymous_namespace{socket_vsock_proxy.cpp}::StartProxyAsync ( Server server,
Client client 
)
static

◆ use_vhost_vsock()

static bool cuttlefish::socket_proxy::anonymous_namespace{socket_vsock_proxy.cpp}::use_vhost_vsock ( )
static