Home
last modified time | relevance | path

Searched refs:destination_addr (Results 1 – 6 of 6) sorted by relevance

/webrtc/util/src/vnet/
H A Dchunk.rs102 fn destination_addr(&self) -> SocketAddr; in destination_addr() method
156 self.destination_addr(), in fmt()
186 fn destination_addr(&self) -> SocketAddr { in destination_addr() method
263 self.destination_addr(), in fmt()
293 fn destination_addr(&self) -> SocketAddr { in destination_addr() method
H A Dnat.rs184 from.destination_addr().to_string() in translate_outbound()
194 from.destination_addr().to_string() in translate_outbound()
296 let dst_addr = from.destination_addr(); in translate_inbound()
298 let dst_port = from.destination_addr().port(); in translate_inbound()
319 let i_key = format!("udp:{}", from.destination_addr()); in translate_inbound()
H A Dnet.rs55 if let Some(conn) = self.udp_conns.find(&c.destination_addr()).await { in write()
163 if let Some(conn) = vi.udp_conns.find(&c.destination_addr()).await { in on_inbound_chunk()
/webrtc/util/src/vnet/nat/
H A Dnat_test.rs77 assert_eq!(oic.source_addr(), iic.destination_addr(), "should match"); in test_nat_mapping_behavior_full_cone_nat()
147 assert_eq!(oic.source_addr(), iic.destination_addr(), "should match"); in test_nat_mapping_behavior_addr_restricted_cone_nat()
226 assert_eq!(oic.source_addr(), iic.destination_addr(), "should match"); in test_nat_mapping_behavior_port_restricted_cone_nat()
513 assert_eq!(oic.source_addr(), iic.destination_addr(), "should match"); in test_nat1to1_bahavior_one_mapping()
565 after.destination_addr().to_string(), in test_nat1to1_bahavior_more_mapping()
577 after.destination_addr().to_string(), in test_nat1to1_bahavior_more_mapping()
/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.rs75 let result = echo.set_source_addr(&c.destination_addr().to_string()); in on_inbound_chunk()