pub struct IOBufChain {
    pub csum_flags: u32,
    pub csum_data: u32,
    pub vtag: Option<u32>,
    pub flags: u32,
    pub rss_flow_id: Option<usize>,
    pub rss_type: u32,
    pub segments: VecDeque<IOBuf>,
    /* private fields */
}
Expand description

An IO buffer.

Fields

csum_flags: u32

Check sum flags (set by driver on rx)

csum_data: u32

Checksum data (set by driver on rx)

vtag: Option<u32>

VLAN tag (set by device driver on rx)

flags: u32

Flags (to be used by device driver).

rss_flow_id: Option<usize>

Flow ID for RSS

rss_type: u32

RSS type

segments: VecDeque<IOBuf>

The IOBuf fragments

Implementations

Set meta-data provided by the driver

Trait Implementations

Formats the value using the given formatter. Read more

implementation for the index operator [] on IOBuf

The returned type after indexing.

Performs the indexing (container[index]) operation.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.