init
Initializes an IOBasicOutputQueue object.
Declaration
virtual bool init(
OSObject *target,
IOOutputAction action,
UInt32 capacity = 0,
UInt32 priorities = 1);Parameters
- target:
The object that will handle packets removed from the queue, which is usually a subclass of IONetworkController.
- action:
The function that will handle packets removed from the queue.
- capacity:
The initial capacity of the output queue.
Return Value
Returns true if initialized successfully, false otherwise.
See Also
Miscellaneous
enqueueflushfreegetCapacitygetDropCountgetOutputCountgetRetryCountgetSizegetStallCountgetStategetStatisticsDatahandleNetworkDataAccessoutputserviceserviceThreadsetCapacitystartstopwithTarget(IONetworkController *, UInt32)withTarget(IONetworkController *, UInt32, UInt32)withTarget(OSObject *, IOOutputAction, UInt32)withTarget(OSObject *, IOOutputAction, UInt32, UInt32)