Carbon flows in attached divertor plasmas