Contents

withTarget(IONetworkController *, UInt32)

Factory method that constructs and initializes an IOBasicOutputQueue object.

Declaration

static IOBasicOutputQueue * withTarget(
 IONetworkController *target, 
 UInt32 capacity = 0);

Parameters

  • target:

    An IONetworkController object 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