In a network, I want to set the buffer size of a device and then measure the number of packets in the buffer queue. The number of packets in the queued, dequeued an dropped, I need to calculate over time. How can this be done using NetSim simulation?