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< byte > | EncodeString (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 unsigned char ares::byte |
Definition at line 33 of file ares-test.h.
Definition at line 157 of file dns-proto.cc.
std::string ares::ClassToString | ( | int | qclass | ) |
Definition at line 146 of file dns-proto.cc.
Definition at line 463 of file dns-proto.cc.
Definition at line 25 of file dns-proto.cc.
Definition at line 29 of file dns-proto.cc.
std::string ares::HexDump | ( | std::vector< byte > | data | ) |
Definition at line 15 of file dns-proto.cc.
Definition at line 181 of file dns-proto.cc.
Definition at line 458 of file dns-proto.cc.
Definition at line 451 of file dns-proto.cc.
std::string ares::QuestionToString | ( | const std::vector< byte > & | packet, |
const byte ** | data, | ||
int * | len | ||
) |
Definition at line 228 of file dns-proto.cc.
std::string ares::RcodeToString | ( | int | rcode | ) |
Definition at line 64 of file dns-proto.cc.
Definition at line 264 of file dns-proto.cc.
std::string ares::RRTypeToString | ( | int | rrtype | ) |
Definition at line 84 of file dns-proto.cc.
|
static |
Definition at line 16 of file dns-dump.cc.
std::string ares::StatusToString | ( | int | status | ) |
Definition at line 33 of file dns-proto.cc.