Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 28) sorted by relevance

12

/smoltcp-0.9.1/src/phy/sys/
Dbpf.rs115 let len = libc::read( in recv() localVariable
125 let len = len as usize; in recv() localVariable
139 let len = libc::write( in send() localVariable
Draw_socket.rs80 let len = libc::recv( in recv() localVariable
95 let len = libc::send( in send() localVariable
Dtuntap_interface.rs86 let len = libc::read( in recv() localVariable
100 let len = libc::write( in send() localVariable
/smoltcp-0.9.1/src/wire/
Dipv6hopbyhop.rs75 let len = data.len(); in check_len() localVariable
142 let len = data[field::LENGTH]; in options_mut() localVariable
300 let len = bytes.len() as u8; in test_header_len_overflow() localVariable
307 let len = bytes.len() as u8; in test_header_len_overflow() localVariable
Dndiscoption.rs176 let len = data.len(); in check_len() localVariable
221 let len = MAX_HARDWARE_ADDRESS_LEN.min(self.data_len() as usize * 8 - 2); in link_layer_addr() localVariable
277 let len = self.data_len(); in data() localVariable
377 let len = self.data_len(); in data_mut() localVariable
505 let len = 2 + addr.len(); in buffer_len() localVariable
Dsixlowpan.rs897 let mut len = self.ip_fields_start(); in header_len() localVariable
911 let mut len = self.ip_fields_start(); in payload() localVariable
918 let len = len as usize; in payload() localVariable
1131 let mut len = self.ip_fields_start(); in payload_mut() localVariable
1139 let len = len as usize; in payload_mut() localVariable
1199 let mut len = 0; in buffer_len() localVariable
1543 let mut len = 1; in check_len() localVariable
1691 let mut len = 1; // The minimal header size in buffer_len() localVariable
1995 let mut len = 1; // The minimal header size in header_len() localVariable
2075 let len = ext_header.buffer_len(); in ext_header_emit() localVariable
[all …]
Dipv6option.rs113 let len = data.len(); in check_len() localVariable
166 let len = self.data_len(); in data() localVariable
198 let len = self.data_len(); in data_mut() localVariable
Ddns.rs104 let len = self.buffer.as_ref().len(); in check_len() localVariable
174 let len = (x & 0x3F) as usize; in parse_name() localVariable
270 let len = (x & 0x3F) as usize; in parse_name_part() localVariable
380 let len = NetworkEndian::read_u16(&rest[8..10]) as usize; in parse() localVariable
Dmod.rs373 len: u8, field
393 pub const fn len(&self) -> usize { in len() method
Ddhcpv4.rs255 let len = self.buffer.as_ref().len(); in check_len() localVariable
379 let len = buf[1] as usize; in options() localVariable
400 let len = data.iter().position(|&x| x == 0).ok_or(Error)?; in get_sname() localVariable
411 let len = data.iter().position(|&x| x == 0).ok_or(Error)?; in get_boot_file() localVariable
667 let mut len = field::OPTIONS.start; in buffer_len() localVariable
Dipv6routing.rs167 let len = self.buffer.as_ref().len(); in check_len() localVariable
379 let len = data[field::LENGTH]; in set_addresses() localVariable
Dieee802154.rs535 let len = ki.len(); in key_source() localVariable
546 let len = ki.len(); in key_index() localVariable
566 let len = data.len(); in message_integrity_code() localVariable
Dipv6fragment.rs57 let len = data.len(); in check_len() localVariable
Dndisc.rs246 let len = pkt.data_len() as usize * 8; in parse() localVariable
Digmp.rs74 let len = self.buffer.as_ref().len(); in check_len() localVariable
Dmld.rs193 let len = self.buffer.as_ref().len(); in check_len() localVariable
Dethernet.rs120 let len = self.buffer.as_ref().len(); in check_len() localVariable
Dudp.rs93 pub fn len(&self) -> u16 { in len() method
Darp.rs92 let len = self.buffer.as_ref().len(); in check_len() localVariable
Dicmpv4.rs208 let len = self.buffer.as_ref().len(); in check_len() localVariable
Dtcp.rs139 let len = self.buffer.as_ref().len(); in check_len() localVariable
756 pub const fn len(self) -> usize { in len() method
/smoltcp-0.9.1/src/iface/
Dfragmentation.rs101 let len = f(&mut self.buffer[offset..])?; in add_with() localVariable
131 let len = data.len(); in add() localVariable
/smoltcp-0.9.1/src/storage/
Dring_buffer.rs71 pub fn len(&self) -> usize { in len() method
99 let len = self.capacity(); in get_idx() localVariable
/smoltcp-0.9.1/src/iface/interface/
Dsixlowpan.rs252 let len = iphc.payload().len(); in decompress_sixlowpan() localVariable
/smoltcp-0.9.1/src/phy/
Dfault_injector.rs215 let len = super::RxToken::consume(rx_token, |buffer| { in receive() localVariable

12