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);
73 virtual std::string
toText()
const;
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);
157 const void*
getMAC()
const;
190 #endif // ANY_TSIG_250_H
216 class AbstractMessageRenderer;
227 explicit A(
const std::string& type_str);
233 virtual std::string
toText()
const;
253 #ifndef GENERIC_AFSDB_18_H
254 #define GENERIC_AFSDB_18_H 1
274 class AbstractMessageRenderer;
291 explicit AFSDB(
const std::string& type_str);
297 virtual std::string
toText()
const;
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& type_str);
385 virtual std::string
toText()
const;
392 CAA(uint8_t flags,
const std::string& tag,
const std::string& value);
404 const std::string&
getTag()
const;
411 const std::vector<uint8_t>&
getValue()
const;
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);
467 virtual std::string
toText()
const;
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);
543 virtual std::string
toText()
const;
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);
621 virtual std::string
toText()
const;
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);
690 virtual std::string
toText()
const;
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);
780 virtual std::string
toText()
const;
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);
871 virtual std::string
toText()
const;
883 const std::string
getCPU()
const;
884 const std::string
getOS()
const;
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);
951 virtual std::string
toText()
const;
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);
1040 MX(
const MX& other);
1044 virtual std::string
toText()
const;
1051 MX(uint16_t preference,
const Name& mxname);
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);
1128 virtual std::string
toText()
const;
1142 const std::string
getFlags()
const;
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);
1200 NS(
const NS& other);
1204 virtual std::string
toText()
const;
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);
1278 virtual std::string
toText()
const;
1290 const std::vector<uint8_t>&
getSalt()
const;
1291 const std::vector<uint8_t>&
getNext()
const;
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;
1349 explicit NSEC3PARAM(
const std::string& type_str);
1355 virtual std::string
toText()
const;
1370 const std::vector<uint8_t>&
getSalt()
const;
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);
1432 virtual std::string
toText()
const;
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);
1507 virtual std::string
toText()
const;
1528 boost::shared_ptr<std::vector<uint8_t> >& data);
1534 const uint8_t*
getData()
const;
1542 boost::shared_ptr<std::vector<uint8_t> > data_;
1553 void appendPseudoRR(uint16_t code,
const uint8_t* data, uint16_t length);
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);
1615 virtual std::string
toText()
const;
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);
1684 RP(
const RP& other);
1688 virtual std::string
toText()
const;
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);
1794 virtual std::string
toText()
const;
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);
1861 virtual std::string
toText()
const;
1868 SOA(
const Name& mname,
const Name& rname, uint32_t serial,
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);
1946 virtual std::string
toText()
const;
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);
2034 virtual std::string
toText()
const;
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_TKEY_249_H
2073 #define GENERIC_TKEY_249_H 1
2093 class AbstractMessageRenderer;
2112 explicit TKEY(
const std::string& type_str);
2118 virtual std::string
toText()
const;
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);
2202 const void*
getKey()
const;
2229 #endif // GENERIC_TKEY_249_H
2237 #ifndef GENERIC_TLSA_52_H
2238 #define GENERIC_TLSA_52_H 1
2259 class AbstractMessageRenderer;
2272 explicit TLSA(
const std::string& type_str);
2278 virtual std::string
toText()
const;
2285 TLSA(uint8_t certificate_usage, uint8_t selector,
2286 uint8_t matching_type,
const std::string& certificate_assoc_data);
2296 const std::vector<uint8_t>&
getData()
const;
2309 #endif // GENERIC_TLSA_52_H
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);
2359 virtual std::string
toText()
const;
2378 #endif // GENERIC_TXT_16_H
2404 class AbstractMessageRenderer;
2415 explicit A(
const std::string& type_str);
2421 virtual std::string
toText()
const;
2459 class AbstractMessageRenderer;
2470 explicit A(
const std::string& type_str);
2476 virtual std::string
toText()
const;
2502 #ifndef IN_AAAA_28_H
2503 #define IN_AAAA_28_H 1
2522 class AbstractMessageRenderer;
2533 explicit AAAA(
const std::string& type_str);
2539 virtual std::string
toText()
const;
2555 #endif // IN_AAAA_28_H
2563 #ifndef IN_DHCID_49_H
2564 #define IN_DHCID_49_H 1
2582 class AbstractMessageRenderer;
2599 explicit DHCID(
const std::string& type_str);
2605 virtual std::string
toText()
const;
2615 const std::vector<uint8_t>&
getDigest()
const;
2625 std::vector<uint8_t> digest_;
2631 #endif // IN_DHCID_49_H
2640 #define IN_SRV_33_H 1
2658 class AbstractMessageRenderer;
2677 explicit SRV(
const std::string& type_str);
2683 virtual std::string
toText()
const;
2739 #endif // IN_SRV_33_H
2742 #endif // DNS_RDATACLASS_H
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::TSIG class represents the TSIG RDATA as defined in RFC2845.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
The Name class encapsulates DNS names.
TLSA & operator=(const TLSA &source)
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.
TXT & operator=(const TXT &source)
const Name & getDname() const
A(const std::string &type_str)
rdata::RRSIG class represents the RRSIG RDATA as defined in RFC4034.
virtual std::string toText() const
Convert an Rdata to a string.
NSEC3PARAM & operator=(const NSEC3PARAM &source)
const std::vector< uint8_t > & getData() const
uint16_t getOtherLen() const
Return the value of the Other Len field.
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.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
uint16_t getMode() const
Return the value of the Mode field.
TKEY(const std::string &type_str)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint16_t getError() const
Return the value of the Error field.
DNSKEY(const std::string &type_str)
const std::vector< uint8_t > & getNext() const
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
NSEC3PARAM(const std::string &type_str)
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
const Name & getServer() const
Specialized methods.
rdata::generic::DS class represents the DS RDATA as defined in RFC3658.
uint16_t getPreference() const
NS(const Name &nsname)
Specialized constructor.
uint16_t getOtherLen() const
Return the value of the Other Len field.
std::string getInceptionDate() const
Return the value of the Inception field as a string.
uint8_t getCertificateUsage() const
Specialized methods.
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 int compare(const Rdata &other) const
Compare two instances of Rdata.
uint16_t getTag() const
Return the value of the Tag field.
const Name & getTarget() const
Return the value of the target field.
This class defines DNS serial numbers and serial arithmetic.
uint32_t getInception() const
Return the value of the Inception field as a number.
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.
uint16_t getWeight() const
Return the value of the weight field.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
Name getEmailbox() const
Return the value of the emailbox field.
uint8_t getFingerprintType() const
The Rdata class is an abstract base class that provides a set of common interfaces to manipulate conc...
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.
AAAA(const std::string &type_str)
rdata::TKEY class represents the TKEY RDATA as defined in RFC2930.
const std::string getFlags() const
SRV & operator=(const SRV &source)
Assignment operator.
static const uint16_t GSS_API_MODE
The GSS_API constant for the Mode field.
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.
const Name & getNextName() const
Return the next domain name.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
A class representing a pseudo RR (or option) within an OPT RR (see RFC 6891).
NSEC & operator=(const NSEC &source)
NAPTR & operator=(const NAPTR &source)
const uint8_t * getData() const
Return the option data of this pseudo RR.
virtual std::string toText() const
Convert an Rdata to a string.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
const void * getKey() const
Return the value of the Key field.
uint8_t getSelector() const
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint16_t getIterations() const
uint8_t getAlgorithmNumber() const
Specialized methods.
const std::string getRegexp() const
PTR(const std::string &type_str)
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.
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.
uint16_t getMACSize() const
Return the value of the MAC Size field.
rdata::generic::RP class represents the RP RDATA as defined in RFC1183.
AFSDB(const std::string &type_str)
NSEC3(const std::string &type_str)
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.
SPF(const std::string &type_str)
const std::string getCPU() const
size_t getFingerprintLength() const
const Name & getPTRName() const
Specialized methods.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
TSIG(const std::string &type_str)
DNSKEY & operator=(const DNSKEY &source)
virtual std::string toText() const
Convert an Rdata to a string.
virtual std::string toText() const
Convert an Rdata to a string.
const Name & getCname() const
RRSIG(const std::string &type_str)
CAA(const std::string &type_str)
Options
Options how the parsing should work.
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.
const std::vector< uint8_t > & getFingerprint() const
NSEC(const std::string &type_str)
uint8_t getAlgorithm() const
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
uint16_t getKeyLen() const
Return the value of the Key Len field.
uint8_t getMatchingType() const
const std::vector< uint8_t > & getValue() const
Return the Value field of the CAA RDATA.
virtual std::string toText() const
Convert an Rdata to a string.
virtual std::string toText() const
Convert an Rdata to a string.
TLSA(const std::string &type_str)
rdata::DHCID class represents the DHCID RDATA as defined in RFC4701.
SOA(const std::string &type_str)
virtual std::string toText() const
Convert an Rdata to a string.
MX(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
A(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
uint16_t getOrder() const
uint8_t getHashalg() const
Specialized methods.
virtual std::string toText() const
Convert an Rdata to a string.
DNAME(const std::string &type_str)
A(const std::string &type_str)
virtual std::string toText() const
Convert an Rdata to a string.
uint16_t getSubtype() const
Return the value of the subtype field.
std::string getExpireDate() const
Return the value of the Expire field as a string.
uint16_t getIterations() const
uint16_t getPriority() const
Specialized methods.
NAPTR(const std::string &type_str)
uint16_t getLength() const
Return the length of the option data of this pseudo RR.
Name getMailbox() const
Return the value of the mailbox field.
virtual std::string toText() const
Convert an Rdata to a string.
uint64_t getTimeSigned() const
Return the value of the Time Signed field.
CNAME(const std::string &type_str)
const void * getOtherData() const
Return the value of the Other Data field.
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.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
PTR(const Name &ptr_name)
Specialized constructor.
const Name & getReplacement() const
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.
virtual void toWire(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
const RRType & typeCovered() const
virtual std::string toText() const
Convert an Rdata to a string.
DS & operator=(const DS &source)
Assignment operator.
virtual std::string toText() const
Convert an Rdata to a string.
Name getText() const
Return the value of the text field.
MINFO(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
rdata::generic::MINFO class represents the MINFO RDATA as defined in RFC1035.
const std::vector< uint8_t > & getDigest() const
Return the digest.
uint8_t getFlags() const
Specialized methods.
const Name & getAlgorithm() const
Return the algorithm name.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
NS(const std::string &type_str)
const std::string & getTag() const
Return the Tag field of the CAA RDATA.
DLV(const std::string &type_str)
virtual std::string toText() const
Convert an Rdata to a string.
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.
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.
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.
HINFO class represents the HINFO rdata defined in RFC1034, RFC1035
const std::vector< std::vector< uint8_t > > & getString() const
Specialized methods.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
uint16_t getTag() const
Specialized methods.
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(const std::string &type_str)
const std::vector< PseudoRR > & getPseudoRRs() const
Return a vector of the pseudo RRs (options) in this OPT RR.
TKEY & operator=(const TKEY &source)
Assignment operator.
const std::string getOS() const
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(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 int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual std::string toText() const
Convert an Rdata to a string.
rdata::SPF class represents the SPF RDATA as defined in RFC4408.
virtual std::string toText() const
Convert an Rdata to a string.
const Name & getAlgorithm() const
Return the algorithm name.
HINFO & operator=(const HINFO &)
AFSDB & operator=(const AFSDB &source)
Assignment operator.
uint16_t getError() const
Return the value of the Error field.
const void * getMAC() const
Return the value of the MAC field.
The RRType class encapsulates DNS resource record types.
PseudoRR(uint16_t code, boost::shared_ptr< std::vector< uint8_t > > &data)
Constructor.
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(isc::util::OutputBuffer &buffer) const
Render the Rdata in the wire format into a buffer.
uint16_t getFlags() const
const Name & getMXName() const
Specialized methods.
SPF & operator=(const SPF &source)
Assignment operator.
virtual std::string toText() const
Convert an Rdata to a string.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
uint32_t getMinimum() const
brief Returns the minimum TTL field value of the SOA.
uint16_t getCode() const
Return the option code of this pseudo RR.
uint16_t getMXPref() const
virtual std::string toText() const
Convert an Rdata to a string.
virtual std::string toText() const
Convert an Rdata to a string.
RP(const std::string &type_str)
NSEC3 & operator=(const NSEC3 &source)
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(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.
Serial getSerial() const
Returns the serial stored in the SOA.
rdata::AFSDB class represents the AFSDB RDATA as defined in RFC1183.
uint16_t getFudge() const
Return the value of the Fudge field.
NAPTR class represents the NAPTR rdata defined in RFC2915, RFC2168 and RFC3403
SSHFP(const std::string &type_str)
uint32_t getExpire() const
Return the value of the Expire field as a number.
size_t getDataLength() const
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.
RP(const Name &mailbox, const Name &text)
We use the default copy constructor and assignment operator.
SRV(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.
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.
uint8_t getHashalg() const
const void * getOtherData() const
Return the value of the Other Data field.
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.
MINFO & operator=(const MINFO &source)
Define the assignment operator.
virtual std::string toText() const
Convert an Rdata to a string.
CAA & operator=(const CAA &source)
virtual std::string toText() const
Convert an Rdata to a string.
const std::string getServices() const
void appendPseudoRR(uint16_t code, const uint8_t *data, uint16_t length)
Append a pseudo RR (option) in this OPT RR.
rdata::generic::DLV class represents the DLV RDATA as defined in RFC4431.
const std::vector< uint8_t > & getSalt() const
virtual std::string toText() const
Convert an Rdata to a string.
const Name & getNSName() const
Specialized methods.
TSIG & operator=(const TSIG &source)
Assignment operator.
TXT(const std::string &type_str)
Tokenizer for parsing DNS master files.
RRSIG & operator=(const RRSIG &source)
Set of issue callbacks for a loader.
DHCID(const std::string &type_str)
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
OPT & operator=(const OPT &source)
const std::vector< uint8_t > & getSalt() const
uint16_t getPort() const
Return the value of the port field.
virtual int compare(const Rdata &other) const
Compare two instances of Rdata.
HINFO(const std::string &type_str)