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