Skip to main content

pamoja_gateway_packet_rxpk_count

Function pamoja_gateway_packet_rxpk_count 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_gateway_packet_rxpk_count( packet: *const PamojaGatewayPacket, ) -> usize
Expand description

Returns how many packets a PUSH_DATA forwards.

§Arguments

  • packet - the packet.

§Returns

The count, or 0 for any other kind.

§Safety

packet must be a live handle, or null.