[−][src]Function mynewt::kernel::os::os_mbuf_pool_init
pub unsafe extern "C" fn os_mbuf_pool_init(
arg1: *mut os_mbuf_pool,
mp: *mut os_mempool,
arg2: u16,
arg3: u16
) -> c_int
Initialize a pool of mbufs.
omp
: The mbuf pool to initializemp
: The memory pool that will hold this mbuf poolbuf_len
: The length of the buffer itself.nbufs
: The number of buffers in the pool
Return: 0 on success, error code on failure.