[][src]Function apache_nimble_sys::os_mbuf_trim_front

pub unsafe extern "C" fn os_mbuf_trim_front(om: *mut os_mbuf) -> *mut os_mbuf

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.