|
Android-cuttlefish cvd tool
|
#include <fcntl.h>#include <poll.h>#include <unistd.h>#include <mutex>#include <thread>#include "absl/log/log.h"#include "gflags/gflags.h"#include "cuttlefish/common/libs/fs/shared_buf.h"#include "cuttlefish/common/libs/fs/shared_fd.h"#include "cuttlefish/host/libs/config/logging.h"
Namespaces | |
| namespace | cuttlefish |
| namespace | cuttlefish::anonymous_namespace{main.cpp} |
Functions | |
| DEFINE_int32 (fifo_in, -1, "A pipe for incoming communication") | |
| DEFINE_int32 (fifo_out, -1, "A pipe for outgoing communication") | |
| DEFINE_int32 (data_port, -1, "TCP port to connect to") | |
| DEFINE_string (data_path, "", "Unix server socket path to connect to") | |
| DEFINE_int32 (buffer_size, -1, "The buffer size") | |
| DEFINE_int32 (dump_packet_size, -1, "Dump incoming/outgoing packets up to given size") | |
| SharedFD | cuttlefish::anonymous_namespace{main.cpp}::OpenSocket (int port) |
| SharedFD | cuttlefish::anonymous_namespace{main.cpp}::OpenSocket (const std::string &path) |
| void | cuttlefish::anonymous_namespace{main.cpp}::DumpPackets (const char *prefix, char *buf, int size) |
| int | cuttlefish::anonymous_namespace{main.cpp}::TcpConnectorMain (int argc, char **argv) |
| int | main (int argc, char **argv) |
| DEFINE_int32 | ( | buffer_size | , |
| - | 1, | ||
| "The buffer size" | |||
| ) |
| DEFINE_int32 | ( | data_port | , |
| - | 1, | ||
| "TCP port to connect to" | |||
| ) |
| DEFINE_int32 | ( | dump_packet_size | , |
| - | 1, | ||
| "Dump incoming/outgoing packets up to given size" | |||
| ) |
| DEFINE_int32 | ( | fifo_in | , |
| - | 1, | ||
| "A pipe for incoming communication" | |||
| ) |
| DEFINE_int32 | ( | fifo_out | , |
| - | 1, | ||
| "A pipe for outgoing communication" | |||
| ) |
| DEFINE_string | ( | data_path | , |
| "" | , | ||
| "Unix server socket path to connect to" | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |