Namespaces | Classes | Typedefs | Functions
ares Namespace Reference

Namespaces

 test
 

Classes

struct  DNSAaaaRR
 
struct  DNSAddressRR
 
struct  DNSARR
 
struct  DNSCnameRR
 
struct  DNSMxRR
 
struct  DNSNaptrRR
 
struct  DNSNsRR
 
struct  DNSOption
 
struct  DNSOptRR
 
struct  DNSPacket
 
struct  DNSPtrRR
 
struct  DNSQuestion
 
struct  DNSRR
 
struct  DNSSingleNameRR
 
struct  DNSSoaRR
 
struct  DNSSrvRR
 
struct  DNSTxtRR
 

Typedefs

typedef unsigned char byte
 

Functions

std::string AddressToString (const void *vaddr, int len)
 
std::string ClassToString (int qclass)
 
std::vector< byteEncodeString (const std::string &name)
 
std::string HexDump (const byte *data, int len)
 
std::string HexDump (const char *data, int len)
 
std::string HexDump (std::vector< byte > data)
 
std::string PacketToString (const std::vector< byte > &packet)
 
void PushInt16 (std::vector< byte > *data, int value)
 
void PushInt32 (std::vector< byte > *data, int value)
 
std::string QuestionToString (const std::vector< byte > &packet, const byte **data, int *len)
 
std::string RcodeToString (int rcode)
 
std::string RRToString (const std::vector< byte > &packet, const byte **data, int *len)
 
std::string RRTypeToString (int rrtype)
 
static void ShowFile (const char *filename)
 
std::string StatusToString (int status)
 

Typedef Documentation

◆ byte

typedef unsigned char ares::byte

Definition at line 33 of file ares-test.h.

Function Documentation

◆ AddressToString()

std::string ares::AddressToString ( const void *  vaddr,
int  len 
)

Definition at line 157 of file dns-proto.cc.

◆ ClassToString()

std::string ares::ClassToString ( int  qclass)

Definition at line 146 of file dns-proto.cc.

◆ EncodeString()

std::vector< byte > ares::EncodeString ( const std::string &  name)

Definition at line 463 of file dns-proto.cc.

◆ HexDump() [1/3]

std::string ares::HexDump ( const byte data,
int  len 
)

Definition at line 25 of file dns-proto.cc.

◆ HexDump() [2/3]

std::string ares::HexDump ( const char *  data,
int  len 
)

Definition at line 29 of file dns-proto.cc.

◆ HexDump() [3/3]

std::string ares::HexDump ( std::vector< byte data)

Definition at line 15 of file dns-proto.cc.

◆ PacketToString()

std::string ares::PacketToString ( const std::vector< byte > &  packet)

Definition at line 181 of file dns-proto.cc.

◆ PushInt16()

void ares::PushInt16 ( std::vector< byte > *  data,
int  value 
)

Definition at line 458 of file dns-proto.cc.

◆ PushInt32()

void ares::PushInt32 ( std::vector< byte > *  data,
int  value 
)

Definition at line 451 of file dns-proto.cc.

◆ QuestionToString()

std::string ares::QuestionToString ( const std::vector< byte > &  packet,
const byte **  data,
int len 
)

Definition at line 228 of file dns-proto.cc.

◆ RcodeToString()

std::string ares::RcodeToString ( int  rcode)

Definition at line 64 of file dns-proto.cc.

◆ RRToString()

std::string ares::RRToString ( const std::vector< byte > &  packet,
const byte **  data,
int len 
)

Definition at line 264 of file dns-proto.cc.

◆ RRTypeToString()

std::string ares::RRTypeToString ( int  rrtype)

Definition at line 84 of file dns-proto.cc.

◆ ShowFile()

static void ares::ShowFile ( const char *  filename)
static

Definition at line 16 of file dns-dump.cc.

◆ StatusToString()

std::string ares::StatusToString ( int  status)

Definition at line 33 of file dns-proto.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57