Home
last modified time | relevance | path

Searched refs:tx_len (Results 1 – 4 of 4) sorted by relevance

/smoltcp-0.9.1/src/iface/interface/
Dethernet.rs62 let tx_len = EthernetFrame::<&[u8]>::buffer_len(buffer_len); in dispatch_ethernet() localVariable
63 tx_token.consume(tx_len, |tx_buffer| { in dispatch_ethernet()
64 debug_assert!(tx_buffer.as_ref().len() == tx_len); in dispatch_ethernet()
Dipv4.rs344 let mut tx_len = ip_len; in dispatch_ipv4_frag() localVariable
347 tx_len += EthernetFrame::<&[u8]>::header_len(); in dispatch_ipv4_frag()
367 tx_token.consume(tx_len, |mut tx_buffer| { in dispatch_ipv4_frag()
Dmod.rs1769 let tx_len = self.caps.max_transmission_unit; in dispatch_ip() localVariable
1814 tx_token.consume(tx_len, |mut tx_buffer| { in dispatch_ip()
/smoltcp-0.9.1/src/socket/
Dtcp.rs2537 fn socket_with_buffer_sizes(tx_len: usize, rx_len: usize) -> TestSocket { in socket_with_buffer_sizes()
2539 let tx_buffer = SocketBuffer::new(vec![0; tx_len]); 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()
2547 let mut s = socket_with_buffer_sizes(tx_len, rx_len); in socket_syn_received_with_buffer_sizes()
2561 fn socket_syn_sent_with_buffer_sizes(tx_len: usize, rx_len: usize) -> TestSocket { in socket_syn_sent_with_buffer_sizes()
2562 let mut s = socket_with_buffer_sizes(tx_len, rx_len); in socket_syn_sent_with_buffer_sizes()
2574 fn socket_established_with_buffer_sizes(tx_len: usize, rx_len: usize) -> TestSocket { in socket_established_with_buffer_sizes()
2575 let mut s = socket_syn_received_with_buffer_sizes(tx_len, rx_len); in socket_established_with_buffer_sizes()