| /webrtc/ice/src/control/ |
| H A D | control_test.rs | 8 let result = c.get_from(&m); in test_controlled_get_from() 21 c1.get_from(&m1)?; in test_controlled_get_from() 30 let result = c2.get_from(&m3); in test_controlled_get_from() 45 let result = c.get_from(&m); in test_controlling_get_from() 58 c1.get_from(&m1)?; in test_controlling_get_from() 67 let result = c2.get_from(&m3); in test_controlling_get_from() 84 let result = c.get_from(&m); in test_control_get_from() 95 let result = c.get_from(&m); in test_control_get_from() 111 c1.get_from(&m1)?; in test_control_get_from() 133 let result = c.get_from(&m); in test_control_get_from() [all …]
|
| H A D | mod.rs | 46 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method 67 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method 95 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
|
| /webrtc/stun/src/addr/ |
| H A D | addr_test.rs | 20 got.get_from(&m)?; in test_mapped_address() 26 let result = got.get_from(&message); in test_mapped_address() 41 got.get_from(&m)? in test_mapped_address() 47 let result = got.get_from(&message); in test_mapped_address() 81 got.get_from(&m)?; in test_mapped_address_v6() 87 let result = got.get_from(&message); in test_mapped_address_v6() 120 got.get_from(&m)?; in test_alternate_server() 126 let result = got.get_from(&message); in test_alternate_server() 160 got.get_from(&m)?; in test_other_address() 166 let result = got.get_from(&message); in test_other_address()
|
| /webrtc/turn/src/proto/reqfamily/ |
| H A D | reqfamily_test.rs | 42 req.get_from(&decoded)?; in test_requested_address_family_add_to() 49 if let Err(err) = handle.get_from(&m) { in test_requested_address_family_add_to() 59 if let Err(err) = handle.get_from(&m) { in test_requested_address_family_add_to() 70 handle.get_from(&m).is_err(), in test_requested_address_family_add_to()
|
| /webrtc/turn/src/proto/evenport/ |
| H A D | evenport_test.rs | 34 port.get_from(&m)?; in test_even_port_false() 51 port.get_from(&decoded)?; in test_even_port_add_to() 58 if let Err(err) = handle.get_from(&m) { in test_even_port_add_to() 66 if let Err(err) = handle.get_from(&m) { in test_even_port_add_to()
|
| /webrtc/stun/src/uattrs/ |
| H A D | uattrs_test.rs | 23 attrs.get_from(&m)?; in test_unknown_attributes() 28 let result = attrs.get_from(&m_blank); in test_unknown_attributes() 32 let result = attrs.get_from(&m_blank); in test_unknown_attributes()
|
| /webrtc/ice/src/priority/ |
| H A D | priority_test.rs | 8 let result = p.get_from(&m); in test_priority_get_from() 21 p1.get_from(&m1)?; in test_priority_get_from() 30 let result = p2.get_from(&m3); in test_priority_get_from()
|
| H A D | mod.rs | 26 pub fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
|
| /webrtc/turn/src/proto/channum/ |
| H A D | channnum_test.rs | 50 num_decoded.get_from(&decoded)?; in test_channel_number_add_to() 57 if let Err(err) = n_handle.get_from(&m) { in test_channel_number_add_to() 69 if let Err(err) = n_handle.get_from(&m) { in test_channel_number_add_to()
|
| /webrtc/turn/src/proto/lifetime/ |
| H A D | lifetime_test.rs | 24 life.get_from(&decoded)?; in test_lifetime_add_to() 31 if let Err(err) = n_handle.get_from(&m) { in test_lifetime_add_to() 42 if let Err(err) = n_handle.get_from(&m) { in test_lifetime_add_to()
|
| /webrtc/turn/src/proto/rsrvtoken/ |
| H A D | rsrvtoken_test.rs | 31 tok.get_from(&decoded)?; in test_reservation_token() 38 if let Err(err) = handle.get_from(&m) { in test_reservation_token() 48 if let Err(err) = handle.get_from(&m) { in test_reservation_token()
|
| /webrtc/turn/src/proto/reqtrans/ |
| H A D | reqtrans_test.rs | 45 req.get_from(&decoded)?; in test_requested_transport_add_to() 52 if let Err(err) = handle.get_from(&m) { in test_requested_transport_add_to() 63 if let Err(err) = handle.get_from(&m) { in test_requested_transport_add_to()
|
| /webrtc/stun/src/xoraddr/ |
| H A D | xoraddr_test.rs | 47 addr.get_from(&m)?; in test_xormapped_address_get_from() 65 let result = addr.get_from(&m); in test_xormapped_address_get_from() 90 let result = addr.get_from(&m); in test_xormapped_address_get_from() 115 let result = addr.get_from(&m); in test_xormapped_address_get_from_invalid() 128 let result = addr.get_from(&m); in test_xormapped_address_get_from_invalid() 150 addr.get_from(&m_res)?; in test_xormapped_address_add_to() 188 got_addr.get_from(&m)?; in test_xormapped_address_add_to_ipv6()
|
| /webrtc/turn/src/proto/dontfrag/ |
| H A D | dontfrag_test.rs | 9 assert!(dont_fragment.get_from(&m).is_err(), "should not be set"); in test_dont_fragment_false() 24 assert!(dont_fragment.get_from(&m).is_ok(), "should be set"); in test_dont_fragment_add_to()
|
| /webrtc/turn/src/proto/data/ |
| H A D | data_test.rs | 16 data_decoded.get_from(&decoded)?; in test_data_add_to() 23 if let Err(err) = handle.get_from(&m) { in test_data_add_to()
|
| /webrtc/turn/src/server/ |
| H A D | request.rs | 164 if let Err(err) = nonce_attr.get_from(m) { in authenticate_request() 194 if let Err(err) = realm_attr.get_from(m) { in authenticate_request() 198 if let Err(err) = username_attr.get_from(m) { in authenticate_request() 338 if let Err(err) = requested_transport.get_from(m) { in handle_allocate_request() 402 if reservation_token_attr.get_from(m).is_ok() { in handle_allocate_request() 404 if even_port.get_from(m).is_ok() { in handle_allocate_request() 430 if even_port.get_from(m).is_ok() { in handle_allocate_request() 676 data_attr.get_from(m)?; in handle_send_indication() 679 peer_address.get_from(m)?; in handle_send_indication() 733 if let Err(err) = channel.get_from(m) { in handle_channel_bind_request() [all …]
|
| /webrtc/turn/src/proto/ |
| H A D | dontfrag.rs | 21 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
|
| H A D | data.rs | 29 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
|
| H A D | rsrvtoken.rs | 34 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
|
| H A D | reqtrans.rs | 46 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
|
| H A D | evenport.rs | 52 fn get_from(&mut self, m: &Message) -> Result<(), stun::Error> { in get_from() method
|
| /webrtc/turn/src/proto/peeraddr/ |
| H A D | peeraddr_test.rs | 23 a_got.get_from(&decoded)?; in test_peer_address()
|
| /webrtc/turn/src/proto/relayaddr/ |
| H A D | relayaddr_test.rs | 23 a_got.get_from(&decoded)?; in test_relayed_address()
|
| /webrtc/turn/benches/ |
| H A D | bench.rs | 72 n.get_from(&m).unwrap(); in benchmark_chan() 122 l.get_from(&m).unwrap(); in benchmark_lifetime()
|
| /webrtc/turn/src/client/ |
| H A D | mod.rs | 325 peer_addr.get_from(&msg)?; in handle_stun_message() 329 data.get_from(&msg)?; in handle_stun_message() 458 refl_addr.get_from(&tr_res.msg)?; in send_binding_request_to() 541 let result = code.get_from(&res); in allocate() 551 relayed.get_from(&res)?; in allocate() 556 lifetime.get_from(&res)?; in allocate()
|