Searched refs:ChannelBind (Results 1 – 6 of 6) sorted by relevance
| /webrtc/turn/src/allocation/ |
| H A D | channel_bind.rs | 14 pub struct ChannelBind { struct 17 pub(crate) channel_bindings: Option<Arc<Mutex<HashMap<ChannelNumber, ChannelBind>>>>, argument 22 impl ChannelBind { implementation 25 ChannelBind { in new()
|
| H A D | allocation_test.rs | 118 let c = ChannelBind::new(ChannelNumber(MIN_CHANNEL_NUMBER), addr); in test_add_channel_bind() 122 let c2 = ChannelBind::new(ChannelNumber(MIN_CHANNEL_NUMBER + 1), addr); in test_add_channel_bind() 130 let c3 = ChannelBind::new(ChannelNumber(MIN_CHANNEL_NUMBER), addr2); in test_add_channel_bind() 152 let c = ChannelBind::new(ChannelNumber(MIN_CHANNEL_NUMBER), addr); in test_get_channel_by_number() 189 let c = ChannelBind::new(ChannelNumber(MIN_CHANNEL_NUMBER), addr); in test_get_channel_by_addr() 221 let c = ChannelBind::new(number, addr); in test_remove_channel_bind() 284 let c = ChannelBind::new(number, addr); in test_allocation_close()
|
| H A D | mod.rs | 79 channel_bindings: Arc<Mutex<HashMap<ChannelNumber, ChannelBind>>>, 157 pub async fn add_channel_bind(&self, mut c: ChannelBind, lifetime: Duration) -> Result<()> { in add_channel_bind() argument
|
| /webrtc/turn/src/allocation/channel_bind/ |
| H A D | channel_bind_test.rs | 24 let c = ChannelBind::new(ChannelNumber(MIN_CHANNEL_NUMBER), addr); in create_channel_bind()
|
| /webrtc/turn/src/server/ |
| H A D | request.rs | 5 use crate::allocation::channel_bind::ChannelBind; 752 ChannelBind::new(channel, SocketAddr::new(peer_addr.ip, peer_addr.port)), in handle_channel_bind_request()
|
| /webrtc/turn/src/allocation/allocation_manager/ |
| H A D | allocation_manager_test.rs | 86 let channel_bind = ChannelBind::new( in test_packet_handler()
|