Struct riot_sys::os_mbuf[][src]

#[repr(C)]
pub struct os_mbuf { pub om_data: *mut u8, pub om_flags: u8, pub om_pkthdr_len: u8, pub om_len: u16, pub om_omp: *mut os_mbuf_pool, pub om_next: os_mbuf__bindgen_ty_1, pub om_databuf: __IncompleteArrayField<u8>, }
Expand description

Chained memory buffer.

Fields

om_data: *mut u8

Current pointer to data in the structure

om_flags: u8

Flags associated with this buffer, see OS_MBUF_F_* defintions

om_pkthdr_len: u8

Length of packet header

om_len: u16

Length of data in this buffer

om_omp: *mut os_mbuf_pool

The mbuf pool this mbuf was allocated out of

om_next: os_mbuf__bindgen_ty_1om_databuf: __IncompleteArrayField<u8>

Pointer to the beginning of the data, after this buffer

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

Performs the conversion.

Performs the conversion.

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.