riot_sys::bindgen

Function gnrc_pktbuf_remove_snip

Source
pub unsafe extern "C" fn gnrc_pktbuf_remove_snip(
    pkt: *mut gnrc_pktsnip_t,
    snip: *mut gnrc_pktsnip_t,
) -> *mut gnrc_pktsnip_t
Expand description

@brief Deletes a snip from a packet and the packet buffer.

@param[in] pkt A packet. @param[in] snip A snip in the packet.

@return The new reference to @p pkt.