Home
last modified time | relevance | path

Searched refs:Tcp4 (Results 1 – 3 of 3) sorted by relevance

/webrtc/ice/src/network_type/
H A Dmod.rs39 Tcp4, enumerator
51 3 => Self::Tcp4, in from()
63 Self::Tcp4 => "tcp4", in fmt()
87 self == Self::Tcp4 || self == Self::Tcp6 in is_tcp()
95 Self::Tcp4 | Self::Tcp6 => TCP.to_owned(), in network_short()
104 Self::Tcp4 | Self::Tcp6 => true, in is_reliable()
113 Self::Udp4 | Self::Tcp4 => true, in is_ipv4()
123 Self::Udp4 | Self::Tcp4 | Self::Unspecified => false, in is_ipv6()
140 Ok(NetworkType::Tcp4) in determine_network_type()
H A Dnetwork_type_test.rs56 assert!(NetworkType::Tcp4.is_tcp()); in test_network_type_is_tcp()
58 assert!(!NetworkType::Tcp4.is_udp()); in test_network_type_is_tcp()
67 (NetworkType::Tcp4, "\"tcp4\""), in test_network_type_serialization()
85 (NetworkType::Tcp4, "tcp4"), in test_network_type_to_string()
/webrtc/ice/src/candidate/
H A Dcandidate_test.rs20 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority()
30 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority()
40 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority()
358 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_marshal()