#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_gateway_packet_gateway(
packet: *const PamojaGatewayPacket,
out_gateway: *mut u8,
) -> boolExpand description
Writes the gateway’s identifier, for the datagrams that carry one.
§Arguments
packet- the packet.out_gateway- receivesPAMOJA_GATEWAY_EUI_LENbytes.
§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.