/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/ |
H A D | listener.rs | 162 /// let ret = server.set_ttl(100).unwrap(); 166 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 167 self.source.set_ttl(ttl) in set_ttl() 264 /// 2. Call set_ttl(), ttl(), take_error(). 271 server.set_ttl(101).unwrap(); in ut_tcp_listener_basic()
|
H A D | stream.rs | 423 /// stream.set_ttl(100).expect("set_ttl call failed"); in fmt() 427 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in fmt() functions 428 self.source.set_ttl(ttl) in fmt() 445 /// stream.set_ttl(100).expect("set_ttl call failed"); in fmt() 679 /// 3. Call peer_addr(), local_addr(), set_ttl(), ttl(), set_nodelay(), 699 stream.set_ttl(101).unwrap(); in ut_tcp_stream_basic()
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/ |
H A D | listener.rs | 119 /// let ret = server.set_ttl(100).unwrap(); 121 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 122 self.inner.set_ttl(ttl) in set_ttl()
|
H A D | stream.rs | 204 /// stream.set_ttl(100).expect("set_ttl call failed"); 206 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 207 self.inner.set_ttl(ttl) in set_ttl() 219 /// stream.set_ttl(100).expect("set_ttl call failed");
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/ |
H A D | udp_socket.rs | 132 /// socket.set_ttl(100).expect("set_ttl call failed"); 134 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 135 self.inner.set_ttl(ttl) in set_ttl() 147 /// socket.set_ttl(100).expect("set_ttl call failed"); 477 /// connect_socket.set_ttl(100).expect("set_ttl call failed"); 479 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 480 self.inner.set_ttl(tt in set_ttl() [all...] |
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/ |
H A D | udp_socket.rs | 202 /// socket.set_ttl(100).expect("set_ttl call failed"); 204 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 205 self.inner.set_ttl(ttl) in set_ttl() 217 /// socket.set_ttl(100).expect("set_ttl call failed"); 387 /// connect_socket.set_ttl(100).expect("set_ttl call failed"); 389 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 390 self.inner.set_ttl(tt in set_ttl() [all...] |
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/ |
H A D | stream.rs | 167 /// stream.set_ttl(100).expect("set_ttl call failed"); 169 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 170 self.inner.set_ttl(ttl) in set_ttl() 182 /// stream.set_ttl(100).expect("set_ttl call failed");
|
H A D | listener.rs | 135 /// let ret = server.set_ttl(100).unwrap(); 137 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 138 self.inner.set_ttl(ttl) in set_ttl()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/ |
H A D | udp.rs | 645 /// socket.set_ttl(100).expect("set_ttl call failed"); 649 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 650 self.source.set_ttl(ttl) in set_ttl() 665 /// socket.set_ttl(100).expect("set_ttl call failed"); 896 /// connect_socket.set_ttl(100).expect("set_ttl call failed"); 900 pub fn set_ttl(&self, ttl: u32) -> io::Result<()> { in set_ttl() functions 901 self.source.set_ttl(tt in set_ttl() [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | tcp_test.rs | 57 /// 2. Call local_addr(), set_ttl(), ttl(), take_error(). 64 server.set_ttl(101).unwrap(); in sdv_tcp_listener_interface() 111 /// 3. Call peer_addr(), local_addr(), set_ttl(), ttl(), set_nodelay(), 132 stream.set_ttl(101).unwrap(); in sdv_tcp_stream_basic()
|
H A D | udp_test.rs | 479 /// 2. Call set_ttl(), ttl(), take_error(), set_multicast_loop_v4(), 491 sender.set_ttl(80).unwrap(); in sdv_udp_basic_v4() 519 connected_sender.set_ttl(80).unwrap(); in sdv_udp_basic_v4()
|