Kea
1.9.9-git
|
A class representing a pseudo RR (or option) within an OPT RR (see RFC 6891). More...
#include <rdataclass.h>
Public Member Functions | |
PseudoRR (uint16_t code, boost::shared_ptr< std::vector< uint8_t > > &data) | |
Constructor. More... | |
uint16_t | getCode () const |
Return the option code of this pseudo RR. More... | |
const uint8_t * | getData () const |
Return the option data of this pseudo RR. More... | |
uint16_t | getLength () const |
Return the length of the option data of this pseudo RR. More... | |
A class representing a pseudo RR (or option) within an OPT RR (see RFC 6891).
Definition at line 1521 of file rdataclass.h.
isc::dns::rdata::generic::OPT::PseudoRR::PseudoRR | ( | uint16_t | code, |
boost::shared_ptr< std::vector< uint8_t > > & | data | ||
) |
Constructor.
code | The OPTION-CODE field of the pseudo RR. |
data | The OPTION-DATA field of the pseudo RR. OPTION-LENGTH is set to the length of this vector. |
uint16_t isc::dns::rdata::generic::OPT::PseudoRR::getCode | ( | ) | const |
Return the option code of this pseudo RR.
const uint8_t* isc::dns::rdata::generic::OPT::PseudoRR::getData | ( | ) | const |
Return the option data of this pseudo RR.
uint16_t isc::dns::rdata::generic::OPT::PseudoRR::getLength | ( | ) | const |
Return the length of the option data of this pseudo RR.