Home
last modified time | relevance | path

Searched refs:SocketBuffer (Results 1 – 9 of 9) sorted by relevance

/smoltcp-0.9.1/examples/
Dserver.rs65 let tcp1_rx_buffer = tcp::SocketBuffer::new(vec![0; 64]); in main()
66 let tcp1_tx_buffer = tcp::SocketBuffer::new(vec![0; 128]); in main()
69 let tcp2_rx_buffer = tcp::SocketBuffer::new(vec![0; 64]); in main()
70 let tcp2_tx_buffer = tcp::SocketBuffer::new(vec![0; 128]); in main()
73 let tcp3_rx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); in main()
74 let tcp3_tx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); in main()
77 let tcp4_rx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); in main()
78 let tcp4_tx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); in main()
Dloopback.rs104 let tcp_rx_buffer = tcp::SocketBuffer::new(unsafe { &mut TCP_SERVER_RX_DATA[..] }); in main()
105 let tcp_tx_buffer = tcp::SocketBuffer::new(unsafe { &mut TCP_SERVER_TX_DATA[..] }); in main()
112 let tcp_rx_buffer = tcp::SocketBuffer::new(unsafe { &mut TCP_CLIENT_RX_DATA[..] }); in main()
113 let tcp_tx_buffer = tcp::SocketBuffer::new(unsafe { &mut TCP_CLIENT_TX_DATA[..] }); in main()
Dbenchmark.rs83 let tcp1_rx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); in main()
84 let tcp1_tx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); in main()
87 let tcp2_rx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); in main()
88 let tcp2_tx_buffer = tcp::SocketBuffer::new(vec![0; 65535]); in main()
Dsixlowpan_benchmark.rs166 let tcp1_rx_buffer = tcp::SocketBuffer::new(vec![0; 4096]); in main()
167 let tcp1_tx_buffer = tcp::SocketBuffer::new(vec![0; 4096]); in main()
170 let tcp2_rx_buffer = tcp::SocketBuffer::new(vec![0; 4096]); in main()
171 let tcp2_tx_buffer = tcp::SocketBuffer::new(vec![0; 4096]); in main()
Dclient.rs60 let tcp_rx_buffer = tcp::SocketBuffer::new(vec![0; 1500]); in main()
61 let tcp_tx_buffer = tcp::SocketBuffer::new(vec![0; 1500]); in main()
Dhttpclient.rs60 let tcp_rx_buffer = tcp::SocketBuffer::new(vec![0; 1024]); in main()
61 let tcp_tx_buffer = tcp::SocketBuffer::new(vec![0; 1024]); in main()
Dsixlowpan.rs91 let tcp_rx_buffer = tcp::SocketBuffer::new(vec![0; 4096]); in main()
92 let tcp_tx_buffer = tcp::SocketBuffer::new(vec![0; 4096]); in main()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs148 let tcp_rx_buffer = tcp::SocketBuffer::new(unsafe { &mut TCP_SERVER_RX_DATA[..] });
149 let tcp_tx_buffer = tcp::SocketBuffer::new(unsafe { &mut TCP_SERVER_TX_DATA[..] });
156 let tcp_rx_buffer = tcp::SocketBuffer::new(unsafe { &mut TCP_CLIENT_RX_DATA[..] });
157 let tcp_tx_buffer = tcp::SocketBuffer::new(unsafe { &mut TCP_CLIENT_TX_DATA[..] });
/smoltcp-0.9.1/src/socket/
Dtcp.rs56 pub type SocketBuffer<'a> = RingBuffer<'a, u8>; typedef
358 rx_buffer: SocketBuffer<'a>,
360 tx_buffer: SocketBuffer<'a>,
433 T: Into<SocketBuffer<'a>>, in new()
994 F: FnOnce(&'b mut SocketBuffer<'a>) -> (usize, R), in send_impl()
1061 F: FnOnce(&'b mut SocketBuffer<'a>) -> (usize, R), in recv_impl()
2538 let rx_buffer = SocketBuffer::new(vec![0; rx_len]); in socket_with_buffer_sizes()
2539 let tx_buffer = SocketBuffer::new(vec![0; tx_len]); in socket_with_buffer_sizes()
3678 s.rx_buffer = SocketBuffer::new(vec![0; 262143]); in test_established_sliding_window_recv()
5668 s.tx_buffer = SocketBuffer::new(vec![0; 32767]); in test_maximum_segment_size()
[all …]