Electroneum
Classes | Namespaces | Functions | Variables
socks.cpp File Reference
#include "socks.h"
#include <algorithm>
#include <boost/asio/buffer.hpp>
#include <boost/asio/read.hpp>
#include <boost/asio/write.hpp>
#include <boost/endian/arithmetic.hpp>
#include <boost/endian/conversion.hpp>
#include <cstring>
#include <limits>
#include <string>
#include "net/net_utils_base.h"
#include "net/tor_address.h"
#include "net/i2p_address.h"
Include dependency graph for socks.cpp:

Classes

struct  net::socks::anonymous_namespace{socks.cpp}::v4_header
 
struct  net::socks::anonymous_namespace{socks.cpp}::socks_category
 
struct  net::socks::client::completed
 
struct  net::socks::client::read
 
struct  net::socks::client::write
 

Namespaces

 net
 
 net::socks
 
 net::socks::anonymous_namespace{socks.cpp}
 

Functions

std::size_t net::socks::anonymous_namespace{socks.cpp}::write_domain_header (epee::span< std::uint8_t > out, const std::uint8_t command, const std::uint16_t port, const boost::string_ref domain)
 
const boost::system::error_category & net::socks::error_category () noexcept
 

Variables

constexpr const unsigned net::socks::anonymous_namespace{socks.cpp}::v4_reply_size = 8
 
constexpr const std::uint8_t net::socks::anonymous_namespace{socks.cpp}::v4_connect_command = 1
 
constexpr const std::uint8_t net::socks::anonymous_namespace{socks.cpp}::v4tor_resolve_command = 0xf0
 
constexpr const std::uint8_t net::socks::anonymous_namespace{socks.cpp}::v4_request_granted = 90