1. A method of controlling a network device, comprising: receiving a packet; determining that there are sufficient tokens in a token bucket to allow transmission of the packet; and applying a control method to determine whether to drop the packet.