GetType() const
Returns the IPv6 Option Type value.
IsPadding() const
Indicates whether IPv6 Option is padding (either Pad1 or PadN).
GetAction() const
Returns the IPv6 Option action for unrecognized IPv6 Options.
GetLength() const
Returns the IPv6 Option Length value.
GetSize() const
Returns the size (number of bytes) of the IPv6 Option. Returns the proper size of the Option independent of its type, particularly if Option is Pad1 (which does not follow the common Option header structure and has only Type field with no Length field). For other Option types, the returned size includes the Type and Length fields.
ParseFrom()
Parses and validates the IPv6 Option from a given message. The Option is read from @p aOffset in @p aMessage. This method then checks that the entire Option is present within @p aOffsetRange.
SetType()
Sets the IPv6 Option Type value.
SetLength()
Sets the IPv6 Option Length value.