Function esp_idf_sys::os_mbuf_trim_front

source ยท
pub unsafe extern "C" fn os_mbuf_trim_front(
    om: *mut os_mbuf,
) -> *mut os_mbuf
Expand description

Removes and frees empty mbufs from the front of a chain. If the chain contains a packet header, it is preserved.

@param om The mbuf chain to trim.

@return The head of the trimmed mbuf chain.