13#include <boost/shared_ptr.hpp>
Represents DHCPv4 packet.
Represents DHCPv4-over-DHCPv6 packet.
Pkt4o6(const OptionBuffer &pkt4, const Pkt6Ptr &pkt6)
Constructor, used in message reception.
virtual void pack()
Prepares on-wire format of DHCPv4-over-DHCPv6 packet.
virtual void setCopyRetrievedOptions(const bool copy)
Overrides the Pkt::setCopyRetrievedOptions to also set the flag for encapsulated Pkt6 instance.
virtual bool isDhcp4o6() const
Checks if a DHCPv4 message has been transported over DHCPv6.
Pkt6Ptr getPkt6() const
Returns encapsulating DHCPv6 message.
ElementPtr copy(ConstElementPtr from, int level)
Copy the data up to a nesting level.
boost::shared_ptr< Pkt4 > Pkt4Ptr
A pointer to Pkt4 object.
boost::shared_ptr< Pkt4o6 > Pkt4o6Ptr
A pointer to Pkt4o6 object.
boost::shared_ptr< Pkt6 > Pkt6Ptr
A pointer to Pkt6 packet.
std::vector< uint8_t > OptionBuffer
buffer types used in DHCP code.
Defines the logger used by the top-level component of kea-lfc.