 |
Kea
1.5.0
|
Go to the documentation of this file.
9 #ifndef DNS_RDATACLASS_H
10 #define DNS_RDATACLASS_H 1
18 class MasterLoaderCallbacks;
27 #ifndef ANY_TSIG_250_H
28 #define ANY_TSIG_250_H 1
48 class AbstractMessageRenderer;
67 explicit TSIG(
const std::string& type_str);
105 TSIG(
const Name& algorithm, uint64_t time_signed, uint16_t fudge,
106 uint16_t mac_size,
const void* mac, uint16_t original_id,
107 uint16_t error, uint16_t other_len,
const void* other_data);
190 #endif // ANY_TSIG_250_H
216 class AbstractMessageRenderer;
227 explicit A(
const std::string& type_str);
253 #ifndef GENERIC_AFSDB_18_H
254 #define GENERIC_AFSDB_18_H 1
274 class AbstractMessageRenderer;
291 explicit AFSDB(
const std::string& type_str);
336 #endif // GENERIC_AFSDB_18_H
344 #ifndef GENERIC_CAA_257_H
345 #define GENERIC_CAA_257_H 1
366 class AbstractMessageRenderer;
379 explicit CAA(
const std::string& caa_str);
392 CAA(uint8_t flags,
const std::string& tag,
const std::string& value);
423 #endif // GENERIC_CAA_257_H
431 #ifndef GENERIC_CNAME_5_H
432 #define GENERIC_CNAME_5_H 1
450 class AbstractMessageRenderer;
461 explicit CNAME(
const std::string& type_str);
485 #endif // GENERIC_CNAME_5_H
493 #ifndef GENERIC_DLV_32769_H
494 #define GENERIC_DLV_32769_H 1
516 class AbstractMessageRenderer;
537 explicit DLV(
const std::string& type_str);
577 #endif // GENERIC_DLV_32769_H
585 #ifndef GENERIC_DNAME_39_H
586 #define GENERIC_DNAME_39_H 1
604 class AbstractMessageRenderer;
615 explicit DNAME(
const std::string& type_str);
639 #endif // GENERIC_DNAME_39_H
657 #ifndef GENERIC_DNSKEY_48_H
658 #define GENERIC_DNSKEY_48_H 1
671 class AbstractMessageRenderer;
684 explicit DNSKEY(
const std::string& type_str);
722 #endif // GENERIC_DNSKEY_48_H
730 #ifndef GENERIC_DS_43_H
731 #define GENERIC_DS_43_H 1
753 class AbstractMessageRenderer;
761 template <
class Type, u
int16_t typeCode>
class DSLikeImpl;
774 explicit DS(
const std::string& type_str);
814 #endif // GENERIC_DS_43_H
822 #ifndef GENERIC_HINFO_13_H
823 #define GENERIC_HINFO_13_H 1
828 #include <boost/scoped_ptr.hpp>
829 #include <boost/noncopyable.hpp>
846 class AbstractMessageRenderer;
865 explicit HINFO(
const std::string& type_str);
890 template <
typename T>
891 void toWireHelper(T& outputer)
const;
893 boost::scoped_ptr<HINFOImpl> impl_;
901 #endif // GENERIC_HINFO_13_H
909 #ifndef GENERIC_MINFO_14_H
910 #define GENERIC_MINFO_14_H 1
928 class AbstractMessageRenderer;
945 explicit MINFO(
const std::string& type_str);
998 #endif // GENERIC_MINFO_14_H
1006 #ifndef GENERIC_MX_15_H
1007 #define GENERIC_MX_15_H 1
1027 class AbstractMessageRenderer;
1038 explicit MX(
const std::string& type_str);
1065 uint16_t preference_;
1073 #endif // GENERIC_MX_15_H
1081 #ifndef GENERIC_NAPTR_35_H
1082 #define GENERIC_NAPTR_35_H 1
1086 #include <boost/scoped_ptr.hpp>
1103 class AbstractMessageRenderer;
1122 explicit NAPTR(
const std::string& type_str);
1150 template <
typename T>
1151 void toWireHelper(T& outputer)
const;
1153 boost::scoped_ptr<NAPTRImpl> impl_;
1160 #endif // GENERIC_NAPTR_35_H
1168 #ifndef GENERIC_NS_2_H
1169 #define GENERIC_NS_2_H 1
1187 class AbstractMessageRenderer;
1198 explicit NS(
const std::string& type_str);
1213 explicit NS(
const Name& nsname) : nsname_(nsname) {}
1226 #endif // GENERIC_NS_2_H
1245 #ifndef GENERIC_NSEC3_50_H
1246 #define GENERIC_NSEC3_50_H 1
1259 class AbstractMessageRenderer;
1272 explicit NSEC3(
const std::string& type_str);
1303 #endif // GENERIC_NSEC3_50_H
1322 #ifndef GENERIC_NSEC3PARAM_51_H
1323 #define GENERIC_NSEC3PARAM_51_H 1
1336 class AbstractMessageRenderer;
1343 struct NSEC3PARAMImpl;
1375 NSEC3PARAMImpl* impl_;
1382 #endif // GENERIC_NSEC3PARAM_51_H
1399 #ifndef GENERIC_NSEC_47_H
1400 #define GENERIC_NSEC_47_H 1
1413 class AbstractMessageRenderer;
1426 explicit NSEC(
const std::string& type_str);
1458 #endif // GENERIC_NSEC_47_H
1466 #ifndef GENERIC_OPT_41_H
1467 #define GENERIC_OPT_41_H 1
1473 #include <boost/shared_ptr.hpp>
1488 class AbstractMessageRenderer;
1501 explicit OPT(
const std::string& type_str);
1528 boost::shared_ptr<std::vector<uint8_t> >& data);
1542 boost::shared_ptr<std::vector<uint8_t> > data_;
1571 #endif // GENERIC_OPT_41_H
1579 #ifndef GENERIC_PTR_12_H
1580 #define GENERIC_PTR_12_H 1
1598 class AbstractMessageRenderer;
1609 explicit PTR(
const std::string& type_str);
1625 explicit PTR(
const Name& ptr_name) : ptr_name_(ptr_name) {}
1638 #endif // GENERIC_PTR_12_H
1646 #ifndef GENERIC_RP_17_H
1647 #define GENERIC_RP_17_H 1
1665 class AbstractMessageRenderer;
1682 explicit RP(
const std::string& type_str);
1702 mailbox_(mailbox), text_(text)
1739 #endif // GENERIC_RP_17_H
1755 #ifndef GENERIC_RRSIG_46_H
1756 #define GENERIC_RRSIG_46_H 1
1769 class AbstractMessageRenderer;
1788 explicit RRSIG(
const std::string& type_str);
1807 RRSIGImpl* constructFromLexer(
MasterLexer& lexer,
const Name* origin);
1816 #endif // GENERIC_RRSIG_46_H
1824 #ifndef GENERIC_SOA_6_H
1825 #define GENERIC_SOA_6_H 1
1844 class AbstractMessageRenderer;
1855 explicit SOA(
const std::string& type_str);
1869 uint32_t refresh, uint32_t retry, uint32_t expire,
1883 uint8_t numdata_[20];
1890 #endif // GENERIC_SOA_6_H
1898 #ifndef GENERIC_SPF_99_H
1899 #define GENERIC_SPF_99_H 1
1919 class AbstractMessageRenderer;
1940 explicit SPF(
const std::string& type_str);
1974 const std::vector<std::vector<uint8_t> >&
getString()
const;
1985 #endif // GENERIC_SPF_99_H
1993 #ifndef GENERIC_SSHFP_44_H
1994 #define GENERIC_SSHFP_44_H 1
2015 class AbstractMessageRenderer;
2028 explicit SSHFP(
const std::string& type_str);
2041 SSHFP(uint8_t algorithm, uint8_t fingerprint_type,
2042 const std::string& fingerprint);
2055 SSHFPImpl* constructFromLexer(
MasterLexer& lexer);
2064 #endif // GENERIC_SSHFP_44_H
2072 #ifndef GENERIC_TLSA_52_H
2073 #define GENERIC_TLSA_52_H 1
2094 class AbstractMessageRenderer;
2107 explicit TLSA(
const std::string& tlsa_str);
2120 TLSA(uint8_t certificate_usage, uint8_t selector,
2121 uint8_t matching_type,
const std::string& certificate_assoc_data);
2144 #endif // GENERIC_TLSA_52_H
2152 #ifndef GENERIC_TXT_16_H
2153 #define GENERIC_TXT_16_H 1
2173 class AbstractMessageRenderer;
2181 template<
class Type, u
int16_t typeCode>
class TXTLikeImpl;
2188 explicit TXT(
const std::string& type_str);
2213 #endif // GENERIC_TXT_16_H
2239 class AbstractMessageRenderer;
2250 explicit A(
const std::string& type_str);
2294 class AbstractMessageRenderer;
2305 explicit A(
const std::string& type_str);
2337 #ifndef IN_AAAA_28_H
2338 #define IN_AAAA_28_H 1
2357 class AbstractMessageRenderer;
2368 explicit AAAA(
const std::string& type_str);
2390 #endif // IN_AAAA_28_H
2398 #ifndef IN_DHCID_49_H
2399 #define IN_DHCID_49_H 1
2417 class AbstractMessageRenderer;
2434 explicit DHCID(
const std::string& type_str);
2460 std::vector<uint8_t> digest_;
2466 #endif // IN_DHCID_49_H
2475 #define IN_SRV_33_H 1
2493 class AbstractMessageRenderer;
2512 explicit SRV(
const std::string& type_str);
2574 #endif // IN_SRV_33_H
2577 #endif // DNS_RDATACLASS_H
A(isc::util::InputBuffer &buffer, size_t rdata_len)
SSHFP(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
NS(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
A(const std::string &type_str)
virtual std::string toText() const
Convert an Rdata to a string.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
const Name & getCname() const
uint16_t getCode() const
Return the option code of this pseudo RR.
SOA(const std::string &type_str)
const Name & getPTRName() const
Specialized methods.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
AFSDB & operator=(const AFSDB &source)
Assignment operator.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
const std::string & getTag() const
Return the Tag field of the CAA RDATA.
MINFO(isc::util::InputBuffer &buffer, size_t rdata_len)
HINFO class represents the HINFO rdata defined in RFC1034, RFC1035
virtual std::string toText() const
Convert an Rdata to a string.
DS & operator=(const DS &source)
Assignment operator.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint16_t getIterations() const
CAA & operator=(const CAA &source)
AFSDB(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const void * getOtherData() const
Return the value of the Other Data field.
virtual std::string toText() const
Convert an Rdata to a string.
PTR(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
MX(const std::string &type_str)
SPF(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
PseudoRR(uint16_t code, boost::shared_ptr< std::vector< uint8_t > > &data)
Constructor.
NSEC3PARAM(const std::string &type_str)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
CNAME(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
uint16_t getSubtype() const
Return the value of the subtype field.
SOA(const Name &mname, const Name &rname, uint32_t serial, uint32_t refresh, uint32_t retry, uint32_t expire, uint32_t minimum)
const Name & getDname() const
SOA(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual std::string toText() const
Convert an Rdata to a string.
A class representing a pseudo RR (or option) within an OPT RR (see RFC 6891).
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
OPT(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
TXT & operator=(const TXT &source)
DLV & operator=(const DLV &source)
Assignment operator.
MINFO(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual std::string toText() const
Convert an Rdata to a string.
NS(const std::string &type_str)
uint16_t getMXPref() const
TSIG(const Name &algorithm, uint64_t time_signed, uint16_t fudge, uint16_t mac_size, const void *mac, uint16_t original_id, uint16_t error, uint16_t other_len, const void *other_data)
Constructor from RDATA field parameters.
const Name & getServer() const
Specialized methods.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
RRSIG(isc::util::InputBuffer &buffer, size_t rdata_len)
uint8_t getHashalg() const
Specialized methods.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
virtual std::string toText() const
Convert an Rdata to a string.
HINFO(const HINFO &other)
virtual std::string toText() const
Convert an Rdata to a string.
uint32_t getMinimum() const
brief Returns the minimum TTL field value of the SOA.
DLV(const std::string &type_str)
const Name & getNextName() const
Return the next domain name.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
Tokenizer for parsing DNS master files.
TLSA(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual std::string toText() const
Convert an Rdata to a string.
RRSIG(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const std::vector< uint8_t > & getData() const
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
rdata::generic::MINFO class represents the MINFO RDATA as defined in RFC1035.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
DHCID(const DHCID &other)
uint16_t getMACSize() const
Return the value of the MAC Size field.
RP(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
A(isc::util::InputBuffer &buffer, size_t rdata_len)
DNSKEY(isc::util::InputBuffer &buffer, size_t rdata_len)
uint16_t getPriority() const
Specialized methods.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
DNAME(const DNAME &other)
const std::vector< uint8_t > & getFingerprint() const
SRV & operator=(const SRV &source)
Assignment operator.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
const std::string getServices() const
NSEC & operator=(const NSEC &source)
DHCID(const std::string &type_str)
TSIG & operator=(const TSIG &source)
Assignment operator.
A(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
DNAME(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
const std::vector< std::vector< uint8_t > > & getString() const
Specialized methods.
DLV(isc::util::InputBuffer &buffer, size_t rdata_len)
rdata::generic::RP class represents the RP RDATA as defined in RFC1183.
CAA(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
NAPTR class represents the NAPTR rdata defined in RFC2915, RFC2168 and RFC3403
virtual std::string toText() const
Convert an Rdata to a string.
SSHFP(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const std::vector< PseudoRR > & getPseudoRRs() const
Return a vector of the pseudo RRs (options) in this OPT RR.
PTR(const Name &ptr_name)
Specialized constructor.
uint16_t getOrder() const
const Name & getMXName() const
Specialized methods.
TLSA(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const RRType & typeCovered() const
The Rdata class is an abstract base class that provides a set of common interfaces to manipulate conc...
virtual std::string toText() const
Convert an Rdata to a string.
A(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
MINFO(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
DLV(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
CNAME(const std::string &type_str)
virtual std::string toText() const
Convert an Rdata to a string.
SPF(const std::string &type_str)
NSEC3PARAM & operator=(const NSEC3PARAM &source)
DS(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
NSEC3(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
OPT & operator=(const OPT &source)
rdata::TSIG class represents the TSIG RDATA as defined in RFC2845.
const std::vector< uint8_t > & getNext() const
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
rdata::generic::DS class represents the DS RDATA as defined in RFC3658.
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
RRSIG(const RRSIG &other)
size_t getDataLength() const
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual std::string toText() const
Convert an Rdata to a string.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
Name getEmailbox() const
Return the value of the emailbox field.
virtual std::string toText() const
Convert an Rdata to a string.
Defines the logger used by the top-level component of kea-dhcp-ddns.
MINFO(const MINFO &other)
PTR(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
SOA(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
TXT(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual std::string toText() const
Convert an Rdata to a string.
SSHFP(const SSHFP &other)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
HINFO & operator=(const HINFO &)
Set of issue callbacks for a loader.
uint16_t getIterations() const
AAAA(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
rdata::SPF class represents the SPF RDATA as defined in RFC4408.
virtual std::string toText() const
Convert an Rdata to a string.
NSEC3(const std::string &type_str)
MX(isc::util::InputBuffer &buffer, size_t rdata_len)
size_t getFingerprintLength() const
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
DNAME(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
SRV(const std::string &type_str)
Serial getSerial() const
Returns the serial stored in the SOA.
SSHFP(const std::string &type_str)
uint16_t getError() const
Return the value of the Error field.
The Name class encapsulates DNS names.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
const Name & getTarget() const
Return the value of the target field.
SSHFP(uint8_t algorithm, uint8_t fingerprint_type, const std::string &fingerprint)
AFSDB(isc::util::InputBuffer &buffer, size_t rdata_len)
const Name & getAlgorithm() const
Return the algorithm name.
TSIG(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
rdata::AFSDB class represents the AFSDB RDATA as defined in RFC1183.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
Name getRmailbox() const
Return the value of the rmailbox field.
virtual std::string toText() const
Convert an Rdata to a string.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
TXT(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint64_t getTimeSigned() const
Return the value of the Time Signed field.
const void * getMAC() const
Return the value of the MAC field.
uint8_t getAlgorithm() const
const std::string getFlags() const
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
uint16_t getTag() const
Specialized methods.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
const std::vector< uint8_t > & getSalt() const
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
const std::string getCPU() const
virtual std::string toText() const
Convert an Rdata to a string.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
A(isc::util::InputBuffer &buffer, size_t rdata_len)
SPF(isc::util::InputBuffer &buffer, size_t rdata_len)
CNAME(isc::util::InputBuffer &buffer, size_t rdata_len)
NAPTR(isc::util::InputBuffer &buffer, size_t rdata_len)
uint16_t getPort() const
Return the value of the port field.
virtual std::string toText() const
Convert an Rdata to a string.
DS(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const std::string getRegexp() const
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
CAA(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint8_t getHashalg() const
Name getText() const
Return the value of the text field.
SPF & operator=(const SPF &source)
Assignment operator.
uint16_t getOriginalID() const
Return the value of the Original ID field.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
OPT(const std::string &type_str)
DNSKEY(const DNSKEY &other)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
rdata::generic::DLV class represents the DLV RDATA as defined in RFC4431.
uint8_t getMatchingType() const
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
TSIG(const std::string &type_str)
AAAA(isc::util::InputBuffer &buffer, size_t rdata_len)
NAPTR(const NAPTR &other)
AFSDB(const std::string &type_str)
virtual std::string toText() const
Convert an Rdata to a string.
uint8_t getSelector() const
uint8_t getFingerprintType() const
const std::vector< uint8_t > & getSalt() const
NSEC(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
rdata::RRSIG class represents the RRSIG RDATA as defined in RFC4034.
DNAME(isc::util::InputBuffer &buffer, size_t rdata_len)
uint16_t getTag() const
Return the value of the Tag field.
virtual std::string toText() const
Convert an Rdata to a string.
NSEC(const std::string &type_str)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
NAPTR(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
TLSA & operator=(const TLSA &source)
virtual std::string toText() const
Convert an Rdata to a string.
uint16_t getFlags() const
NSEC(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
NSEC3(const NSEC3 &other)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
Name getMailbox() const
Return the value of the mailbox field.
virtual std::string toText() const
Convert an Rdata to a string.
rdata::DHCID class represents the DHCID RDATA as defined in RFC4701.
TLSA(uint8_t certificate_usage, uint8_t selector, uint8_t matching_type, const std::string &certificate_assoc_data)
uint16_t getOtherLen() const
Return the value of the Other Len field.
A(const std::string &type_str)
void appendPseudoRR(uint16_t code, const uint8_t *data, uint16_t length)
Append a pseudo RR (option) in this OPT RR.
NSEC3PARAM(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual std::string toText() const
Convert an Rdata to a string.
virtual std::string toText() const
Convert an Rdata to a string.
virtual std::string toText() const
Convert an Rdata to a string.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
NS(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual std::string toText() const
Convert an Rdata to a string.
NSEC3(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
A(const std::string &type_str)
HINFO(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
NAPTR(const std::string &type_str)
This class defines DNS serial numbers and serial arithmetic.
NS(const Name &nsname)
Specialized constructor.
NAPTR & operator=(const NAPTR &source)
RP(const std::string &type_str)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
MINFO & operator=(const MINFO &source)
Define the assignment operator.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
RP(isc::util::InputBuffer &buffer, size_t rdata_len)
HINFO(isc::util::InputBuffer &buffer, size_t rdata_len)
const std::vector< uint8_t > & getDigest() const
Return the digest.
SRV(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
DNSKEY(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
DHCID(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
DS(const std::string &type_str)
const std::string getOS() const
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
TXT(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
uint16_t getWeight() const
Return the value of the weight field.
virtual std::string toText() const
Convert an Rdata to a string.
NSEC3PARAM(const NSEC3PARAM &other)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
OPT(isc::util::InputBuffer &buffer, size_t rdata_len)
RP(const Name &mailbox, const Name &text)
We use the default copy constructor and assignment operator.
uint8_t getFlags() const
Specialized methods.
virtual std::string toText() const
Convert an Rdata to a string.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
uint16_t getTag() const
Return the value of the Tag field.
The RRType class encapsulates DNS resource record types.
rdata::SRV class represents the SRV RDATA as defined in RFC2782.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
NSEC3PARAM(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual std::string toText() const
Convert an Rdata to a string.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
CAA(uint8_t flags, const std::string &tag, const std::string &value)
RRSIG(const std::string &type_str)
RRSIG & operator=(const RRSIG &source)
A(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
HINFO(const std::string &type_str)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
SSHFP & operator=(const SSHFP &source)
DNSKEY(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
DHCID(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
MX(uint16_t preference, const Name &mxname)
uint16_t getPreference() const
uint8_t getCertificateUsage() const
Specialized methods.
CAA(const std::string &caa_str)
uint16_t getLength() const
Return the length of the option data of this pseudo RR.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint16_t getFudge() const
Return the value of the Fudge field.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
MX(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const Name & getReplacement() const
AAAA(const std::string &type_str)
virtual std::string toText() const
Convert an Rdata to a string.
const std::vector< uint8_t > & getValue() const
Return the Value field of the CAA RDATA.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
AFSDB(const AFSDB &other)
NSEC3 & operator=(const NSEC3 &source)
DNSKEY & operator=(const DNSKEY &source)
const Name & getNSName() const
Specialized methods.
virtual std::string toText() const
Convert an Rdata to a string.
uint8_t getAlgorithmNumber() const
Specialized methods.
TSIG(isc::util::InputBuffer &buffer, size_t rdata_len)
const uint8_t * getData() const
Return the option data of this pseudo RR.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
SRV(isc::util::InputBuffer &buffer, size_t rdata_len)
CNAME(const CNAME &other)
TLSA(const std::string &tlsa_str)
Options
Options how the parsing should work.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
PTR(const std::string &type_str)