Home
last modified time | relevance | path

Searched refs:ATTR_REALM (Results 1 – 9 of 9) sorted by relevance

/webrtc/stun/src/textattrs/
H A Dtextattrs_test.rs152 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 Dtextattrs.rs56 ATTR_REALM => MAX_REALM_B, in add_to()
85 ATTR_REALM => {} in get_from_as()
H A Dattributes.rs43 ATTR_REALM => "REALM", in fmt()
99 pub const ATTR_REALM: AttrType = AttrType(0x0014); // REALM constant
/webrtc/turn/src/client/relay_conn/
H A Drelay_conn_test.rs45 realm: Realm::new(ATTR_REALM, "realm".to_owned()), in test_relay_conn()
/webrtc/stun/benches/
H A Dbench.rs12 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 Drequest_test.rs107 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 Dmod.rs195 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 Drequest.rs154 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 Dmessage_test.rs306 ATTR_REALM, in test_attr_type_string()