Function riot_wrappers::gnrc::netapi::dispatch_send
source · pub fn dispatch_send(
nettype: gnrc_nettype_t,
demux_ctx: u32,
pkt: impl Into<Pktsnip<Shared>>
) -> i32
Available on
riot_module_gnrc
only.Expand description
Dispatch a packet to all listeners of the given nettype and demux context.
The return value indicates the number of recipients (which, unlike in the wrapped gnrc_netapi_dispatch_send call, may be ignored if nondelivery of the packet is OK).