Struct smoltcp::wire::Ipv6Repr [−][src]
pub struct Ipv6Repr {
pub src_addr: Address,
pub dst_addr: Address,
pub next_header: Protocol,
pub payload_len: usize,
pub hop_limit: u8,
}
Expand description
A high-level representation of an Internet Protocol version 6 packet header.
Fields
src_addr: Address
IPv6 address of the source node.
dst_addr: Address
IPv6 address of the destination node.
next_header: Protocol
Protocol contained in the next header.
payload_len: usize
Length of the payload including the extension headers.
hop_limit: u8
The 8-bit hop limit field.
Implementations
Parse an Internet Protocol version 6 packet and return a high-level representation.
Return the length of a header that will be emitted from this high-level representation.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Repr
impl UnwindSafe for Repr
Blanket Implementations
Mutably borrows from an owned value. Read more