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