Lines Matching refs:five_tuple
58 guarded.iter().for_each(|(five_tuple, alloc)| { in get_allocations_info()
59 if five_tuples.is_none() || five_tuples.as_ref().unwrap().contains(five_tuple) { in get_allocations_info()
61 *five_tuple, in get_allocations_info()
63 *five_tuple, in get_allocations_info()
76 pub async fn get_allocation(&self, five_tuple: &FiveTuple) -> Option<Arc<Allocation>> { in get_allocation()
78 allocations.get(five_tuple).map(Arc::clone) in get_allocation()
84 five_tuple: FiveTuple, in create_allocation()
94 if self.get_allocation(&five_tuple).await.is_some() { in create_allocation()
106 five_tuple, in create_allocation()
119 allocations.insert(five_tuple, Arc::clone(&a)); in create_allocation()
126 pub async fn delete_allocation(&self, five_tuple: &FiveTuple) { in delete_allocation()
127 let allocation = self.allocations.lock().await.remove(five_tuple); in delete_allocation()