Searched refs:start (Results 1 – 8 of 8) sorted by relevance
434 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() localVariable599 let nh = data[start..start + 1][0]; in next_header()608 let start = (self.ip_fields_start() in hop_limit() localVariable613 data[start..start + 1][0] in hop_limit()646 let start = self.ip_fields_start() as usize; in ecn_field() localVariable647 Some(self.buffer.as_ref()[start..][0] & 0b1100_0000) in ecn_field()658 let start = self.ip_fields_start() as usize; in dscp_field() localVariable659 Some(self.buffer.as_ref()[start..][0] & 0b1111_11) in dscp_field()[all …]
43 let start = OPER.end; in SHA() localVariable44 start..(start + hardware_len as usize) in SHA()49 let start = SHA(hardware_len, protocol_len).end; in SPA() localVariable50 start..(start + protocol_len as usize) in SPA()55 let start = SPA(hardware_len, protocol_len).end; in THA() localVariable56 start..(start + hardware_len as usize) in THA()61 let start = THA(hardware_len, protocol_len).end; in TPA() localVariable62 start..(start + protocol_len as usize) in TPA()
494 data[field::VER_TC_FLOW.start] >> 4 in version()1139 let start = expected_bytes.len() - REPR_PAYLOAD_BYTES.len(); in test_packet_construction() localVariable1140 expected_bytes[start..].copy_from_slice(&REPR_PAYLOAD_BYTES[..]); in test_packet_construction()
99 pub const HEADER_LEN: usize = field::PAYLOAD.start;
265 let mut offset = field::ADDRESSING.start + 2; in check_len()
667 let mut len = field::OPTIONS.start; in buffer_len()
33 let start = Instant::now(); in client() localVariable54 let elapsed = (end - start).total_millis() as f64 / 1000.0; in client()
97 let start = Instant::now(); in client() localVariable118 let elapsed = (end - start).total_millis() as f64 / 1000.0; in client()