Home
last modified time | relevance | path

Searched refs:source_addr (Results 1 – 7 of 7) sorted by relevance

/webrtc/util/src/vnet/nat/
H A Dnat_test.rs68 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_behavior_full_cone_nat()
83 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port() + 1), in test_nat_mapping_behavior_full_cone_nat()
92 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_behavior_full_cone_nat()
138 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_behavior_addr_restricted_cone_nat()
162 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_behavior_addr_restricted_cone_nat()
171 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_behavior_addr_restricted_cone_nat()
217 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_behavior_port_restricted_cone_nat()
241 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_behavior_port_restricted_cone_nat()
250 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_behavior_port_restricted_cone_nat()
459 SocketAddr::new(oec.source_addr().ip(), oec.source_addr().port()), in test_nat_mapping_timeout_outbound_detects_timeout()
[all …]
/webrtc/util/src/vnet/chunk/
H A Dchunk_test.rs47 assert_eq!(c.source_addr().to_string(), "2.3.4.5:4000"); in test_chunk_udp()
55 assert_eq!(cloned.source_addr().to_string(), "192.168.0.2:1234"); in test_chunk_udp()
/webrtc/util/src/vnet/
H A Dchunk.rs101 fn source_addr(&self) -> SocketAddr; in source_addr() method
155 self.source_addr(), in fmt()
182 fn source_addr(&self) -> SocketAddr { in source_addr() method
262 self.source_addr(), in fmt()
289 fn source_addr(&self) -> SocketAddr { in source_addr() method
H A Dnat.rs165 let src_addr = from.source_addr(); in translate_outbound()
198 let o_key = format!("udp:{}:{}", from.source_addr(), bound); in translate_outbound()
226 local: from.source_addr().to_string(), in translate_outbound()
315 from.source_addr().to_string() in translate_inbound()
H A Dconn.rs88 let addr = chunk.source_addr(); in recv_from()
/webrtc/util/src/vnet/conn/
H A Dconn_test.rs15 let mut chunk = ChunkUdp::new(c.destination_addr(), c.source_addr()); in write()
/webrtc/util/src/vnet/router/
H A Drouter_test.rs77 let result = echo.set_destination_addr(&c.source_addr().to_string()); in on_inbound_chunk()