Struct esp_idf_sys::os_mbuf
source · #[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_1
§om_databuf: __IncompleteArrayField<u8>
Pointer to the beginning of the data, after this buffer