riot_sys

Function 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.