Home
last modified time | relevance | path

Searched refs:five_tuple (Results 1 – 6 of 6) sorted by relevance

/webrtc/turn/src/allocation/
H A Dallocation_manager.rs58 guarded.iter().for_each(|(five_tuple, alloc)| { 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()
[all …]
H A Dmod.rs6 pub mod five_tuple; module
12 use five_tuple::*;
43 pub five_tuple: FiveTuple, field
56 five_tuple: FiveTuple, in new()
61 five_tuple, in new()
76 five_tuple: FiveTuple, field
99 five_tuple: FiveTuple, in new()
108 five_tuple, in new()
255 five_tuple: self.five_tuple, in close()
271 let five_tuple = self.five_tuple; in start() localVariable
[all …]
/webrtc/turn/src/server/request/
H A Drequest_test.rs82 let five_tuple = FiveTuple { in test_allocation_lifetime_deletion_zero_lifetime() localVariable
90 five_tuple, in test_allocation_lifetime_deletion_zero_lifetime()
99 .get_allocation(&five_tuple) in test_allocation_lifetime_deletion_zero_lifetime()
113 .get_allocation(&five_tuple) in test_allocation_lifetime_deletion_zero_lifetime()
/webrtc/turn/src/allocation/allocation_manager/
H A Dallocation_manager_test.rs176 let five_tuple = random_five_tuple(); in test_create_allocation_duplicate_five_tuple() localVariable
180 five_tuple, in test_create_allocation_duplicate_five_tuple()
190 five_tuple, in test_create_allocation_duplicate_five_tuple()
211 let five_tuple = random_five_tuple(); in test_delete_allocation() localVariable
215 five_tuple, in test_delete_allocation()
224 m.get_allocation(&five_tuple).await.is_some(), in test_delete_allocation()
228 m.delete_allocation(&five_tuple).await; in test_delete_allocation()
231 m.get_allocation(&five_tuple).await.is_none(), in test_delete_allocation()
251 let five_tuple = random_five_tuple(); in test_allocation_timeout() localVariable
255 five_tuple, in test_allocation_timeout()
/webrtc/turn/src/server/
H A Drequest.rs6 use crate::allocation::five_tuple::*;
297 let five_tuple = FiveTuple { in handle_allocate_request() localVariable
310 .get_allocation(&five_tuple) in handle_allocate_request()
475 five_tuple, in handle_allocate_request()
566 let five_tuple = FiveTuple { in handle_refresh_request() localVariable
573 let a = self.allocation_manager.get_allocation(&five_tuple).await; in handle_refresh_request()
580 self.allocation_manager.delete_allocation(&five_tuple).await; in handle_refresh_request()
H A Dmod.rs8 allocation::{allocation_manager::*, five_tuple::FiveTuple, AllocationInfo},