Home
last modified time | relevance | path

Searched refs:TestSocket (Results 1 – 2 of 2) sorted by relevance

/smoltcp-0.9.1/src/socket/
Ddhcpv4.rs723 struct TestSocket { struct
728 impl Deref for TestSocket { implementation
735 impl DerefMut for TestSocket { implementation
742 s: &mut TestSocket, in send() argument
760 fn recv(s: &mut TestSocket, timestamp: Instant, reprs: &[(Ipv4Repr, UdpRepr, DhcpRepr)]) { in recv() argument
977 fn socket() -> TestSocket { in socket()
980 TestSocket { in socket()
986 fn socket_different_port() -> TestSocket { in socket_different_port()
991 TestSocket { in socket_different_port()
997 fn socket_bound() -> TestSocket { in socket_bound()
Dtcp.rs2400 struct TestSocket { struct
2405 impl Deref for TestSocket { implementation
2412 impl DerefMut for TestSocket { implementation
2419 socket: &mut TestSocket, in send() argument
2445 fn recv<F>(socket: &mut TestSocket, timestamp: Instant, mut f: F) in recv() argument
2470 fn recv_nothing(socket: &mut TestSocket, timestamp: Instant) { in recv_nothing() argument
2533 fn socket() -> TestSocket { in socket()
2537 fn socket_with_buffer_sizes(tx_len: usize, rx_len: usize) -> TestSocket { in socket_with_buffer_sizes() argument
2543 TestSocket { socket, cx } in socket_with_buffer_sizes()
2546 fn socket_syn_received_with_buffer_sizes(tx_len: usize, rx_len: usize) -> TestSocket { in socket_syn_received_with_buffer_sizes() argument
[all …]