Files
unison/src
Stefano Avallone defeaea224 network: Add the NetDeviceQueue and NetDeviceQueueInterface classes
This patch adds a NetDeviceQueue class to store information about a single
transmission queue of a network device. This class is meant to store the
state of a transmission queue (i.e., whether the queue is stopped or not)
and some data used by techniques such as Byte Queue Limits. Also, multi-queue
aware queue discs can aggregate a child queue disc to an object of this class.
These features (excluding BQL) are added in subsequent commits.
The NetDevice class maintains a vector of NetDeviceQueue pointers, one for
each transmission queue. A NetDevice constructor is added which creates a
single transmission queue by default for every device. The number of transmission
queues can be modified (by child classes) by calling NetDevice::SetTxQueuesN.
Two public methods, GetTxQueue and GetTxQueuesN, are also added to the NetDevice class
to return the i-th NetDeviceQueue and the number of transmission queues, respectively.
2016-03-08 10:44:08 -08:00
..
2015-09-07 11:04:33 -07:00
2016-02-25 14:22:34 -08:00
2016-02-26 08:20:55 -08:00
2016-02-25 11:58:10 -08:00
2016-02-25 11:58:10 -08:00
2015-09-07 11:04:33 -07:00
2016-02-26 08:20:55 -08:00
2016-02-25 14:22:34 -08:00
2016-02-25 14:22:34 -08:00
2016-02-25 11:58:10 -08:00
2016-02-26 08:20:55 -08:00
2016-02-25 14:22:34 -08:00
2016-02-26 08:20:55 -08:00
2016-02-25 14:22:34 -08:00
2016-02-25 11:58:10 -08:00
2016-02-25 11:58:10 -08:00
2016-02-25 14:22:34 -08:00
2016-02-25 14:22:34 -08:00
2016-02-26 08:20:55 -08:00
2015-09-07 11:04:33 -07:00
2016-02-25 11:58:10 -08:00
2016-02-25 11:58:10 -08:00
2016-02-25 11:58:10 -08:00
2016-02-25 11:58:10 -08:00
2016-02-25 14:22:34 -08:00
2016-02-26 08:20:55 -08:00
2016-03-01 20:49:37 +01:00
2016-02-26 08:20:55 -08:00
2015-09-09 15:14:27 -07:00