[][src]Function mynewt::kernel::os::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.

Return: The head of the trimmed mbuf chain.