Struct smoltcp::wire::Ipv6FragmentHeader [−][src]
Expand description
A read/write wrapper around an IPv6 Fragment Header.
Implementations
Create a raw octet buffer with an IPv6 Fragment 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.
Consume the header, returning the underlying buffer.
Return the next header field.
Return the fragment offset field.
Return more fragment flag field.
Set the next header field.
Set reserved fields.
Set 8-bit reserved field after the next header field. Set 2-bit reserved field between fragment offset and more fragments.
Set the fragment offset field.
Set the more fragments flag field.