Kea 2.7.5
|
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. | |
uint16_t | getCode () const |
Return the option code of this pseudo RR. | |
const uint8_t * | getData () const |
Return the option data of this pseudo RR. | |
uint16_t | getLength () const |
Return the length of the option data of this pseudo RR. | |
A class representing a pseudo RR (or option) within an OPT RR (see RFC 6891).
Definition at line 265 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.