Struct capsules::net::sixlowpan::RxState [] [src]

pub struct RxState<'a> {
    packet: TakeCell<'static, [u8]>,
    bitmap: MapCell<Bitmap>,
    dst_mac_addr: Cell<MacAddress>,
    src_mac_addr: Cell<MacAddress>,
    dgram_tag: Cell<u16>,
    dgram_size: Cell<u16>,
    busy: Cell<bool>,
    start_time: Cell<u32>,
    next: ListLink<'a, RxState<'a>>,
}
[]

Tracks the decompression and defragmentation of an IPv6 packet

A list of RxStates is maintained by Sixlowpan to keep track of ongoing packet reassemblies. The number of RxStates is the number of packets that can be reassembled at the same time. Generally, two RxStates are sufficient for normal-case operation.

Fields

Methods

impl<'a> RxState<'a>
[src]

[src]
[]

Creates a new RxState

Arguments

packet - A buffer for reassembling an IPv6 packet. Currently, we assume this to be 1280 bytes long (the minimum IPv6 MTU size).

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> ListNode<'a, RxState<'a>> for RxState<'a>
[src]

[src]