| /webrtc/turn/src/allocation/ |
| H A D | allocation_test.rs | 5 use stun::{attributes::ATTR_USERNAME, textattrs::TextAttribute}; 18 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_has_permission() 56 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_add_permission() 80 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_remove_permission() 113 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_add_channel_bind() 147 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_get_channel_by_number() 183 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_get_channel_by_addr() 215 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_remove_channel_bind() 252 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_allocation_refresh() 274 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_allocation_close()
|
| /webrtc/turn/src/allocation/allocation_manager/ |
| H A D | allocation_manager_test.rs | 19 use stun::{attributes::ATTR_USERNAME, textattrs::TextAttribute}; 79 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_packet_handler() 184 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_create_allocation_duplicate_five_tuple() 194 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_create_allocation_duplicate_five_tuple() 219 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_delete_allocation() 259 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_allocation_timeout() 308 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_manager_close() 319 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_manager_close() 356 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_delete_allocation_by_username() 365 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_delete_allocation_by_username() [all …]
|
| /webrtc/stun/src/textattrs/ |
| H A D | textattrs_test.rs | 86 attr: ATTR_USERNAME, in test_username() 94 attr: ATTR_USERNAME, in test_username() 113 let got = TextAttribute::get_from_as(&m, ATTR_USERNAME)?; in test_username() 122 let result = TextAttribute::get_from_as(&m, ATTR_USERNAME); in test_username() 137 attr: ATTR_USERNAME, in test_username()
|
| /webrtc/stun/src/ |
| H A D | textattrs.rs | 55 ATTR_USERNAME => MAX_USERNAME_B, in add_to() 84 ATTR_USERNAME => {} in get_from_as()
|
| H A D | attributes.rs | 39 ATTR_USERNAME => "USERNAME", in fmt() 95 pub const ATTR_USERNAME: AttrType = AttrType(0x0006); // USERNAME constant
|
| /webrtc/turn/src/allocation/channel_bind/ |
| H A D | channel_bind_test.rs | 8 use stun::{attributes::ATTR_USERNAME, textattrs::TextAttribute}; 19 TextAttribute::new(ATTR_USERNAME, "user".into()), in create_channel_bind()
|
| /webrtc/turn/src/server/request/ |
| H A D | request_test.rs | 94 TextAttribute::new(ATTR_USERNAME, "user".into()), in test_allocation_lifetime_deletion_zero_lifetime() 108 Username::new(ATTR_USERNAME, STATIC_KEY.to_owned()).add_to(&mut m)?; in test_allocation_lifetime_deletion_zero_lifetime()
|
| /webrtc/stun/benches/ |
| H A D | bench.rs | 12 ATTR_REALM, ATTR_SOFTWARE, ATTR_USERNAME, ATTR_XORMAPPED_ADDRESS, 105 m.add(ATTR_USERNAME, &[1, 2, 3, 4, 5, 6, 7]); in benchmark_attributes() 108 let _ = m.get(ATTR_USERNAME); in benchmark_attributes() 199 let username = Username::new(ATTR_USERNAME, "username".to_owned()); in benchmark_message_build_overhead() 511 let u = Username::new(ATTR_USERNAME, "test".to_owned()); in benchmark_text_attributes() 522 let mut u = Username::new(ATTR_USERNAME, "test".to_owned()); in benchmark_text_attributes()
|
| /webrtc/turn/src/client/relay_conn/ |
| H A D | relay_conn_test.rs | 44 username: Username::new(ATTR_USERNAME, "username".to_owned()), in test_relay_conn()
|
| /webrtc/ice/src/udp_mux/ |
| H A D | mod.rs | 18 attributes::ATTR_USERNAME, 132 let (attr, found) = message.attributes.get(ATTR_USERNAME); in conn_from_stun_message()
|
| H A D | udp_mux_test.rs | 188 m.add(ATTR_USERNAME, format!("{ufrag}:otherufrag").as_bytes()); in test_mux_connection()
|
| /webrtc/ice/src/agent/ |
| H A D | agent_selector.rs | 122 Box::new(Username::new(ATTR_USERNAME, username)), in nominate_pair() 283 Box::new(Username::new(ATTR_USERNAME, username)), in ping_candidate() 435 Box::new(Username::new(ATTR_USERNAME, username)), in ping_candidate()
|
| H A D | agent_test.rs | 274 Box::new(Username::new(ATTR_USERNAME, username)), in test_handle_peer_reflexive_udp_pflx_candidate() 622 Box::new(Username::new(ATTR_USERNAME, username)), in build_msg() 814 Box::new(Username::new(ATTR_USERNAME, username)), in test_inbound_validity()
|
| /webrtc/ice/src/util/ |
| H A D | mod.rs | 25 let mut username = Username::new(ATTR_USERNAME, String::new()); in assert_inbound_username()
|
| /webrtc/stun/src/message/ |
| H A D | message_test.rs | 302 ATTR_USERNAME, in test_attr_type_string()
|
| /webrtc/turn/src/client/ |
| H A D | mod.rs | 193 username: Username::new(ATTR_USERNAME, config.username), in new()
|
| /webrtc/turn/src/server/ |
| H A D | request.rs | 153 let mut username_attr = Username::new(ATTR_USERNAME, String::new()); in authenticate_request()
|