Home | History | Annotate | Download | only in src

Lines Matching full:handle

34 #define APPLY_CONTINUATION_FLAG(handle) (((handle) & 0xCFFF) | 0x1000)
35 #define APPLY_START_FLAG(handle) (((handle) & 0xCFFF) | 0x2000)
37 #define GET_BOUNDARY_FLAG(handle) (((handle) >> 12) & 0x0003)
125 uint16_t handle;
129 STREAM_TO_UINT16(handle, stream);
135 uint8_t boundary_flag = GET_BOUNDARY_FLAG(handle);
136 handle = handle & HANDLE_MASK;
138 BT_HDR *partial_packet = (BT_HDR *)hash_map_get(partial_packets, (void *)(uintptr_t)handle);
142 LOG_WARN("%s found unfinished packet for handle with start packet. Dropping old.", __func__);
144 hash_map_erase(partial_packets, (void *)(uintptr_t)handle);
166 STREAM_SKIP_UINT16(stream); // skip the handle
169 hash_map_set(partial_packets, (void *)(uintptr_t)handle, partial_packet);
198 hash_map_erase(partial_packets, (void *)(uintptr_t)handle);