#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_mesh_seen_contains(
cache: *const PamojaSeenCache,
src: u32,
id: u16,
) -> boolExpand description
Reports whether a packet is currently remembered, without recording it.
§Arguments
cache- the duplicate cache.src- the address the packet came from.id- the sequence number the packet carries.
§Returns
true if the packet has been seen recently, or false if cache is null.
§Safety
cache must be a live handle from pamoja_mesh_seen_new, or null.