Home
last modified time | relevance | path

Searched refs:ATTR_USERNAME (Results 1 – 17 of 17) sorted by relevance

/webrtc/turn/src/allocation/
H A Dallocation_test.rs5 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 Dallocation_manager_test.rs19 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 Dtextattrs_test.rs86 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 Dtextattrs.rs55 ATTR_USERNAME => MAX_USERNAME_B, in add_to()
84 ATTR_USERNAME => {} in get_from_as()
H A Dattributes.rs39 ATTR_USERNAME => "USERNAME", in fmt()
95 pub const ATTR_USERNAME: AttrType = AttrType(0x0006); // USERNAME constant
/webrtc/turn/src/allocation/channel_bind/
H A Dchannel_bind_test.rs8 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 Drequest_test.rs94 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 Dbench.rs12 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 Drelay_conn_test.rs44 username: Username::new(ATTR_USERNAME, "username".to_owned()), in test_relay_conn()
/webrtc/ice/src/udp_mux/
H A Dmod.rs18 attributes::ATTR_USERNAME,
132 let (attr, found) = message.attributes.get(ATTR_USERNAME); in conn_from_stun_message()
H A Dudp_mux_test.rs188 m.add(ATTR_USERNAME, format!("{ufrag}:otherufrag").as_bytes()); in test_mux_connection()
/webrtc/ice/src/agent/
H A Dagent_selector.rs122 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 Dagent_test.rs274 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 Dmod.rs25 let mut username = Username::new(ATTR_USERNAME, String::new()); in assert_inbound_username()
/webrtc/stun/src/message/
H A Dmessage_test.rs302 ATTR_USERNAME, in test_attr_type_string()
/webrtc/turn/src/client/
H A Dmod.rs193 username: Username::new(ATTR_USERNAME, config.username), in new()
/webrtc/turn/src/server/
H A Drequest.rs153 let mut username_attr = Username::new(ATTR_USERNAME, String::new()); in authenticate_request()