Searched refs:set_ttl (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/ |
H A D | listener.rs | 166 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 167 self.source.set_ttl(ttl) in set_ttl() 271 server.set_ttl(101).unwrap(); in ut_tcp_listener_basic()
|
H A D | stream.rs | 427 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 428 self.source.set_ttl(ttl) in set_ttl() 699 stream.set_ttl(101).unwrap(); in ut_tcp_stream_basic()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/ |
H A D | udp_socket.rs | 134 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 135 self.inner.set_ttl(ttl) in set_ttl() 479 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 480 self.inner.set_ttl(ttl) in set_ttl()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/ |
H A D | udp_socket.rs | 204 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 205 self.inner.set_ttl(ttl) in set_ttl() 389 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 390 self.inner.set_ttl(ttl) in set_ttl()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/ |
H A D | listener.rs | 121 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 122 self.inner.set_ttl(ttl) in set_ttl()
|
H A D | stream.rs | 206 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 207 self.inner.set_ttl(ttl) in set_ttl()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/ |
H A D | listener.rs | 137 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 138 self.inner.set_ttl(ttl) in set_ttl()
|
H A D | stream.rs | 169 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 170 self.inner.set_ttl(ttl) in set_ttl()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/ |
H A D | udp.rs | 649 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 650 self.source.set_ttl(ttl) in set_ttl() 900 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method 901 self.source.set_ttl(ttl) in set_ttl() 1500 sender.set_ttl(101).unwrap(); in ut_udp_basic_v4() 1525 connected_sender.set_ttl(101).unwrap(); in ut_udp_basic_v4()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | udp_test.rs | 491 sender.set_ttl(80).unwrap(); in sdv_udp_basic_v4() 519 connected_sender.set_ttl(80).unwrap(); in sdv_udp_basic_v4()
|
H A D | tcp_test.rs | 64 server.set_ttl(101).unwrap(); in sdv_tcp_listener_interface() 132 stream.set_ttl(101).unwrap(); in sdv_tcp_stream_basic()
|