Home
last modified time | relevance | path

Searched refs:Permission (Results 1 – 24 of 24) sorted by relevance

/webrtc/turn/src/client/
H A Dpermission.rs23 pub(crate) struct Permission { struct
27 impl Permission { impl
40 perm_map: HashMap<String, Arc<Permission>>,
50 pub(crate) fn insert(&mut self, addr: &SocketAddr, p: Arc<Permission>) { in insert() argument
54 pub(crate) fn find(&self, addr: &SocketAddr) -> Option<&Arc<Permission>> { in find() argument
H A Drelay_conn.rs217 let perm = Arc::new(Permission::default()); in send_to()
366 async fn create_perm(&mut self, perm: &Arc<Permission>, addr: SocketAddr) -> Result<(), Error> { in create_perm() argument
/webrtc/turn/src/allocation/
H A Dpermission.rs12 pub struct Permission { struct
14 pub(crate) permissions: Option<Arc<Mutex<HashMap<String, Permission>>>>, argument
19 impl Permission { argument
22 Permission { in new()
H A Dallocation_test.rs26 let p1 = Permission::new(addr1); in test_has_permission()
27 let p2 = Permission::new(addr2); in test_has_permission()
28 let p3 = Permission::new(addr3); in test_has_permission()
61 let p = Permission::new(addr); in test_add_permission()
86 let p = Permission::new(addr); in test_remove_permission()
289 a.add_permission(Permission::new(addr)).await; in test_allocation_close()
H A Dmod.rs78 permissions: Arc<Mutex<HashMap<String, Permission>>>,
129 pub async fn add_permission(&self, mut p: Permission) { in add_permission() argument
178 self.add_permission(Permission::new(cb.peer)).await; in add_channel_bind()
196 self.add_permission(Permission::new(peer)).await; in add_channel_bind()
/webrtc/sctp/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/data/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/ice/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/rtp/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/dtls/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/examples/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/util/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/turn/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/stun/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/rtcp/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/mdns/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/media/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/srtp/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/interceptor/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/constraints/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/sdp/
H A DLICENSE-MIT5 Permission is hereby granted, free of charge, to any person obtaining a copy
/webrtc/turn/src/server/
H A Drequest.rs7 use crate::allocation::permission::Permission;
636 a.add_permission(Permission::new(SocketAddr::new( in handle_create_permission_request()
/webrtc/turn/src/allocation/allocation_manager/
H A Dallocation_manager_test.rs93 a.add_permission(Permission::new(peer_listener1.local_addr()?)) in test_packet_handler()