tdns
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
AAAAGen Struct Reference

Generates an AAAA (IPv6 address) record. More...

#include <record-types.hh>

Inheritance diagram for AAAAGen:
[legend]
Collaboration diagram for AAAAGen:
[legend]

Public Member Functions

 AAAAGen (DNSMessageReader &dmr)
 
 AAAAGen (unsigned char ip[16])
 
void toMessage (DNSMessageWriter &dpw) override
 
std::string toString () const override
 
DNSType getType () const override
 
ComboAddress getIP () const
 
- Public Member Functions inherited from RRGen
virtual ~RRGen ()
 

Static Public Member Functions

static std::unique_ptr< RRGenmake (const ComboAddress &)
 
static std::unique_ptr< RRGenmake (const std::string &s)
 

Public Attributes

unsigned char d_ip [16]
 

Detailed Description

Generates an AAAA (IPv6 address) record.

Constructor & Destructor Documentation

AAAAGen::AAAAGen ( DNSMessageReader dmr)

Here is the call graph for this function:

AAAAGen::AAAAGen ( unsigned char  ip[16])
inline

Member Function Documentation

ComboAddress AAAAGen::getIP ( ) const
DNSType AAAAGen::getType ( ) const
inlineoverridevirtual

Implements RRGen.

std::unique_ptr< RRGen > AAAAGen::make ( const ComboAddress &  ca)
static
static std::unique_ptr<RRGen> AAAAGen::make ( const std::string &  s)
inlinestatic

Here is the call graph for this function:

void AAAAGen::toMessage ( DNSMessageWriter dpw)
overridevirtual

Implements RRGen.

Here is the call graph for this function:

std::string AAAAGen::toString ( ) const
overridevirtual

Implements RRGen.

Here is the call graph for this function:

Member Data Documentation

unsigned char AAAAGen::d_ip[16]

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