/// Packet context shared between host and WASM guest via linear memory.
////// Uses raw primitives (`u64` for interface IDs, `[u8; N]` for hashes) so that
/// `rns-hooks` has zero dependency on `rns-core`.
#[repr(C)]#[derive(Debug, Clone, Copy)]pubstructPacketContext{pubflags:u8,
pubhops:u8,
pubdestination_hash: [u8; 16],
pubcontext:u8,
pubpacket_hash: [u8; 32],
pubinterface_id:u64,
/// Offset from the start of this struct to variable-length packet data.
pubdata_offset:u32,
/// Length of the variable-length packet data.
pubdata_len:u32,
}