| /webrtc/stun/src/ |
| H A D | textattrs.rs | 19 pub type Username = TextAttribute; 24 pub type Realm = TextAttribute; 29 pub type Nonce = TextAttribute; 34 pub type Software = TextAttribute; 38 pub struct TextAttribute { struct 43 impl fmt::Display for TextAttribute { argument 49 impl Setter for TextAttribute { implementation 68 impl Getter for TextAttribute { implementation 76 impl TextAttribute { impl 78 TextAttribute { attr, text } in new() [all …]
|
| /webrtc/stun/src/textattrs/ |
| H A D | textattrs_test.rs | 21 let software = TextAttribute::get_from_as(&m, ATTR_SOFTWARE)?; in test_software_get_from() 36 let s = TextAttribute { in test_software_add_to_invalid() 73 let s = TextAttribute { in test_software_add_to_regression() 85 let u = TextAttribute { in test_username() 93 let bad_u = TextAttribute { in test_username() 136 let u = TextAttribute { in test_username() 176 let r = TextAttribute::get_from_as(&m, ATTR_REALM)?; in test_realm_get_from() 191 let s = TextAttribute { in test_realm_add_to_invalid() 249 let r = TextAttribute::get_from_as(&m, ATTR_NONCE)?; in test_nonce_get_from() 264 let s = TextAttribute { in test_nonce_add_to_invalid() [all …]
|
| /webrtc/stun/src/fingerprint/ |
| H A D | fingerprint_test.rs | 2 use crate::textattrs::TextAttribute; 10 let a = TextAttribute { in fingerprint_uses_crc_32_iso_hdlc() 30 let a = TextAttribute { in test_fingerprint_check() 51 let a = TextAttribute { in test_fingerprint_check_bad()
|
| /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/stun/src/integrity/ |
| H A D | integrity_test.rs | 5 use crate::textattrs::TextAttribute; 25 let a = TextAttribute { in test_message_integrity_add_to_simple() 51 let a = TextAttribute { in test_message_integrity_with_fingerprint()
|
| /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/attributes/ |
| H A D | attributes_test.rs | 2 use crate::textattrs::TextAttribute; 23 let a = TextAttribute { in test_message_get_no_allocs()
|
| /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/stun/src/message/ |
| H A D | message_test.rs | 6 use crate::textattrs::TextAttribute; 576 let a = TextAttribute { in test_is_message() 622 Box::new(TextAttribute::new(ATTR_SOFTWARE, "pion/stun".to_owned())), in test_message_full_size() 648 Box::new(TextAttribute::new(ATTR_SOFTWARE, "pion/stun".to_owned())), in test_message_clone_to() 721 Box::new(TextAttribute::new(ATTR_SOFTWARE, "software".to_owned())), in test_message_marshal_binary()
|
| /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()
|