ot::Dns::Name::AppendPointerLabel() method
Appends a pointer type name label to a message. Pointer label is used for name compression. It allows an entire name or a list of labels at the end of an encoded name to be replaced with a pointer to a prior occurrence of the same name within the message.
Arguments
aOffset
The offset from the start of DNS header to use for pointer value.
aMessage
The message to append to.
Return value
kErrorNone Successfully encoded and appended the pointer label to @p aMessage. kErrorNoBufs Insufficient available buffers to grow the message.
ot::Dns::Name::AppendPointerLabel() is called by 2 functions and calls 6 functions:
![]()
ot::Dns::Name::AppendPointerLabel()
ot::Dns::Name::AppendPointerLabel() reads 1 variable:
![]()
ot::Dns::Name::AppendPointerLabel()