Public Member Functions | Data Fields

SocksAddrType Struct Reference

#include <I_Socks.h>

Public Member Functions

void reset ()
 SocksAddrType ()
 ~SocksAddrType ()

Data Fields

unsigned char type
union {
   unsigned char   ipv4 [4]
   unsigned char *   buf
addr

Detailed Description

Definition at line 62 of file I_Socks.h.


Constructor & Destructor Documentation

SocksAddrType::SocksAddrType (  )  [inline]

Definition at line 73 of file I_Socks.h.

References addr.

SocksAddrType::~SocksAddrType (  )  [inline]

Definition at line 77 of file I_Socks.h.

References reset().


Member Function Documentation

TS_INLINE void SocksAddrType::reset (  ) 

Definition at line 156 of file P_Socks.h.

References addr, ats_free(), SOCKS_ATYPE_IPV4, and type.

Referenced by SocksProxy::mainEvent(), and ~SocksAddrType().


Field Documentation

union { ... } SocksAddrType::addr
unsigned char* SocksAddrType::buf

Definition at line 69 of file I_Socks.h.

Referenced by SocksProxy::setupHttpRequest().

unsigned char SocksAddrType::ipv4[4]

Definition at line 68 of file I_Socks.h.

Referenced by SocksProxy::setupHttpRequest().

unsigned char SocksAddrType::type

Definition at line 64 of file I_Socks.h.

Referenced by SocksProxy::mainEvent(), reset(), and SocksProxy::setupHttpRequest().


The documentation for this struct was generated from the following files: