riot_sys::bindgen

Function gnrc_pktbuf_hold

Source
pub unsafe extern "C" fn gnrc_pktbuf_hold(
    pkt: *mut gnrc_pktsnip_t,
    num: c_uint,
)
Expand description

@brief Increases gnrc_pktsnip_t::users of @p pkt atomically.

@param[in] pkt A packet. @param[in] num Number you want to increment gnrc_pktsnip_t::users of @p pkt by.