[][src]Function apache_nimble_sys::os_mbuf_adj

pub unsafe extern "C" fn os_mbuf_adj(mp: *mut os_mbuf, req_len: c_int)

Adjust the length of a mbuf, trimming either from the head or the tail of the mbuf.

@param mp The mbuf chain to adjust @param req_len The length to trim from the mbuf. If positive, trims from the head of the mbuf, if negative, trims from the tail of the mbuf.