Function esp_idf_sys::os_mbuf_pool_init
source ยท pub unsafe extern "C" fn os_mbuf_pool_init(
arg1: *mut os_mbuf_pool,
mp: *mut os_mempool,
arg2: u16,
arg3: u16,
) -> c_int
Expand description
Initialize a pool of mbufs.
@param omp The mbuf pool to initialize @param mp The memory pool that will hold this mbuf pool @param buf_len The length of the buffer itself. @param nbufs The number of buffers in the pool
@return 0 on success, error code on failure.