Searched refs:bt_packet (Results 1 – 1 of 1) sorted by relevance
373 BT_HDR *bt_packet = osi_malloc(buffer_length(packet) + L2CAP_MIN_OFFSET); in fragment_packet() local374 bt_packet->offset = L2CAP_MIN_OFFSET; in fragment_packet()375 bt_packet->len = buffer_length(packet); in fragment_packet()376 memcpy(bt_packet->data + bt_packet->offset, buffer_ptr(packet), buffer_length(packet)); in fragment_packet()379 if (bt_packet->len <= client->remote_mtu) { in fragment_packet()380 if (bt_packet->len > 0) in fragment_packet()381 list_append(client->outbound_fragments, bt_packet); in fragment_packet()383 osi_free(bt_packet); in fragment_packet()390 …memcpy(fragment->data + fragment->offset, bt_packet->data + bt_packet->offset, client->remote_mtu); in fragment_packet()394 bt_packet->offset += client->remote_mtu; in fragment_packet()[all …]