OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:vsock
(Results
1 - 2
of
2
) sorted by null
/device/google/cuttlefish_common/common/frontend/socket_vsock_proxy/
main.cpp
32
DEFINE_uint32(vsock_port, 0, "
vsock
port (client on host, server on guest");
108
LOG(INFO) << "Socket to
vsock
exiting";
124
LOG(INFO) << "
Vsock
to socket exiting";
129
void HandleConnection(cvd::SharedFD
vsock
,
132
std::thread(SocketToVsock, SocketReceiver{socket}, SocketSender{
vsock
});
133
VsockToSocket(SocketSender{socket}, SocketReceiver{
vsock
});
139
LOG(INFO) << "starting server on " << FLAGS_tcp_port << " for
vsock
port "
152
LOG(INFO) << "Connected to
vsock
:" << FLAGS_vsock_guest_cid << ":"
158
LOG(ERROR) << "Unable to connect to
vsock
server: "
196
cvd::SharedFD
vsock
;
local
[
all
...]
/device/google/cuttlefish_common/common/libs/fs/
shared_fd.cpp
399
auto
vsock
= cvd::SharedFD::Socket(AF_VSOCK, type, 0);
local
400
if (!
vsock
->IsOpen()) {
401
return
vsock
;
408
if (
vsock
->Bind(casted_addr, sizeof(addr)) == -1) {
409
LOG(ERROR) << "Bind failed (" <<
vsock
->StrError() << ")";
410
return SharedFD::ErrorFD(
vsock
->GetErrno());
413
if (
vsock
->Listen(4) < 0) {
414
LOG(ERROR) << "Listen failed (" <<
vsock
->StrError() << ")";
415
return SharedFD::ErrorFD(
vsock
->GetErrno());
418
return
vsock
;
422
auto
vsock
= cvd::SharedFD::Socket(AF_VSOCK, type, 0);
local
[
all
...]
Completed in 61 milliseconds