Home
last modified time | relevance | path

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

/smoltcp-0.9.1/src/socket/
Ddhcpv4.rs723 struct TestSocket { struct
724 socket: Socket<'static>,
725 cx: Context,
728 impl Deref for TestSocket { implementation
735 impl DerefMut for TestSocket { implementation
742 s: &mut TestSocket, in send()
760 fn recv(s: &mut TestSocket, timestamp: Instant, reprs: &[(Ipv4Repr, UdpRepr, DhcpRepr)]) { in recv()
Dtcp.rs2400 struct TestSocket { struct
2401 socket: Socket<'static>,
2402 cx: Context,
2405 impl Deref for TestSocket { implementation
2412 impl DerefMut for TestSocket { implementation
2419 socket: &mut TestSocket, in send()
2445 fn recv<F>(socket: &mut TestSocket, timestamp: Instant, mut f: F) in recv()
2470 fn recv_nothing(socket: &mut TestSocket, timestamp: Instant) { in recv_nothing()
2537 fn socket_with_buffer_sizes(tx_len: usize, rx_len: usize) -> TestSocket { 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()
[all …]