Searched refs:ATTR_REALM (Results 1 – 9 of 9) sorted by relevance
| /webrtc/stun/src/textattrs/ |
| H A D | textattrs_test.rs | 152 m.add(ATTR_REALM, v.as_bytes()); in test_realm_get_from() 160 let result = TextAttribute::get_from_as(&m2, ATTR_REALM); in test_realm_get_from() 176 let r = TextAttribute::get_from_as(&m, ATTR_REALM)?; in test_realm_get_from() 179 let (r_attr, ok) = m.attributes.get(ATTR_REALM); in test_realm_get_from() 192 attr: ATTR_REALM, in test_realm_add_to_invalid() 205 let result = TextAttribute::get_from_as(&m, ATTR_REALM); in test_realm_add_to_invalid()
|
| /webrtc/stun/src/ |
| H A D | textattrs.rs | 56 ATTR_REALM => MAX_REALM_B, in add_to() 85 ATTR_REALM => {} in get_from_as()
|
| H A D | attributes.rs | 43 ATTR_REALM => "REALM", in fmt() 99 pub const ATTR_REALM: AttrType = AttrType(0x0014); // REALM constant
|
| /webrtc/turn/src/client/relay_conn/ |
| H A D | relay_conn_test.rs | 45 realm: Realm::new(ATTR_REALM, "realm".to_owned()), in test_relay_conn()
|
| /webrtc/stun/benches/ |
| H A D | bench.rs | 12 ATTR_REALM, ATTR_SOFTWARE, ATTR_USERNAME, ATTR_XORMAPPED_ADDRESS, 98 let _ = m.get(ATTR_REALM); in benchmark_attributes() 201 let realm = Realm::new(ATTR_REALM, "example.org".to_owned()); in benchmark_message_build_overhead() 572 ATTR_REALM, in benchmark_unknown_attributes()
|
| /webrtc/turn/src/server/request/ |
| H A D | request_test.rs | 107 Realm::new(ATTR_REALM, STATIC_KEY.to_owned()).add_to(&mut m)?; in test_allocation_lifetime_deletion_zero_lifetime()
|
| /webrtc/turn/src/client/ |
| H A D | mod.rs | 195 realm: Realm::new(ATTR_REALM, config.realm), in new() 511 self.realm = Realm::get_from_as(&res, ATTR_REALM)?; in allocate()
|
| /webrtc/turn/src/server/ |
| H A D | request.rs | 154 let mut realm_attr = Realm::new(ATTR_REALM, String::new()); in authenticate_request() 256 Box::new(Realm::new(ATTR_REALM, self.realm.clone())), in respond_with_nonce()
|
| /webrtc/stun/src/message/ |
| H A D | message_test.rs | 306 ATTR_REALM, in test_attr_type_string()
|