Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dpacket_fragmenter.c143 BT_HDR *partial_packet = (BT_HDR *)hash_map_get(partial_packets, (void *)(uintptr_t)handle); in reassemble_and_dispatch() local
146 if (partial_packet) { in reassemble_and_dispatch()
150 buffer_allocator->free(partial_packet); in reassemble_and_dispatch()
178 partial_packet = (BT_HDR *)buffer_allocator->alloc(full_length + sizeof(BT_HDR)); in reassemble_and_dispatch()
179 partial_packet->event = packet->event; in reassemble_and_dispatch()
180 partial_packet->len = full_length; in reassemble_and_dispatch()
181 partial_packet->offset = packet->len; in reassemble_and_dispatch()
183 memcpy(partial_packet->data, packet->data, packet->len); in reassemble_and_dispatch()
186 stream = partial_packet->data; in reassemble_and_dispatch()
190 hash_map_set(partial_packets, (void *)(uintptr_t)handle, partial_packet); in reassemble_and_dispatch()
[all …]