pub unsafe extern "C" fn os_mbuf_prepend_pullup(
    om: *mut os_mbuf,
    len: u16
) -> *mut os_mbuf
Expand description

Prepends a chunk of empty data to the specified mbuf chain and ensures the chunk is contiguous. If either operation fails, the specified mbuf chain is freed and NULL is returned.

@param om The mbuf chain to prepend to. @param len The number of bytes to prepend and pullup.

@return The modified mbuf on success; NULL on failure (and the mbuf chain is freed).