ot::Ip6::PadOption::InitForPadSize() method
Initializes the Pad Option for a given total Pad size. The @p aPadSize MUST be from range 1-7. Otherwise the behavior of this method is undefined.
Arguments
aPadSize
The total number of needed padding bytes.
![]()
padOption.InitForPadSize(static_cast<uint8_t>(mplOffsetRange.GetLength()));
ot::Ip6::PadOption::InitForPadSize() is called by 2 functions:
![]()
ot::Ip6::PadOption::InitForPadSize()
ot::Ip6::PadOption::InitForPadSize() reads 5 variables:
![]()
ot::Ip6::PadOption::InitForPadSize()