withTarget(OSObject *, IOOutputAction, UInt32)
Factory method that constructs and initializes an IOBasicOutputQueue object.
Declaration
static IOBasicOutputQueue * withTarget(
OSObject *target,
IOOutputAction action,
UInt32 capacity = 0);Parameters
- target:
The object that will handle packets removed from the queue.
- action:
The function that will handle packets removed from the queue.
- capacity:
The initial capacity of the output queue.
Return Value
Returns an IOBasicOutputQueue object on success, or 0 otherwise.
See Also
Miscellaneous
enqueueflushfreegetCapacitygetDropCountgetOutputCountgetRetryCountgetSizegetStallCountgetStategetStatisticsDatahandleNetworkDataAccessinitoutputserviceserviceThreadsetCapacitystartstopwithTarget(IONetworkController *, UInt32)withTarget(IONetworkController *, UInt32, UInt32)withTarget(OSObject *, IOOutputAction, UInt32, UInt32)