Struct smoltcp::wire::Ipv6HopByHopHeader [−][src]
Expand description
A read/write wrapper around an IPv6 Hop-by-Hop Options Header.
Implementations
Create a raw octet buffer with an IPv6 Hop-by-Hop Options Header structure.
Shorthand for a combination of new_unchecked and check_len.
Ensure that no accessor method will panic if called.
Returns Err(Error::Truncated)
if the buffer is too short.
The result of this check is invalidated by calling set_header_len.
Consume the header, returning the underlying buffer.
Return the next header field.
Return length of the Hop-by-Hop Options header in 8-octet units, not including the first 8 octets.
Set the next header field.
Set the option data length. Length of the Hop-by-Hop Options header in 8-octet units, not including the first 8 octets.