Home
last modified time | relevance | path

Searched refs:start (Results 1 – 8 of 8) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dsixlowpan.rs434 Self::FirstFragment { .. } => field::FIRST_FRAGMENT_REST.start, in buffer_len()
435 Self::Fragment { .. } => field::NEXT_FRAGMENT_REST.start, in buffer_len()
596 let start = (self.ip_fields_start() + self.traffic_class_size()) as usize; in next_header() localVariable
599 let nh = data[start..start + 1][0]; in next_header()
608 let start = (self.ip_fields_start() in hop_limit() localVariable
613 data[start..start + 1][0] in hop_limit()
646 let start = self.ip_fields_start() as usize; in ecn_field() localVariable
647 Some(self.buffer.as_ref()[start..][0] & 0b1100_0000) in ecn_field()
658 let start = self.ip_fields_start() as usize; in dscp_field() localVariable
659 Some(self.buffer.as_ref()[start..][0] & 0b1111_11) in dscp_field()
[all …]
Darp.rs43 let start = OPER.end; in SHA() localVariable
44 start..(start + hardware_len as usize) in SHA()
49 let start = SHA(hardware_len, protocol_len).end; in SPA() localVariable
50 start..(start + protocol_len as usize) in SPA()
55 let start = SPA(hardware_len, protocol_len).end; in THA() localVariable
56 start..(start + hardware_len as usize) in THA()
61 let start = THA(hardware_len, protocol_len).end; in TPA() localVariable
62 start..(start + protocol_len as usize) in TPA()
Dipv6.rs494 data[field::VER_TC_FLOW.start] >> 4 in version()
1139 let start = expected_bytes.len() - REPR_PAYLOAD_BYTES.len(); in test_packet_construction() localVariable
1140 expected_bytes[start..].copy_from_slice(&REPR_PAYLOAD_BYTES[..]); in test_packet_construction()
Dethernet.rs99 pub const HEADER_LEN: usize = field::PAYLOAD.start;
Dieee802154.rs265 let mut offset = field::ADDRESSING.start + 2; in check_len()
Ddhcpv4.rs667 let mut len = field::OPTIONS.start; in buffer_len()
/smoltcp-0.9.1/examples/
Dbenchmark.rs33 let start = Instant::now(); in client() localVariable
54 let elapsed = (end - start).total_millis() as f64 / 1000.0; in client()
Dsixlowpan_benchmark.rs97 let start = Instant::now(); in client() localVariable
118 let elapsed = (end - start).total_millis() as f64 / 1000.0; in client()