Lines Matching refs:SOCKS5ClientSocket
20 const unsigned int SOCKS5ClientSocket::kGreetReadHeaderSize = 2;
21 const unsigned int SOCKS5ClientSocket::kWriteHeaderSize = 10;
22 const unsigned int SOCKS5ClientSocket::kReadHeaderSize = 5;
23 const uint8 SOCKS5ClientSocket::kSOCKS5Version = 0x05;
24 const uint8 SOCKS5ClientSocket::kTunnelCommand = 0x01;
25 const uint8 SOCKS5ClientSocket::kNullByte = 0x00;
30 SOCKS5ClientSocket::SOCKS5ClientSocket(
34 io_callback_(this, &SOCKS5ClientSocket::OnIOComplete)),
46 SOCKS5ClientSocket::SOCKS5ClientSocket(
50 io_callback_(this, &SOCKS5ClientSocket::OnIOComplete)),
63 SOCKS5ClientSocket::~SOCKS5ClientSocket() {
70 int SOCKS5ClientSocket::Connect(CompletionCallback* callback
100 void SOCKS5ClientSocket::Disconnect() {
110 bool SOCKS5ClientSocket::IsConnected() const {
114 bool SOCKS5ClientSocket::IsConnectedAndIdle() const {
118 const BoundNetLog& SOCKS5ClientSocket::NetLog() const {
122 void SOCKS5ClientSocket::SetSubresourceSpeculation() {
130 void SOCKS5ClientSocket::SetOmniboxSpeculation() {
138 bool SOCKS5ClientSocket::WasEverUsed() const {
146 bool SOCKS5ClientSocket::UsingTCPFastOpen() const {
156 int SOCKS5ClientSocket::Read(IOBuffer* buf, int buf_len,
167 int SOCKS5ClientSocket::Write(IOBuffer* buf, int buf_len,
176 bool SOCKS5ClientSocket::SetReceiveBufferSize(int32 size) {
180 bool SOCKS5ClientSocket::SetSendBufferSize(int32 size) {
184 void SOCKS5ClientSocket::DoCallback(int result) {
195 void SOCKS5ClientSocket::OnIOComplete(int result) {
204 int SOCKS5ClientSocket::DoLoop(int last_io_result) {
261 int SOCKS5ClientSocket::DoGreetWrite() {
284 int SOCKS5ClientSocket::DoGreetWriteComplete(int result) {
299 int SOCKS5ClientSocket::DoGreetRead() {
307 int SOCKS5ClientSocket::DoGreetReadComplete(int result) {
343 int SOCKS5ClientSocket::BuildHandshakeWriteBuffer(std::string* handshake)
366 int SOCKS5ClientSocket::DoHandshakeWrite() {
385 int SOCKS5ClientSocket::DoHandshakeWriteComplete(int result) {
405 int SOCKS5ClientSocket::DoHandshakeRead() {
419 int SOCKS5ClientSocket::DoHandshakeReadComplete(int result) {
491 int SOCKS5ClientSocket::GetPeerAddress(AddressList* address) const {
495 int SOCKS5ClientSocket::GetLocalAddress(IPEndPoint* address) const {