setCapacity
Changes the number of packets that the queue can hold before it begins to drop excess packets.
Declaration
virtual bool setCapacity(
UInt32capacity);Parameters
- capacity:
The new desired capacity.
Return Value
Returns true if the new capacity was accepted, false otherwise.
See Also
Miscellaneous
enqueueflushfreegetCapacitygetDropCountgetOutputCountgetRetryCountgetSizegetStallCountgetStategetStatisticsDatahandleNetworkDataAccessinitoutputserviceserviceThreadstartstopwithTarget(IONetworkController *, UInt32)withTarget(IONetworkController *, UInt32, UInt32)withTarget(OSObject *, IOOutputAction, UInt32)withTarget(OSObject *, IOOutputAction, UInt32, UInt32)