Put it into a private member should be easy. 

I want to have a way to control the number of packet being sent per second, during end to end test. Not sure what's the best way to do it.