Home
last modified time | relevance | path

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

/webrtc/turn/src/allocation/
H A Dchannel_bind.rs14 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 Dallocation_test.rs118 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 Dmod.rs79 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 Dchannel_bind_test.rs24 let c = ChannelBind::new(ChannelNumber(MIN_CHANNEL_NUMBER), addr); in create_channel_bind()
/webrtc/turn/src/server/
H A Drequest.rs5 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 Dallocation_manager_test.rs86 let channel_bind = ChannelBind::new( in test_packet_handler()