| /webrtc/ice/src/network_type/ |
| H A D | mod.rs | 16 NetworkType::Udp4, in supported_network_types() 31 Udp4, enumerator 49 1 => Self::Udp4, in from() 61 Self::Udp4 => "udp4", in fmt() 81 self == Self::Udp4 || self == Self::Udp6 in is_udp() 94 Self::Udp4 | Self::Udp6 => UDP.to_owned(), in network_short() 105 Self::Udp4 | Self::Udp6 | Self::Unspecified => false, in is_reliable() 113 Self::Udp4 | Self::Tcp4 => true, in is_ipv4() 123 Self::Udp4 | Self::Tcp4 | Self::Unspecified => false, in is_ipv6() 134 Ok(NetworkType::Udp4) in determine_network_type()
|
| H A D | network_type_test.rs | 10 ("lowercase UDP4", "udp", ipv4, NetworkType::Udp4), in test_network_type_parsing_success() 11 ("uppercase UDP4", "UDP", ipv4, NetworkType::Udp4), in test_network_type_parsing_success() 46 assert!(NetworkType::Udp4.is_udp()); in test_network_type_is_udp() 48 assert!(!NetworkType::Udp4.is_tcp()); in test_network_type_is_udp() 69 (NetworkType::Udp4, "\"udp4\""), in test_network_type_serialization() 87 (NetworkType::Udp4, "udp4"), in test_network_type_to_string()
|
| /webrtc/ice/src/candidate/ |
| H A D | candidate_test.rs | 145 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 152 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 163 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 170 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 181 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 199 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 206 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 217 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 225 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 319 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_marshal() [all …]
|
| H A D | candidate_server_reflexive_test.rs | 48 network_types: vec![NetworkType::Udp4], in test_server_reflexive_only_connection() 64 network_types: vec![NetworkType::Udp4], in test_server_reflexive_only_connection()
|
| H A D | candidate_host.rs | 33 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in new_candidate_host()
|
| /webrtc/ice/src/mdns/ |
| H A D | mdns_test.rs | 18 network_types: vec![NetworkType::Udp4], in test_multicast_dns_only_connection() 29 network_types: vec![NetworkType::Udp4], in test_multicast_dns_only_connection() 52 network_types: vec![NetworkType::Udp4], in test_multicast_dns_mixed_connection() 63 network_types: vec![NetworkType::Udp4], in test_multicast_dns_mixed_connection() 86 network_types: vec![NetworkType::Udp4], in test_multicast_dns_static_host_name() 99 network_types: vec![NetworkType::Udp4], in test_multicast_dns_static_host_name()
|
| /webrtc/ice/src/agent/ |
| H A D | agent_gather_test.rs | 25 &[NetworkType::Udp4], in test_vnet_gather_no_local_ip_address() 54 local_interfaces(&nw, &a.interface_filter, &a.ip_filter, &[NetworkType::Udp4]).await; in test_vnet_gather_dynamic_ip_address() 88 local_interfaces(&nw, &a.interface_filter, &a.ip_filter, &[NetworkType::Udp4]).await; in test_vnet_gather_listen_udp() 147 network_types: vec![NetworkType::Udp4], in test_vnet_gather_with_nat_1to1_as_host_candidates() 263 network_types: vec![NetworkType::Udp4], in test_vnet_gather_with_nat_1to1_as_srflx_candidates() 343 local_interfaces(&nw, &a.interface_filter, &a.ip_filter, &[NetworkType::Udp4]).await; in test_vnet_gather_with_interface_filter() 364 local_interfaces(&nw, &a.interface_filter, &a.ip_filter, &[NetworkType::Udp4]).await; in test_vnet_gather_with_interface_filter() 447 network_types: vec![NetworkType::Udp4], in test_vnet_gather_muxed_udp()
|
| H A D | agent_gather.rs | 744 let network = NetworkType::Udp4.to_string(); in gather_candidates_relay()
|
| H A D | agent_test.rs | 1244 NetworkType::Udp4, in test_local_candidate_stats() 1366 NetworkType::Udp4, in test_remote_candidate_stats()
|
| H A D | agent_internal.rs | 923 let (ip, port, network_type) = (remote.ip(), remote.port(), NetworkType::Udp4); in handle_inbound()
|
| /webrtc/ice/src/util/ |
| H A D | util_test.rs | 7 let ips = local_interfaces(&vnet, &None, &None, &[NetworkType::Udp4, NetworkType::Udp6]).await; in test_local_interfaces()
|
| /webrtc/webrtc/src/dtls_transport/ |
| H A D | dtls_transport_test.rs | 137 offer_s.set_network_types(vec![NetworkType::Udp4]); in run_test() 147 answer_s.set_network_types(vec![NetworkType::Udp4]); in run_test()
|
| /webrtc/ice/examples/ |
| H A D | ping_pong.rs | 193 network_types: vec![NetworkType::Udp4], in main()
|