Skip to main content

pamoja_gateway_packet_gateway

Function pamoja_gateway_packet_gateway 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_gateway_packet_gateway( packet: *const PamojaGatewayPacket, out_gateway: *mut u8, ) -> bool
Expand description

Writes the gateway’s identifier, for the datagrams that carry one.

§Arguments

§Returns

true when the packet carries an identifier, which the datagrams a server sends do not.

§Safety

packet must be a live handle or null, and out_gateway must point at PAMOJA_GATEWAY_EUI_LEN writable bytes or be null.