11 #include <boost/shared_ptr.hpp>
39 Option6IA(uint16_t type, OptionBuffer::const_iterator begin,
40 OptionBuffer::const_iterator end);
65 virtual std::string
toText(
int indent = 0)
const;
103 virtual uint16_t
len()
const;
120 #endif // OPTION_IA_H
uint32_t getIAID() const
Returns IA identifier.
virtual std::string toText(int indent=0) const
Provides human readable text representation.
virtual void unpack(OptionBufferConstIter begin, OptionBufferConstIter end)
Parses received buffer.
void pack(isc::util::OutputBuffer &buf) const
Writes option in wire-format to buf, returns pointer to first unused byte after stored option...
uint32_t getT2() const
Returns T2 timer.
boost::shared_ptr< Option > OptionPtr
virtual OptionPtr clone() const
Copies this option and returns a pointer to the copy.
boost::shared_ptr< Option6IA > Option6IAPtr
A pointer to the Option6IA object.
virtual uint16_t len() const
returns complete length of option
uint32_t t1_
keeps T1 timer value
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
OptionBuffer::const_iterator OptionBufferConstIter
const_iterator for walking over OptionBuffer
Defines the logger used by the top-level component of kea-dhcp-ddns.
uint32_t getT1() const
Returns T1 timer.
uint32_t iaid_
keeps IA identifier
void setT2(uint32_t t2)
Sets T2 timer.
void setIAID(uint32_t iaid)
Sets Identity Association Identifier.
static const size_t OPTION6_IA_LEN
Length of IA_NA and IA_PD content.
uint32_t t2_
keeps T2 timer value
void setT1(uint32_t t1)
Sets T1 timer.
Option6IA(uint16_t type, uint32_t iaid)
Ctor, used for constructed options, usually during transmission.