ot::Ip6::Header::SetPayloadLength() method
Sets the IPv6 Payload Length value.
Syntax
void SetPayloadLength(uint16_t aLength); Arguments
aLength
The IPv6 Payload Length value.
![]()
header.SetPayloadLength(payloadLength);
ot::Ip6::Header::SetPayloadLength() is called by 5 functions and calls 1 function:
![]()
ot::Ip6::Header::SetPayloadLength()
ot::Ip6::Header::SetPayloadLength() writes 1 variable:
![]()
ot::Ip6::Header::SetPayloadLength()