riot_sys

Function os_mbuf_dup

Source
pub unsafe extern "C" fn os_mbuf_dup(m: *mut os_mbuf) -> *mut os_mbuf
Expand description

Duplicate a chain of mbufs. Return the start of the duplicated chain.

@param omp The mbuf pool to duplicate out of @param om The mbuf chain to duplicate

@return A pointer to the new chain of mbufs