27 size_t transid_offset,
30 transid_offset_(transid_offset) {
60 std::vector<uint8_t>::iterator first,
61 std::vector<uint8_t>::iterator last) {
Represents a DHCPv6 packet.
OptionBuffer data_
Unparsed data (in received packets).
uint32_t getTransid() const
Returns value of transaction-id field.
isc::dhcp::OptionCollection options_
Collection of options present in this message.
isc::util::OutputBuffer buffer_out_
Output buffer (used during message transmission)
void setTransid(uint32_t transid)
Sets transaction-id value.
bool rawUnpack()
Handles limited binary packet parsing for packets with custom offsets of options and transaction id.
bool rawPack()
Prepares on-wire format from raw buffer.
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.
size_t getTransidOffset() const
Returns transaction id offset in packet buffer.
void writeAt(size_t dest_pos, std::vector< uint8_t >::iterator first, std::vector< uint8_t >::iterator last)
Replace contents of buffer with data.
Defines the logger used by the top-level component of kea-lfc.