fn get_origin_id_v6(
reply_dst: u128,
reply_sport: u16,
reply_dport: u16,
origin_map: &Vec<Origin>,
) -> Option<u32>Expand description
Get the origin ID from the origin map based on the reply destination address and ports.
§Arguments
-
reply_dst- the destination address of the reply -
reply_sport- the source port of the reply -
reply_dport- the destination port of the reply -
origin_map- the origin map to search in
§Returns
Option<u32>- the origin ID if found, None otherwise