Android-cuttlefish cvd tool
|
#include "udp.h"
#include <errno.h>
#include <stdio.h>
#include <list>
#include <memory>
#include <vector>
#include <android-base/macros.h>
#include <android-base/stringprintf.h>
#include "socket.h"
Classes | |
class | udp::Header |
class | udp::UdpTransport |
Namespaces | |
namespace | udp |
namespace | udp::internal |
Enumerations | |
enum | udp::Index { udp::kIndexId = 0 , udp::kIndexFlags = 1 , udp::kIndexSeqH = 2 , udp::kIndexSeqL = 3 } |
Functions | |
static uint16_t | udp::ExtractUint16 (const uint8_t *bytes) |
std::unique_ptr< Transport > | udp::Connect (const std::string &hostname, int port, std::string *error) |
std::unique_ptr< Transport > | udp::internal::Connect (std::unique_ptr< Socket > sock, std::string *error) |
Variables | |
constexpr size_t | udp::kMinPacketSize = 512 |
constexpr size_t | udp::kHeaderSize = 4 |