16 #include <boost/shared_ptr.hpp>
65 size_t transid_offset = 1,
66 uint32_t transid = 0);
107 std::vector<uint8_t>::iterator first,
108 std::vector<uint8_t>::iterator last);
119 PktTransform::writeValueAt<T>(
data_, dest_pos, val);
123 size_t transid_offset_;
132 #endif // PERF_PKT6_H
size_t getTransidOffset() const
Returns transaction id offset in packet buffer.
boost::shared_ptr< PerfPkt6 > PerfPkt6Ptr
OptionBuffer data_
Unparsed data (in received packets).
bool rawPack()
Prepares on-wire format from raw buffer.
Represents a DHCPv6 packet.
PerfPkt6(const uint8_t *buf, size_t len, size_t transid_offset=1, uint32_t transid=0)
Constructor, used to create messages from packet template files.
virtual size_t len()
Returns length of the packet.
Defines the logger used by the top-level component of kea-dhcp-ddns.
void writeAt(size_t dest_pos, std::vector< uint8_t >::iterator first, std::vector< uint8_t >::iterator last)
Replace contents of buffer with data.
bool rawUnpack()
Handles limited binary packet parsing for packets with custom offsets of options and transaction id...
boost::shared_ptr< LocalizedOption > LocalizedOptionPtr
Localized option pointer type.
void writeValueAt(size_t dest_pos, T val)
Replace contents of buffer with value.