Searched refs:first_byte (Results 1 – 2 of 2) sorted by relevance
102 uint8_t first_byte; in bmp_countset() local108 first_byte = *(buf + curr_index); in bmp_countset()112 first_byte &= ideal_first_byte; in bmp_countset()113 if (first_byte == ideal_first_byte) { in bmp_countset()130 first_byte >>= 1; in bmp_countset()133 } while (first_byte != ideal_first_byte); in bmp_countset()
1011 def _is_mesh_header(self, first_byte): argument1012 return ((first_byte >> 6) & 0x03) == 0x021014 def _is_first_fragmentation_header(self, first_byte): argument1015 return ((first_byte >> 3) & 0x1F) == 0x181017 def _is_subsequent_fragmentation_header(self, first_byte): argument1018 return ((first_byte >> 3) & 0x1F) == 0x1C1020 def _is_iphc(self, first_byte): argument1021 return ((first_byte >> 5) & 0x07) == 0x031116 first_byte = ord(self._peek_n_bytes(data, n=1))1118 if self._is_mesh_header(first_byte):[all …]