Searched refs:SocketBuffer (Results 1 – 9 of 9) sorted by relevance
65 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()
104 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()
83 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()
166 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()
60 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()
60 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()
91 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()
148 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[..] });
56 pub type SocketBuffer<'a> = RingBuffer<'a, u8>; typedef358 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 …]