Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 25) sorted by relevance

/webrtc/ice/src/url/
H A Dmod.rs113 pub proto: ProtoType, field
127 self.scheme, host, self.port, self.proto in fmt()
175 let proto = match scheme { in parse_url() localVariable
194 let proto: ProtoType = value.as_ref().into(); in parse_url() localVariable
195 if proto == ProtoType::Unknown { in parse_url()
198 proto in parse_url()
212 let proto: ProtoType = value.as_ref().into(); in parse_url() localVariable
213 if proto == ProtoType::Unknown { in parse_url()
216 proto in parse_url()
235 proto, in parse_url()
H A Durl_test.rs101 assert_eq!(url.proto, expected_proto, "testCase: {raw_url:?}"); in test_parse_url_success()
/webrtc/turn/benches/
H A Dbench.rs5 use turn::proto::chandata::ChannelData;
6 use turn::proto::channum::{ChannelNumber, MIN_CHANNEL_NUMBER};
7 use turn::proto::data::Data;
8 use turn::proto::lifetime::Lifetime;
/webrtc/webrtc/src/ice_transport/
H A Dice_role.rs69 for (proto, expected_string) in tests { in test_ice_role_string()
70 assert_eq!(proto.to_string(), expected_string); in test_ice_role_string()
H A Dice_protocol.rs74 for (proto, expected_string) in tests { in test_ice_protocol_string()
75 assert_eq!(proto.to_string(), expected_string); in test_ice_protocol_string()
/webrtc/turn/src/proto/
H A Daddr.rs55 pub proto: Protocol, field
60 write!(f, "{}->{} ({})", self.client, self.server, self.proto) in fmt()
/webrtc/turn/src/proto/addr/
H A Daddr_test.rs43 proto: PROTO_UDP, in test_five_tuple_equal()
86 proto: PROTO_UDP, in test_five_tuple_string()
/webrtc/turn/src/
H A Dlib.rs9 pub mod proto; module
/webrtc/turn/src/client/
H A Drelay_conn.rs9 use crate::proto;
298 Box::new(proto::data::Data(p.to_vec())), in send_to()
379 let mut ch_data = proto::chandata::ChannelData { in send_channel_data()
381 number: proto::channum::ChannelNumber(ch_num), in send_channel_data()
471 Box::new(proto::lifetime::Lifetime(lifetime)), in refresh_allocation()
509 let mut updated_lifetime = proto::lifetime::Lifetime::default(); in refresh_allocation()
549 Box::new(proto::channum::ChannelNumber(bind_number)), in bind()
623 fn socket_addr2peer_address(addr: &SocketAddr) -> proto::peeraddr::PeerAddress { in socket_addr2peer_address()
624 proto::peeraddr::PeerAddress { in socket_addr2peer_address()
H A Dmod.rs11 use crate::proto::{
/webrtc/turn/src/server/
H A Drequest.rs10 use crate::proto::chandata::ChannelData;
11 use crate::proto::channum::ChannelNumber;
12 use crate::proto::data::Data;
13 use crate::proto::evenport::EvenPort;
14 use crate::proto::lifetime::*;
15 use crate::proto::peeraddr::PeerAddress;
16 use crate::proto::relayaddr::RelayedAddress;
17 use crate::proto::reqtrans::RequestedTransport;
18 use crate::proto::rsrvtoken::ReservationToken;
19 use crate::proto::*;
H A Dmod.rs11 proto::lifetime::DEFAULT_LIFETIME,
/webrtc/ice/src/candidate/
H A Dcandidate_relay_test.rs76 proto: ProtoType::Udp, in test_relay_only_connection()
94 proto: ProtoType::Udp, in test_relay_only_connection()
/webrtc/util/src/vnet/
H A Dnat.rs70 proto: String, // "udp" or "tcp" field
81 proto: String::new(), // "udp" or "tcp" in default()
225 proto: "udp".to_owned(), in translate_outbound()
447 format!("{}:{}:{}", m.proto, m.local, m.bound) in get_outbound_map_key()
451 format!("{}:{}", m.proto, m.mapped) in get_inbound_map_key()
/webrtc/turn/src/allocation/
H A Dfive_tuple.rs4 use crate::proto::*;
H A Dchannel_bind.rs5 use crate::proto::channum::*;
H A Dallocation_test.rs3 use crate::proto::lifetime::DEFAULT_LIFETIME;
H A Dmod.rs10 use crate::proto::{chandata::*, channum::*, data::*, peeraddr::*, *};
/webrtc/ice/src/agent/
H A Dagent_transport_test.rs66 proto: ProtoType::Udp, in test_remote_local_addr()
H A Dagent_vnet_test.rs470 proto: ProtoType::Udp, in test_connectivity_simple_vnet_full_cone_nats_on_both_ends()
523 proto: ProtoType::Udp, in test_connectivity_vnet_full_cone_nats_on_both_ends()
533 proto: ProtoType::Udp, in test_connectivity_vnet_full_cone_nats_on_both_ends()
585 proto: ProtoType::Udp, in test_connectivity_vnet_symmetric_nats_on_both_ends()
595 proto: ProtoType::Udp, in test_connectivity_vnet_symmetric_nats_on_both_ends()
H A Dagent_gather_test.rs385 proto: ProtoType::Udp, in test_vnet_gather_turn_connection_leak()
H A Dagent_gather.rs755 if url.proto == ProtoType::Udp && url.scheme == SchemeType::Turn { in gather_candidates_relay()
H A Dagent_test.rs522 proto: ProtoType::Udp, in test_connectivity_lite()
/webrtc/sdp/src/description/
H A Dsession.rs1229 for proto in fields[2].split('/').collect::<Vec<&str>>() { in unmarshal_media_description()
1231 proto, in unmarshal_media_description()
1239 protos.push(proto.to_owned()); in unmarshal_media_description()
/webrtc/turn/src/allocation/allocation_manager/
H A Dallocation_manager_test.rs7 proto::lifetime::DEFAULT_LIFETIME,