Home
last modified time | relevance | path

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 Dlistener.rs166 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 Dstream.rs427 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 Dudp_socket.rs134 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 Dudp_socket.rs204 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 Dlistener.rs121 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method
122 self.inner.set_ttl(ttl) in set_ttl()
H A Dstream.rs206 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 Dlistener.rs137 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() method
138 self.inner.set_ttl(ttl) in set_ttl()
H A Dstream.rs169 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 Dudp.rs649 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 Dudp_test.rs491 sender.set_ttl(80).unwrap(); in sdv_udp_basic_v4()
519 connected_sender.set_ttl(80).unwrap(); in sdv_udp_basic_v4()
H A Dtcp_test.rs64 server.set_ttl(101).unwrap(); in sdv_tcp_listener_interface()
132 stream.set_ttl(101).unwrap(); in sdv_tcp_stream_basic()