Home
last modified time | relevance | path

Searched refs:first_byte (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/third_party/tcplp/lib/
Dbitmap.c102 uint8_t first_byte; in bmp_countset() local
108 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()
/openthread-latest/tests/scripts/thread-cert/
Dlowpan.py1011 def _is_mesh_header(self, first_byte): argument
1012 return ((first_byte >> 6) & 0x03) == 0x02
1014 def _is_first_fragmentation_header(self, first_byte): argument
1015 return ((first_byte >> 3) & 0x1F) == 0x18
1017 def _is_subsequent_fragmentation_header(self, first_byte): argument
1018 return ((first_byte >> 3) & 0x1F) == 0x1C
1020 def _is_iphc(self, first_byte): argument
1021 return ((first_byte >> 5) & 0x07) == 0x03
1116 first_byte = ord(self._peek_n_bytes(data, n=1))
1118 if self._is_mesh_header(first_byte):
[all …]