Lines Matching refs:bt_packet
393 BT_HDR* bt_packet = static_cast<BT_HDR*>( in fragment_packet() local
395 bt_packet->offset = L2CAP_MIN_OFFSET; in fragment_packet()
396 bt_packet->len = buffer_length(packet); in fragment_packet()
397 memcpy(bt_packet->data + bt_packet->offset, buffer_ptr(packet), in fragment_packet()
401 if (bt_packet->len <= client->remote_mtu) { in fragment_packet()
402 if (bt_packet->len > 0) in fragment_packet()
403 list_append(client->outbound_fragments, bt_packet); in fragment_packet()
405 osi_free(bt_packet); in fragment_packet()
414 bt_packet->data + bt_packet->offset, client->remote_mtu); in fragment_packet()
418 bt_packet->offset += client->remote_mtu; in fragment_packet()
419 bt_packet->len -= client->remote_mtu; in fragment_packet()