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);
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);
344 #ifndef GENERIC_CAA_257_H
345 #define GENERIC_CAA_257_H 1
366 class AbstractMessageRenderer;
379 explicit CAA(
const std::string& type_str);
392 CAA(uint8_t flags,
const std::string& tag,
const std::string& value);
431 #ifndef GENERIC_CNAME_5_H
432 #define GENERIC_CNAME_5_H 1
450 class AbstractMessageRenderer;
461 explicit CNAME(
const std::string& type_str);
493 #ifndef GENERIC_DLV_32769_H
494 #define GENERIC_DLV_32769_H 1
516 class AbstractMessageRenderer;
537 explicit DLV(
const std::string& type_str);
585 #ifndef GENERIC_DNAME_39_H
586 #define GENERIC_DNAME_39_H 1
604 class AbstractMessageRenderer;
615 explicit DNAME(
const std::string& type_str);
657 #ifndef GENERIC_DNSKEY_48_H
658 #define GENERIC_DNSKEY_48_H 1
671 class AbstractMessageRenderer;
684 explicit DNSKEY(
const std::string& type_str);
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);
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_;
909 #ifndef GENERIC_MINFO_14_H
910 #define GENERIC_MINFO_14_H 1
928 class AbstractMessageRenderer;
945 explicit MINFO(
const std::string& type_str);
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_;
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_;
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) {}
1245 #ifndef GENERIC_NSEC3_50_H
1246 #define GENERIC_NSEC3_50_H 1
1259 class AbstractMessageRenderer;
1272 explicit NSEC3(
const std::string& type_str);
1322 #ifndef GENERIC_NSEC3PARAM_51_H
1323 #define GENERIC_NSEC3PARAM_51_H 1
1336 class AbstractMessageRenderer;
1343 struct NSEC3PARAMImpl;
1375 NSEC3PARAMImpl* impl_;
1399 #ifndef GENERIC_NSEC_47_H
1400 #define GENERIC_NSEC_47_H 1
1413 class AbstractMessageRenderer;
1426 explicit NSEC(
const std::string& type_str);
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_;
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) {}
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)
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);
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];
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;
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);
2072 #ifndef GENERIC_TKEY_249_H
2073 #define GENERIC_TKEY_249_H 1
2093 class AbstractMessageRenderer;
2112 explicit TKEY(
const std::string& type_str);
2145 TKEY(
const Name& algorithm, uint32_t inception, uint32_t expire,
2146 uint16_t mode, uint16_t
error, uint16_t key_len,
2147 const void* key, uint16_t other_len,
const void* other_data);
2237 #ifndef GENERIC_TLSA_52_H
2238 #define GENERIC_TLSA_52_H 1
2259 class AbstractMessageRenderer;
2272 explicit TLSA(
const std::string& type_str);
2285 TLSA(uint8_t certificate_usage, uint8_t selector,
2286 uint8_t matching_type,
const std::string& certificate_assoc_data);
2317 #ifndef GENERIC_TXT_16_H
2318 #define GENERIC_TXT_16_H 1
2338 class AbstractMessageRenderer;
2346 template<
class Type, u
int16_t typeCode>
class TXTLikeImpl;
2353 explicit TXT(
const std::string& type_str);
2404 class AbstractMessageRenderer;
2415 explicit A(
const std::string& type_str);
2459 class AbstractMessageRenderer;
2470 explicit A(
const std::string& type_str);
2502 #ifndef IN_AAAA_28_H
2503 #define IN_AAAA_28_H 1
2522 class AbstractMessageRenderer;
2533 explicit AAAA(
const std::string& type_str);
2563 #ifndef IN_DHCID_49_H
2564 #define IN_DHCID_49_H 1
2582 class AbstractMessageRenderer;
2599 explicit DHCID(
const std::string& type_str);
2625 std::vector<uint8_t> digest_;
2640 #define IN_SRV_33_H 1
2658 class AbstractMessageRenderer;
2677 explicit SRV(
const std::string& type_str);
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
Tokenizer for parsing DNS master files.
Set of issue callbacks for a loader.
Options
Options how the parsing should work.
The Name class encapsulates DNS names.
The RRType class encapsulates DNS resource record types.
This class defines DNS serial numbers and serial arithmetic.
The Rdata class is an abstract base class that provides a set of common interfaces to manipulate conc...
rdata::TSIG class represents the TSIG RDATA as defined in RFC2845.
TSIG(isc::util::InputBuffer &buffer, size_t rdata_len)
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.
uint16_t getOriginalID() const
Return the value of the Original ID field.
uint16_t getError() const
Return the value of the Error field.
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.
TSIG(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const Name & getAlgorithm() const
Return the algorithm name.
uint16_t getOtherLen() const
Return the value of the Other Len field.
TSIG(const std::string &type_str)
TSIG & operator=(const TSIG &source)
Assignment operator.
const void * getOtherData() const
Return the value of the Other Data field.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
uint16_t getFudge() const
Return the value of the Fudge field.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
const void * getMAC() const
Return the value of the MAC field.
uint16_t getMACSize() const
Return the value of the MAC Size field.
uint64_t getTimeSigned() const
Return the value of the Time Signed field.
A(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
A(const std::string &type_str)
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.
A(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual std::string toText() const
Convert an Rdata to a string.
rdata::AFSDB class represents the AFSDB RDATA as defined in RFC1183.
uint16_t getSubtype() const
Return the value of the subtype field.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
AFSDB & operator=(const AFSDB &source)
Assignment operator.
AFSDB(const AFSDB &other)
AFSDB(const std::string &type_str)
AFSDB(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.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
AFSDB(isc::util::InputBuffer &buffer, size_t rdata_len)
const Name & getServer() const
Specialized methods.
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.
CAA(const std::string &type_str)
CAA(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const std::string & getTag() const
Return the Tag field of the CAA RDATA.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint8_t getFlags() const
Specialized methods.
CAA(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
CAA & operator=(const CAA &source)
const std::vector< uint8_t > & getValue() const
Return the Value field of the CAA RDATA.
CAA(uint8_t flags, const std::string &tag, const std::string &value)
const Name & getCname() const
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.
CNAME(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
CNAME(isc::util::InputBuffer &buffer, size_t rdata_len)
CNAME(const CNAME &other)
CNAME(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.
rdata::generic::DLV class represents the DLV RDATA as defined in RFC4431.
DLV(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
uint16_t getTag() const
Return the value of the Tag field.
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.
DLV & operator=(const DLV &source)
Assignment operator.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
DLV(isc::util::InputBuffer &buffer, size_t rdata_len)
DLV(const std::string &type_str)
const Name & getDname() 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.
DNAME(const std::string &type_str)
virtual std::string toText() const
Convert an Rdata to a string.
DNAME(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.
DNAME(const DNAME &other)
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.
DNSKEY(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
DNSKEY & operator=(const DNSKEY &source)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
DNSKEY(const DNSKEY &other)
DNSKEY(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual std::string toText() const
Convert an Rdata to a string.
uint16_t getFlags() const
DNSKEY(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
uint8_t getAlgorithm() const
uint16_t getTag() const
Specialized methods.
rdata::generic::DS class represents the DS RDATA as defined in RFC3658.
DS(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
DS(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)
uint16_t getTag() const
Return the value of the Tag field.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
DS & operator=(const DS &source)
Assignment operator.
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 class represents the HINFO rdata defined in RFC1034, RFC1035
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.
HINFO & operator=(const HINFO &)
HINFO(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual std::string toText() const
Convert an Rdata to a string.
HINFO(const std::string &type_str)
const std::string getOS() const
const std::string getCPU() const
HINFO(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
HINFO(const HINFO &other)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
rdata::generic::MINFO class represents the MINFO RDATA as defined in RFC1035.
Name getRmailbox() const
Return the value of the rmailbox field.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
MINFO(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
MINFO(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.
MINFO(const MINFO &other)
MINFO & operator=(const MINFO &source)
Define the assignment operator.
Name getEmailbox() const
Return the value of the emailbox field.
MINFO(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.
uint16_t getMXPref() const
MX(uint16_t preference, const Name &mxname)
MX(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.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
MX(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const Name & getMXName() 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.
MX(const std::string &type_str)
NAPTR class represents the NAPTR rdata defined in RFC2915, RFC2168 and RFC3403
uint16_t getOrder() 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.
NAPTR & operator=(const NAPTR &source)
NAPTR(const std::string &type_str)
const std::string getFlags() const
virtual std::string toText() const
Convert an Rdata to a string.
NAPTR(isc::util::InputBuffer &buffer, size_t rdata_len)
const std::string getServices() const
const Name & getReplacement() const
const std::string getRegexp() const
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
NAPTR(const NAPTR &other)
uint16_t getPreference() const
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.
NSEC3PARAM(const NSEC3PARAM &other)
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.
uint16_t getIterations() const
NSEC3PARAM(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
uint8_t getHashalg() const
Specialized methods.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
NSEC3PARAM(const std::string &type_str)
NSEC3PARAM(isc::util::InputBuffer &buffer, size_t rdata_len)
const std::vector< uint8_t > & getSalt() const
NSEC3PARAM & operator=(const NSEC3PARAM &source)
NSEC3(const std::string &type_str)
NSEC3(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
NSEC3(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.
const std::vector< uint8_t > & getSalt() const
const std::vector< uint8_t > & getNext() const
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
NSEC3(const NSEC3 &other)
virtual std::string toText() const
Convert an Rdata to a string.
uint8_t getHashalg() const
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
NSEC3 & operator=(const NSEC3 &source)
uint16_t getIterations() const
NSEC(const std::string &type_str)
NSEC(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 std::string toText() const
Convert an Rdata to a string.
const Name & getNextName() const
Return the next domain name.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
NSEC & operator=(const NSEC &source)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
NSEC(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual std::string toText() const
Convert an Rdata to a string.
NS(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
const Name & getNSName() const
Specialized methods.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
NS(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
NS(const std::string &type_str)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
NS(const Name &nsname)
Specialized constructor.
A class representing a pseudo RR (or option) within an OPT RR (see RFC 6891).
uint16_t getLength() const
Return the length of the option data of this pseudo RR.
uint16_t getCode() const
Return the option code of this pseudo RR.
PseudoRR(uint16_t code, boost::shared_ptr< std::vector< uint8_t > > &data)
Constructor.
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.
virtual std::string toText() const
Convert an Rdata to a string.
void appendPseudoRR(uint16_t code, const uint8_t *data, uint16_t length)
Append a pseudo RR (option) in this OPT RR.
OPT & operator=(const OPT &source)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
const std::vector< PseudoRR > & getPseudoRRs() const
Return a vector of the pseudo RRs (options) in this OPT RR.
OPT(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.
OPT(isc::util::InputBuffer &buffer, size_t rdata_len)
OPT(const std::string &type_str)
const Name & getPTRName() const
Specialized methods.
virtual std::string toText() const
Convert an Rdata to a string.
PTR(const std::string &type_str)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
PTR(isc::util::InputBuffer &buffer, size_t rdata_len)
PTR(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
PTR(const Name &ptr_name)
Specialized constructor.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
rdata::generic::RP class represents the RP RDATA as defined in RFC1183.
RP(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
RP(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.
RP(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.
RP(const Name &mailbox, const Name &text)
We use the default copy constructor and assignment operator.
Name getText() const
Return the value of the text field.
Name getMailbox() const
Return the value of the mailbox field.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
rdata::RRSIG class represents the RRSIG RDATA as defined in RFC4034.
RRSIG(const RRSIG &other)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
virtual std::string toText() const
Convert an Rdata to a string.
RRSIG(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
RRSIG(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.
RRSIG & operator=(const RRSIG &source)
RRSIG(isc::util::InputBuffer &buffer, size_t rdata_len)
const RRType & typeCovered() const
SOA(const std::string &type_str)
Serial getSerial() const
Returns the serial stored in the SOA.
SOA(const Name &mname, const Name &rname, uint32_t serial, uint32_t refresh, uint32_t retry, uint32_t expire, uint32_t minimum)
SOA(isc::util::InputBuffer &buffer, size_t rdata_len)
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 void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint32_t getMinimum() const
brief Returns the minimum TTL field value of the SOA.
SOA(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
rdata::SPF class represents the SPF RDATA as defined in RFC4408.
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.
SPF(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
SPF(const std::string &type_str)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
SPF(isc::util::InputBuffer &buffer, size_t rdata_len)
const std::vector< std::vector< uint8_t > > & getString() const
Specialized methods.
virtual std::string toText() const
Convert an Rdata to a string.
SPF & operator=(const SPF &source)
Assignment operator.
const std::vector< uint8_t > & getFingerprint() const
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
SSHFP & operator=(const SSHFP &source)
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.
SSHFP(isc::util::InputBuffer &buffer, size_t rdata_len)
uint8_t getFingerprintType() const
virtual std::string toText() const
Convert an Rdata to a string.
size_t getFingerprintLength() const
SSHFP(const std::string &type_str)
SSHFP(uint8_t algorithm, uint8_t fingerprint_type, const std::string &fingerprint)
SSHFP(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
SSHFP(const SSHFP &other)
uint8_t getAlgorithmNumber() const
Specialized methods.
rdata::TKEY class represents the TKEY RDATA as defined in RFC2930.
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.
TKEY & operator=(const TKEY &source)
Assignment operator.
const void * getKey() const
Return the value of the Key field.
uint32_t getInception() const
Return the value of the Inception field as a number.
uint16_t getMode() const
Return the value of the Mode field.
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
std::string getInceptionDate() const
Return the value of the Inception field as a string.
virtual std::string toText() const
Convert an Rdata to a string.
TKEY(isc::util::InputBuffer &buffer, size_t rdata_len)
uint32_t getExpire() const
Return the value of the Expire field as a number.
static const uint16_t GSS_API_MODE
The GSS_API constant for the Mode field.
std::string getExpireDate() const
Return the value of the Expire field as a string.
const void * getOtherData() const
Return the value of the Other Data field.
TKEY(const std::string &type_str)
const Name & getAlgorithm() const
Return the algorithm name.
uint16_t getOtherLen() const
Return the value of the Other Len field.
TKEY(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
uint16_t getError() const
Return the value of the Error field.
TKEY(const Name &algorithm, uint32_t inception, uint32_t expire, uint16_t mode, uint16_t error, uint16_t key_len, const void *key, uint16_t other_len, const void *other_data)
Constructor from RDATA field parameters.
uint16_t getKeyLen() const
Return the value of the Key Len field.
uint8_t getMatchingType() const
TLSA(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.
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 std::vector< uint8_t > & getData() const
size_t getDataLength() const
TLSA & operator=(const TLSA &source)
uint8_t getSelector() const
TLSA(const std::string &type_str)
TLSA(isc::util::InputBuffer &buffer, size_t rdata_len)
uint8_t getCertificateUsage() const
Specialized methods.
TLSA(uint8_t certificate_usage, uint8_t selector, uint8_t matching_type, const std::string &certificate_assoc_data)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
TXT(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.
TXT & operator=(const TXT &source)
TXT(const std::string &type_str)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
TXT(isc::util::InputBuffer &buffer, size_t rdata_len)
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.
A(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
A(isc::util::InputBuffer &buffer, size_t rdata_len)
A(const std::string &type_str)
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.
AAAA(isc::util::InputBuffer &buffer, size_t rdata_len)
AAAA(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
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.
AAAA(const std::string &type_str)
A(const std::string &type_str)
A(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.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
A(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.
virtual std::string toText() const
Convert an Rdata to a string.
rdata::DHCID class represents the DHCID RDATA as defined in RFC4701.
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.
DHCID(isc::util::InputBuffer &buffer, size_t rdata_len)
virtual std::string toText() const
Convert an Rdata to a string.
DHCID(const DHCID &other)
const std::vector< uint8_t > & getDigest() const
Return the digest.
DHCID(const std::string &type_str)
virtual void toWire(AbstractMessageRenderer &renderer) const
Render the Rdata in the wire format into a MessageRenderer object.
DHCID(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
rdata::SRV class represents the SRV RDATA as defined in RFC2782.
const Name & getTarget() const
Return the value of the target field.
SRV(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
SRV(isc::util::InputBuffer &buffer, size_t rdata_len)
uint16_t getPort() const
Return the value of the port field.
uint16_t getPriority() const
Specialized methods.
SRV(MasterLexer &lexer, const Name *name, MasterLoader::Options options, MasterLoaderCallbacks &callbacks)
virtual std::string toText() const
Convert an Rdata to a string.
uint16_t getWeight() const
Return the value of the weight field.
SRV & operator=(const SRV &source)
Assignment operator.
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.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
Defines the logger used by the top-level component of kea-lfc.