Home
last modified time | relevance | path

Searched refs:can_recv (Results 1 – 12 of 12) sorted by relevance

/smoltcp-0.9.1/src/socket/
Dicmp.rs254 pub fn can_recv(&self) -> bool { in can_recv() method
752 assert!(!socket.can_recv()); in test_recv_process()
764 assert!(socket.can_recv()); in test_recv_process()
770 assert!(!socket.can_recv()); in test_recv_process()
834 assert!(!socket.can_recv()); in test_accepts_udp()
840 assert!(socket.can_recv()); in test_accepts_udp()
849 assert!(!socket.can_recv()); in test_accepts_udp()
1004 assert!(!socket.can_recv()); in test_recv_process()
1021 assert!(socket.can_recv()); in test_recv_process()
1027 assert!(!socket.can_recv()); in test_recv_process()
[all …]
Draw.rs137 pub fn can_recv(&self) -> bool { in can_recv() method
662 assert!(!socket.can_recv()); in test_recv_process()
675 assert!(socket.can_recv()); in test_recv_process()
684 assert!(!socket.can_recv()); in test_recv_process()
689 assert!(!socket.can_recv()); in test_recv_process()
699 assert!(socket.can_recv()); in test_recv_process()
708 assert!(!socket.can_recv()); in test_recv_process()
Dudp.rs197 pub fn can_recv(&self) -> bool { in can_recv() method
679 assert!(!socket.can_recv()); in test_recv_process()
684 assert!(socket.can_recv()); in test_recv_process()
690 assert!(!socket.can_recv()); in test_recv_process()
Dtcp.rs984 pub fn can_recv(&self) -> bool { in can_recv() method
/smoltcp-0.9.1/examples/
Dmulticast.rs95 if socket.can_recv() { in main()
115 if socket.can_recv() { in main()
Dhttpclient.rs102 State::Response if socket.can_recv() => { in main()
Dloopback.rs137 if socket.can_recv() { in main()
Dbenchmark.rs139 if socket.can_recv() { in main()
Dsixlowpan_benchmark.rs209 if socket.can_recv() && processed < AMOUNT { in main()
Dping.rs200 if socket.can_recv() { in main()
/smoltcp-0.9.1/src/iface/interface/
Dtests.rs469 assert!(!socket.can_recv()); in test_handle_udp_broadcast()
497 assert!(socket.can_recv()); in test_handle_udp_broadcast()
982 assert!(!sockets.get_mut::<icmp::Socket>(socket_handle).can_recv()); in test_icmpv4_socket()
1001 assert!(socket.can_recv()); in test_icmpv4_socket()
1286 assert!(!socket.can_recv()); in test_raw_socket_with_udp_socket()
1356 assert!(socket.can_recv()); in test_raw_socket_with_udp_socket()
1590 assert!(!socket.can_recv()); in test_sixlowpan_udp_with_fragmentation()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs181 if socket.can_recv() {