Kea
1.9.9-git
|
#include <config.h>
#include <exceptions/exceptions.h>
#include <util/buffer.h>
#include <util/encode/hex.h>
#include <dns/name.h>
#include <dns/messagerenderer.h>
#include <dns/master_lexer.h>
#include <dns/rdata.h>
#include <dns/rrparamregistry.h>
#include <dns/rrtype.h>
#include <boost/lexical_cast.hpp>
#include <boost/shared_ptr.hpp>
#include <algorithm>
#include <cctype>
#include <string>
#include <sstream>
#include <iomanip>
#include <ios>
#include <ostream>
#include <vector>
#include <stdint.h>
#include <string.h>
Go to the source code of this file.
Classes | |
struct | isc::dns::rdata::generic::GenericImpl |
Namespaces | |
isc | |
Defines the logger used by the top-level component of kea-dhcp-ddns. | |
isc::dns | |
isc::dns::rdata | |
isc::dns::rdata::generic | |
Functions | |
int | isc::dns::rdata::compareNames (const Name &n1, const Name &n2) |
Gives relative ordering of two names in terms of DNSSEC RDATA ordering. More... | |
std::ostream & | isc::dns::rdata::generic::operator<< (std::ostream &os, const Generic &rdata) |
Insert the name as a string into stream. More... | |
Parameterized Polymorphic RDATA Factories | |
This set of global functions provide a unified interface to create an These will be useful when parsing/constructing a DNS message or parsing a master file, where information for a specific type of RDATA is given but the resulting object, once created, should better be used in a polymorphic way. For example, if a master file parser encounters an NS RR example.com. 3600 IN NS ns.example.com. it stores the text fragments "IN", "NS", and "ns.example.com." in RdataPtr rdata = createRdata(RRType(type_txt), RRClass(class_txt),
nsname_txt);
On success, Internally, these functions uses the corresponding | |
RdataPtr | isc::dns::rdata::createRdata (const RRType &rrtype, const RRClass &rrclass, const std::string &rdata_string) |
Create RDATA of a given pair of RR type and class from a string. More... | |
RdataPtr | isc::dns::rdata::createRdata (const RRType &rrtype, const RRClass &rrclass, isc::util::InputBuffer &buffer, size_t len) |
Create RDATA of a given pair of RR type and class from wire-format data. More... | |
RdataPtr | isc::dns::rdata::createRdata (const RRType &rrtype, const RRClass &rrclass, const Rdata &source) |
Create RDATA of a given pair of RR type and class, copying of another RDATA of same kind. More... | |
RdataPtr | isc::dns::rdata::createRdata (const RRType &rrtype, const RRClass &rrclass, MasterLexer &lexer, const Name *origin, MasterLoader::Options options, MasterLoaderCallbacks &callbacks) |
Create RDATA of a given pair of RR type and class using the master lexer. More... | |