riot_sys::bindgen

Function os_mbuf_adj

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

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.