pub unsafe extern "C" fn gnrc_netapi_dispatch(
    type_: gnrc_nettype_t,
    demux_ctx: u32,
    cmd: u16,
    pkt: *mut gnrc_pktsnip_t
) -> c_int
Expand description

@brief Sends @p cmd to all subscribers to (@p type, @p demux_ctx).

@param[in] type protocol type of the targeted network module. @param[in] demux_ctx demultiplexing context for @p type. @param[in] cmd command for all subscribers @param[in] pkt pointer into the packet buffer holding the data to send

@return Number of subscribers to (@p type, @p demux_ctx).